2015-06-12 12:48:20 +02:00
|
|
|
# $NetBSD: Makefile,v 1.19 2015/06/12 10:50:33 wiz Exp $
|
2000-03-25 21:13:23 +01:00
|
|
|
|
2000-12-05 20:30:58 +01:00
|
|
|
DISTNAME= cowsay-3.03
|
2015-06-12 12:48:20 +02:00
|
|
|
PKGREVISION= 5
|
2000-03-25 21:13:23 +01:00
|
|
|
CATEGORIES= misc
|
2011-03-17 22:11:44 +01:00
|
|
|
MASTER_SITES= # ftp://ftp.nog.net/pub/tony/cowsay/
|
2000-03-25 21:13:23 +01:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2000-03-25 21:13:23 +01:00
|
|
|
HOMEPAGE= http://www.nog.net/~tony/warez/cowsay.shtml
|
2001-02-17 18:52:59 +01:00
|
|
|
COMMENT= Configurable talking cow
|
2000-03-25 21:13:23 +01:00
|
|
|
|
2005-07-16 03:19:06 +02:00
|
|
|
USE_TOOLS+= perl:run
|
2000-03-25 21:13:23 +01:00
|
|
|
|
2004-03-29 08:36:32 +02:00
|
|
|
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
|
2011-05-18 12:48:34 +02:00
|
|
|
SUBST_FILES.pap= cowsay cowsay.1
|
2013-04-06 23:07:31 +02:00
|
|
|
SUBST_SED.pap= -e "s|%BANGPERL%|!${PERL5}|"
|
|
|
|
SUBST_SED.pap+= -e "s|%PREFIX%|${PREFIX}|"
|
2004-03-29 08:36:32 +02:00
|
|
|
|
2005-09-28 21:51:27 +02:00
|
|
|
NO_CONFIGURE= yes
|
|
|
|
NO_BUILD= yes
|
2000-03-25 21:13:23 +01:00
|
|
|
|
2007-01-07 10:13:46 +01:00
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/cows
|
2004-03-29 08:36:32 +02:00
|
|
|
|
2000-03-25 21:13:23 +01:00
|
|
|
do-install:
|
2008-03-04 20:21:10 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/cowsay ${DESTDIR}${PREFIX}/bin
|
|
|
|
cd ${DESTDIR}${PREFIX}/bin; ${LN} -s cowsay cowthink
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/cowsay.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
|
|
|
cd ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1; ${LN} -s cowsay.1 cowthink.1
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/cows/*.cow ${DESTDIR}${PREFIX}/share/cows
|
2000-03-25 21:13:23 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|