2009-05-25 11:29:24 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.4 2009/05/25 15:29:24 giovanni Exp $
|
2007-12-10 16:22:48 -05:00
|
|
|
|
|
|
|
COMMENT= lightweight library for extracting data from zip files
|
|
|
|
|
2009-05-25 11:29:24 -04:00
|
|
|
DISTNAME= zziplib-0.13.52
|
2007-12-10 16:22:48 -05:00
|
|
|
CATEGORIES= archivers
|
|
|
|
|
2009-05-25 11:29:24 -04:00
|
|
|
SHARED_LIBS += zzip 13.52 \
|
|
|
|
zzipfseeko 13.52 \
|
|
|
|
zzipmmapped 13.52 \
|
|
|
|
zzipwrap 13.52
|
2007-12-10 16:22:48 -05:00
|
|
|
|
|
|
|
HOMEPAGE= http://zziplib.sourceforge.net/
|
|
|
|
|
2009-03-23 14:06:28 -04:00
|
|
|
MAINTAINER= Giovanni Bechis <giovanni@openbsd.org>
|
2007-12-10 16:22:48 -05:00
|
|
|
|
|
|
|
# LGPL/MPL license
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
WANTLIB= c z
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=zziplib/}
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
|
|
|
|
BUILD_DEPENDS= ::archivers/zip
|
|
|
|
|
|
|
|
post-install:
|
2009-05-25 11:29:24 -04:00
|
|
|
cd ${WRKDIST}/docs && tar xf ${WRKDIST}/docs/zziplib-manpages.tar
|
|
|
|
${INSTALL_MAN} ${WRKDIST}/docs/man3/*.3 ${PREFIX}/man/man3/
|
2007-12-10 16:22:48 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|