openbsd-ports/archivers/unzip/Makefile

43 lines
1.0 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.43 2011/05/17 19:01:39 landry Exp $
2007-09-15 06:14:32 -04:00
COMMENT= extract, list & test files in a ZIP archive
1997-11-24 14:49:51 -05:00
VERSION= 6.0
DISTNAME= unzip${VERSION:S/.//}
PKGNAME= unzip-${VERSION}
REVISION= 0
1997-11-24 14:49:51 -05:00
CATEGORIES= archivers
2006-07-11 02:55:28 -04:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=infozip/} \
http://mirror.switch.ch/ftp/mirror/infozip/src/ \
ftp://ftp.info-zip.org/pub/infozip/src/
1997-11-24 14:49:51 -05:00
HOMEPAGE= http://www.ctan.org/tex-archive/tools/zip/info-zip/UnZip.html
2000-07-23 22:42:59 -04:00
# Conditional
2000-03-05 13:31:25 -05:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c
2000-03-05 13:31:25 -05:00
MAKE_FLAGS= CC="${CC}" LD="${CC}" CF='-I. $$(LOC)' \
LOC="${CFLAGS} -DUSE_UNSHRINK -DNO_LCHMOD -DNO_LCHOWN"
FAKE_FLAGS= prefix="${WRKINST}${PREFIX}"
2010-10-18 12:47:00 -04:00
USE_GROFF = Yes
MAKE_FILE= unix/Makefile
ALL_TARGET= bsd
1997-11-24 14:49:51 -05:00
DOCS= COPYING.OLD LICENSE README WHERE
post-install:
2000-02-05 12:49:01 -05:00
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/unzip
cd ${WRKSRC}; ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/unzip
1997-11-24 14:49:51 -05:00
do-regress:
cd ${WRKBUILD} && ./unzip -x -a -o testmake.zip
cmp -s ${WRKBUILD}/notes files/notes
1997-11-24 14:49:51 -05:00
.include <bsd.port.mk>