openbsd-ports/games/cowsay/Makefile
naddy 55bbdc2104 Import cowsay 3.03; submitted by Sebastian Stark <seb@todesplanet.de>.
cowsay is a configurable talking cow, written in Perl. It operates
much as the figlet program does, and is written in the same spirit
of silliness.
2002-06-18 17:11:33 +00:00

37 lines
919 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2002/06/18 17:11:33 naddy Exp $
COMMENT= "speaking ascii cow"
DISTNAME= cowsay-3.03
CATEGORIES= games
NEED_VERSION= 1.531
HOMEPAGE= http://www.nog.net/~tony/warez/cowsay.shtml
MAINTAINER= Sebastian Stark <seb@todesplanet.de>
# "Same as Perl"
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://www.nog.net/~tony/warez/
NO_REGRESS= Yes
NO_BUILD= Yes
do-configure:
perl -pi -e 's@%BANGPERL%@!/usr/bin/perl@; \
s@%PREFIX%@${TRUEPREFIX}@' ${WRKSRC}/cowsay ${WRKSRC}/cowsay.1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/cowsay ${PREFIX}/bin
ln -s cowsay ${PREFIX}/bin/cowthink
${INSTALL_MAN} ${WRKSRC}/cowsay.1 ${PREFIX}/man/man1
ln -s cowsay.1 ${PREFIX}/man/man1/cowthink.1
${INSTALL_DATA_DIR} ${PREFIX}/share/cows
${INSTALL_DATA} ${WRKSRC}/cows/* ${PREFIX}/share/cows
.include <bsd.port.mk>