Makefile 694 B

12345678910111213141516171819202122232425262728293031323334
  1. # $OpenBSD: Makefile,v 1.40 2015/09/21 10:39:47 sthen Exp $
  2. COMMENT= create/update ZIP files compatible with PKZip(tm)
  3. VERSION= 3.0
  4. REVISION= 0
  5. DISTNAME= zip${VERSION:S/.//}
  6. PKGNAME= zip-${VERSION}
  7. CATEGORIES= archivers
  8. HOMEPAGE= http://infozip.sourceforge.net/
  9. # Conditional
  10. PERMIT_PACKAGE_CDROM= Yes
  11. WANTLIB += c
  12. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=infozip/}
  13. MAKE_FLAGS= CC="${CC}" CFLAGS_NOOPT="${CFLAGS} -I. -DUNIX"
  14. MAKE_FILE= unix/Makefile
  15. ALL_TARGET= generic
  16. NO_TEST= Yes
  17. do-install:
  18. .for prog in zip zipcloak zipnote zipsplit
  19. ${INSTALL_PROGRAM} ${WRKBUILD}/${prog} ${PREFIX}/bin
  20. ${INSTALL_MAN} ${WRKDIST}/man/${prog}.1 ${PREFIX}/man/man1
  21. .endfor
  22. .include <bsd.port.mk>