1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/devel/zziplib/Makefile
Dmitry Marakasov efd6789bcb - Convert to USES=libtool
- Strip libraries
- Convert USE_BZIP2 to USES
- Use new OPTIONS features
2014-05-08 17:20:26 +00:00

48 lines
987 B
Makefile

# Created by: George Reid <greid@ukug.uk.freebsd.org>
# $FreeBSD$
PORTNAME= zziplib
PORTVERSION= 0.13.62
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}13/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A library to provide transparent read access to zipped files
LICENSE= LGPL21 MPL
LICENSE_COMB= dual
BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip
USES= tar:bzip2 pathfix pkgconfig gmake libtool
USE_PYTHON_BUILD= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= ac_cv_path_XMLTO=":"
USE_LDCONFIG= yes
PORTSCOUT= limit:^0\.
OPTIONS_DEFINE= SDL
OPTIONS_SUB= yes
SDL_USE= SDL=sdl
SDL_CONFIGURE_ENABLE= sdl
.include <bsd.port.pre.mk>
test check:
@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} \
${MAKEFILE} ${MAKE_ARGS} check)
.if !defined(WITHOUT_TESTS)
post-build:: test
.endif
post-install:
.for lib in zzip zzipmmapped zzipfseeko zzipwrap
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib${lib}.so
.endfor
.include <bsd.port.post.mk>