Makefile 903 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # $OpenBSD: Makefile,v 1.3 2013/03/11 11:23:56 espie Exp $
  2. COMMENT = various ROM (and other) development tools
  3. DISTNAME = cmdpack-1.03-src
  4. PKGNAME = ${DISTNAME:S/-src//}
  5. REVISION = 0
  6. CATEGORIES = misc
  7. HOMEPAGE = http://www.neillcorlett.com/cmdpack/
  8. # GPLv3+
  9. PERMIT_PACKAGE_CDROM = Yes
  10. WANTLIB += c
  11. MASTER_SITES = http://www.neillcorlett.com/downloads/
  12. NO_TEST = Yes
  13. WRKSRC = ${WRKDIST}/src
  14. CMDPACK_PROGS = bin2iso bincomp brrrip byteshuf byteswap cdpatch ecm fakecrc \
  15. hax65816 id3point pecompat rels screamf subfile uips usfv \
  16. vb2rip wordadd zerofill
  17. do-build:
  18. .for prog in ${CMDPACK_PROGS}
  19. cd ${WRKSRC} && ${CC} ${CFLAGS} -o ${prog} ${prog}.c
  20. .endfor
  21. do-install:
  22. cd ${WRKSRC} && \
  23. ${INSTALL_PROGRAM} ${CMDPACK_PROGS} ${PREFIX}/bin/
  24. ${INSTALL_DATA_DIR} ${PREFIX}/share/cmdpack
  25. ${INSTALL_DATA} ${WRKDIST}/doc/cmdpack.txt ${PREFIX}/share/cmdpack/
  26. .include <bsd.port.mk>