openbsd-ports/archivers/zip/Makefile
2010-10-18 16:47:00 +00:00

34 lines
775 B
Makefile

# $OpenBSD: Makefile,v 1.38 2010/10/18 16:47:00 espie Exp $
COMMENT= create/update ZIP files compatible with PKZip(tm)
VERSION= 3.0
DISTNAME= zip${VERSION:S/.//}
PKGNAME= zip-${VERSION}
CATEGORIES= archivers
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=infozip/}
HOMEPAGE= http://infozip.sourceforge.net/
# Conditional
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c
MAKE_FLAGS= CC="${CC}" CFLAGS_NOOPT="${CFLAGS} -I. -DUNIX"
MAKE_FILE= unix/Makefile
ALL_TARGET= generic
NO_REGRESS= Yes
USE_GROFF = Yes
do-install:
.for prog in zip zipcloak zipnote zipsplit
${INSTALL_PROGRAM} ${WRKBUILD}/${prog} ${PREFIX}/bin
${INSTALL_MAN} ${WRKDIST}/man/${prog}.1 ${PREFIX}/man/man1
.endfor
.include <bsd.port.mk>