diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2014-05-09 01:20:26 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2014-05-09 01:20:26 +0800 |
commit | 4cbb58642ca099533771edd6fc50d7bd191e94f3 (patch) | |
tree | 35cb0cdd24efa43d83da83f233d57ad779be09f7 | |
parent | 80980272df939485a24742a78aa94ef4b2276f81 (diff) | |
download | freebsd-ports-gnome-4cbb58642ca099533771edd6fc50d7bd191e94f3.tar.gz freebsd-ports-gnome-4cbb58642ca099533771edd6fc50d7bd191e94f3.tar.zst freebsd-ports-gnome-4cbb58642ca099533771edd6fc50d7bd191e94f3.zip |
- Convert to USES=libtool
- Strip libraries
- Convert USE_BZIP2 to USES
- Use new OPTIONS features
-rw-r--r-- | devel/zziplib/Makefile | 25 | ||||
-rw-r--r-- | devel/zziplib/pkg-plist | 10 |
2 files changed, 17 insertions, 18 deletions
diff --git a/devel/zziplib/Makefile b/devel/zziplib/Makefile index e4a03532bd2f..830b29ff1a4f 100644 --- a/devel/zziplib/Makefile +++ b/devel/zziplib/Makefile @@ -3,6 +3,7 @@ PORTNAME= zziplib PORTVERSION= 0.13.62 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= SF/${PORTNAME}/${PORTNAME}13/${PORTVERSION} @@ -14,26 +15,19 @@ LICENSE_COMB= dual BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip -OPTIONS_DEFINE= SDL - -USE_BZIP2= yes -USES= pathfix pkgconfig gmake +USES= tar:bzip2 pathfix pkgconfig gmake libtool USE_PYTHON_BUILD= yes -USE_AUTOTOOLS= libtool +GNU_CONFIGURE= yes CONFIGURE_ENV= ac_cv_path_XMLTO=":" USE_LDCONFIG= yes PORTSCOUT= limit:^0\. -.include <bsd.port.options.mk> +OPTIONS_DEFINE= SDL +OPTIONS_SUB= yes -.if ${PORT_OPTIONS:MSDL} -USE_SDL= sdl -CONFIGURE_ARGS+=--enable-sdl -PLIST_SUB+= SDL="" -.else -PLIST_SUB+= SDL="@comment " -.endif +SDL_USE= SDL=sdl +SDL_CONFIGURE_ENABLE= sdl .include <bsd.port.pre.mk> @@ -45,4 +39,9 @@ test check: 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> diff --git a/devel/zziplib/pkg-plist b/devel/zziplib/pkg-plist index 853f4aa82944..d6de4fdd8771 100644 --- a/devel/zziplib/pkg-plist +++ b/devel/zziplib/pkg-plist @@ -35,21 +35,21 @@ include/zzip/zzip.h include/zzip/zzip32.h include/zziplib.h lib/libzzip.a -lib/libzzip.la lib/libzzip.so lib/libzzip.so.13 +lib/libzzip.so.13.0.62 lib/libzzipfseeko.a -lib/libzzipfseeko.la lib/libzzipfseeko.so lib/libzzipfseeko.so.13 +lib/libzzipfseeko.so.13.0.62 lib/libzzipmmapped.a -lib/libzzipmmapped.la lib/libzzipmmapped.so lib/libzzipmmapped.so.13 +lib/libzzipmmapped.so.13.0.62 lib/libzzipwrap.a -lib/libzzipwrap.la lib/libzzipwrap.so lib/libzzipwrap.so.13 +lib/libzzipwrap.so.13.0.62 %%SDL%%libdata/pkgconfig/SDL_rwops_zzip.pc libdata/pkgconfig/zzip-zlib-config.pc libdata/pkgconfig/zzipfseeko.pc @@ -146,5 +146,5 @@ man/man3/zzip_tell32.3.gz man/man3/zzip_telldir.3.gz man/man3/zzip_telldir32.3.gz share/aclocal/zziplib.m4 -@dirrm include/zzip %%SDL%%@dirrm include/SDL_rwops_zzip +@dirrm include/zzip |