Makefile 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. # $OpenBSD: Makefile,v 1.16 2015/12/03 21:24:29 sthen Exp $
  2. COMMENT= several programs to handle macintosh files and archives
  3. DISTNAME= macutil2.0b3
  4. PKGNAME= macutil-2.0b3
  5. CATEGORIES= archivers
  6. # None
  7. PERMIT_PACKAGE_CDROM= No
  8. PERMIT_PACKAGE_FTP= No
  9. PERMIT_DISTFILES_FTP= No
  10. REVISION = 2
  11. WANTLIB= c
  12. MASTER_SITES= https://spacehopper.org/mirrors/ \
  13. ftp://ftp.rz.hu-berlin.de/pub/mirrors/www.ibiblio.org/distfiles/
  14. # XXX hu-berlin fails with EPSV
  15. EXTRACT_SUFX= .shar.Z
  16. MAKE_FILE= makefile
  17. WRKDIST= ${WRKDIR}/macutil
  18. MAKE_ENV= CF="${CFLAGS}" \
  19. CC=${CC}
  20. NO_TEST= Yes
  21. post-extract:
  22. @rm ${WRKDIST}/doc/README.crc.orig
  23. do-install:
  24. ${INSTALL_PROGRAM} ${WRKDIST}/macunpack/macunpack \
  25. ${WRKDIST}/hexbin/hexbin \
  26. ${WRKDIST}/mixed/macsave \
  27. ${WRKDIST}/mixed/macstream \
  28. ${WRKDIST}/binhex/binhex \
  29. ${WRKDIST}/comm/tomac \
  30. ${WRKDIST}/comm/frommac ${PREFIX}/bin
  31. ${INSTALL_MAN} ${WRKDIST}/man/macunpack.1 \
  32. ${WRKDIST}/man/hexbin.1 \
  33. ${WRKDIST}/man/macsave.1 \
  34. ${WRKDIST}/man/macstream.1 \
  35. ${WRKDIST}/man/binhex.1 \
  36. ${WRKDIST}/man/tomac.1 \
  37. ${WRKDIST}/man/frommac.1 \
  38. ${WRKDIST}/man/macutil.1 ${PREFIX}/man/man1
  39. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/macutil
  40. ${INSTALL_DATA} ${WRKDIST}/README ${PREFIX}/share/doc/macutil
  41. .include <bsd.port.mk>