developer is officially maintaining the package. The rationale for changing this from "tech-pkg" to "pkgsrc-users" is that it implies that any user can try to maintain the package (by submitting patches to the mailing list). Since the folks most likely to care about the package are the folks that want to use it or are already using it, this would leverage the energy of users who aren't developers.
32 lines
949 B
Makefile
32 lines
949 B
Makefile
# $NetBSD: Makefile,v 1.9 2006/03/04 21:30:10 jlam Exp $
|
|
|
|
DISTNAME= cowsay-3.03
|
|
PKGREVISION= 1
|
|
CATEGORIES= misc
|
|
MASTER_SITES= ftp://ftp.nog.net/pub/tony/cowsay/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.nog.net/~tony/warez/cowsay.shtml
|
|
COMMENT= Configurable talking cow
|
|
|
|
USE_TOOLS+= perl:run
|
|
|
|
SUBST_CLASSES+= pap
|
|
SUBST_STAGE.pap= pre-install # after patch to avoid sneaking into patches
|
|
SUBST_MESSAGE.pap= Adjusting paths to perl and the cows
|
|
SUBST_FILES.pap= cowsay
|
|
SUBST_SED.pap= -e "s|%BANGPERL%|!${PERL5}|" -e "s|%PREFIX%|${PREFIX}|"
|
|
|
|
NO_CONFIGURE= yes
|
|
NO_BUILD= yes
|
|
|
|
INSTALLATION_DIRS= bin man/man1 share/cows
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/cowsay ${PREFIX}/bin
|
|
cd ${PREFIX}/bin; ${LN} -s cowsay cowthink
|
|
${INSTALL_DATA} ${WRKSRC}/cowsay.1 ${PREFIX}/man/man1
|
|
cd ${PREFIX}/man/man1; ${LN} -s cowsay.1 cowthink.1
|
|
${INSTALL_DATA} ${WRKSRC}/cows/*.cow ${PREFIX}/share/cows
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|