403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.89
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/games/cowsay/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/games/cowsay/Makefile
PORTNAME=	cowsay
PORTVERSION=	3.04
DISTVERSIONPREFIX=	cowsay-
PORTREVISION=	2
CATEGORIES=	games

MAINTAINER=	osa@FreeBSD.org
COMMENT=	Configurable talking characters in ASCII art
WWW=		https://github.com/tnalpgge/rank-amateur-cowsay

LICENSE=	GPLv3+
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		perl5

USE_GITHUB=	yes

GH_ACCOUNT=	tnalpgge
GH_PROJECT=	rank-amateur-cowsay

NO_BUILD=	# defined

post-patch:
	@${REINPLACE_CMD} 's,usethisperl=.*,usethisperl=${PERL},' ${WRKSRC}/install.sh

do-install:
	cd ${WRKSRC}; ${SH} install.sh ${STAGEDIR}${PREFIX}
	# The sources have not had their version updated in the last release;
	#   normally this would be a patch (replacing the relevant "3.03" by
	#   something like %%PORTVERSION%%) and then a substitution, but there
	#   is no future release planned anyway.
	${SED} -i '' 's,3\.03,${PORTVERSION}_${PORTREVISION},' ${STAGEDIR}${PREFIX}/bin/cowsay
	# Since we called install.sh with a **stage** path, that is the path
	#   that gets edited into the script and manpage; remove the stage
	#   bit from both so that after installation cowsay uses, and the manpage
	#   mentions, the prefix path, not the stage path.
	@${SED} -i '' 's,${STAGEDIR},,' ${STAGEDIR}${PREFIX}/bin/cowsay
	@${SED} -i '' 's,${STAGEDIR},,' ${STAGEDIR}${PREFIX}/man/man1/cowsay.1
	${INSTALL_DATA} ${FILESDIR}/box.cow ${STAGEDIR}${PREFIX}/share/cows
	${INSTALL_DATA} ${FILESDIR}/jkh.cow ${STAGEDIR}${PREFIX}/share/cows
	${INSTALL_DATA} ${FILESDIR}/tux-stab.cow ${STAGEDIR}${PREFIX}/share/cows

.include <bsd.port.mk>

Youez - 2016 - github.com/yon3zu
LinuXploit