Makefile 780 B

12345678910111213141516171819202122232425262728293031323334
  1. # $OpenBSD: Makefile,v 1.11 2015/06/05 08:11:53 bentley Exp $
  2. COMMENT= display the moon's phase
  3. DISTNAME= luna19s
  4. PKGNAME= luna-1.9
  5. CATEGORIES= astro
  6. EXTRACT_SUFX= .lzh
  7. EXTRACT_CASES= *.lzh) lha xw=${WRKDIR}/${DISTNAME} ${FULLDISTDIR}/$$archive ;;
  8. MAINTAINER= Nick Nauwelaerts <nick@nauwelaerts.net>
  9. PERMIT_PACKAGE_CDROM= copyrighted
  10. PERMIT_PACKAGE_FTP= copyrighted
  11. PERMIT_DISTFILES_FTP= copyrighted
  12. WANTLIB= c
  13. MASTER_SITES= http://distcache.freebsd.org/ports-distfiles/
  14. BUILD_DEPENDS= archivers/lha
  15. MAKE_ENV= CC="${CC}"
  16. MAKE_FILE= makefile
  17. NO_TEST= Yes
  18. post-extract:
  19. .for f in famplan.c luna.c luna.h makefile pyramid.c pyramid.h iprintf/makefile
  20. @cd ${WRKSRC} && sed -e \
  21. 's#[[:cntrl:]]$$##g' < ${f} > ${f}.new && mv -f ${f}.new ${f}
  22. .endfor
  23. .include <bsd.port.mk>