Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # $OpenBSD: Makefile,v 1.4 2016/05/07 12:40:56 pascal Exp $
  2. COMMENT = text adventure game
  3. PKGNAME = dungeon-2.7s
  4. DISTNAME = dungn27s
  5. EXTRACT_SUFX = .zip
  6. REVISION = 0
  7. CATEGORIES = games
  8. MAINTAINER = Pascal Stumpf <pascal@stumpf.co>
  9. # Commercial use prohibited.
  10. PERMIT_PACKAGE_CDROM = no commercial use
  11. PERMIT_PACKAGE_FTP = Yes
  12. WANTLIB = c termcap
  13. MASTER_SITES = http://mirror.ifarchive.org/if-archive/games/source/ \
  14. ftp://ftp.ifarchive.org/if-archive/games/source/ \
  15. ftp://ftp.funet.fi/pub/misc/if-archive/games/source/ \
  16. http://www.vaxdungeon.com/vax-dungeon/Archive/dungeon/ \
  17. http://ifarchive.flavorplex.com/if-archive/games/source/
  18. MAKE_FLAGS = CC="${CC}"
  19. ALL_TARGET = dungeon
  20. WRKDIST = ${WRKDIR}
  21. post-extract:
  22. find ${WRKSRC} -type f | xargs perl -pi -e 's/\015//g; s/\032//g'
  23. (cd ${WRKSRC}; for f in `awk '{ print $$1 }' MANIFEST | tail +3`; do \
  24. mv `echo $$f | tr a-z A-Z` $$f; done)
  25. pre-install:
  26. ${INSTALL_DATA_DIR} ${PREFIX}/share/dungeon
  27. post-install:
  28. ${INSTALL_MAN} ${WRKSRC}/dungeon.6 ${PREFIX}/man/man6
  29. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/dungeon
  30. ${INSTALL_DATA} ${WRKSRC}/History ${PREFIX}/share/doc/dungeon
  31. .include <bsd.port.mk>