Makefile 850 B

123456789101112131415161718192021222324252627282930313233
  1. # $OpenBSD: Makefile,v 1.8 2014/01/01 20:46:28 naddy Exp $
  2. COMMENT= speaking ascii cow
  3. DISTNAME= cowsay-3.03
  4. CATEGORIES= games
  5. HOMEPAGE= http://www.nog.net/~tony/warez/cowsay.shtml
  6. MAINTAINER= Sebastian Stark <seb@todesplanet.de>
  7. # "Same as Perl"
  8. PERMIT_PACKAGE_CDROM= Yes
  9. MASTER_SITES= http://www.nog.net/~tony/warez/
  10. NO_TEST= Yes
  11. NO_BUILD= Yes
  12. PKG_ARCH= *
  13. do-configure:
  14. perl -pi -e 's@%BANGPERL%@!/usr/bin/perl@; \
  15. s@%PREFIX%@${TRUEPREFIX}@' ${WRKSRC}/cowsay ${WRKSRC}/cowsay.1
  16. do-install:
  17. ${INSTALL_PROGRAM} ${WRKSRC}/cowsay ${PREFIX}/bin
  18. ln -s cowsay ${PREFIX}/bin/cowthink
  19. ${INSTALL_MAN} ${WRKSRC}/cowsay.1 ${PREFIX}/man/man1
  20. ln -s cowsay.1 ${PREFIX}/man/man1/cowthink.1
  21. ${INSTALL_DATA_DIR} ${PREFIX}/share/cows
  22. ${INSTALL_DATA} ${WRKSRC}/cows/* ${FILESDIR}/blowfish.cow \
  23. ${PREFIX}/share/cows
  24. .include <bsd.port.mk>