Makefile 613 B

12345678910111213141516171819202122232425262728293031323334353637
  1. # $OpenBSD
  2. COMMENT = new brainfuck compiler
  3. DISTNAME = nbfc-0.1
  4. REVISION = 1
  5. CATEGORIES = lang
  6. HOMEPAGE = http://koeln.ccc.de/ablage/brainfuck/
  7. MAINTAINER = Pascal Stumpf <pascal@stumpf.co>
  8. # BSD
  9. PERMIT_PACKAGE_CDROM = Yes
  10. WANTLIB = c
  11. MASTER_SITES = ${HOMEPAGE}
  12. NO_TEST = Yes
  13. SUBST_VARS += CC CFLAGS
  14. post-patch:
  15. @perl -pi -e 's,bison -y,yacc -,g;' \
  16. -e 's,gcc,\$${CC} \$${CFLAGS},g' ${WRKSRC}/Makefile
  17. pre-configure:
  18. ${SUBST_CMD} ${WRKSRC}/config.h
  19. do-install:
  20. ${INSTALL_PROGRAM} ${WRKSRC}/nbfc ${PREFIX}/bin
  21. ${INSTALL_MAN} ${WRKSRC}/nbfc.1 ${PREFIX}/man/man1
  22. .include <bsd.port.mk>