diff options
author | mandree <mandree@FreeBSD.org> | 2014-03-13 16:37:16 +0800 |
---|---|---|
committer | mandree <mandree@FreeBSD.org> | 2014-03-13 16:37:16 +0800 |
commit | 1c1dfa7dc9826d60b76c1d1714207edb1e185372 (patch) | |
tree | 00c7fa09e2b4c12de638f0e6953450772b1450ed /graphics/libpano13 | |
parent | 3c29dfa081af6f277e55d281adb02e34fe65be67 (diff) | |
download | freebsd-ports-gnome-1c1dfa7dc9826d60b76c1d1714207edb1e185372.tar.gz freebsd-ports-gnome-1c1dfa7dc9826d60b76c1d1714207edb1e185372.tar.zst freebsd-ports-gnome-1c1dfa7dc9826d60b76c1d1714207edb1e185372.zip |
Modernize LIB_DEPENDS, strip .so file after install in default build, support staging.
Diffstat (limited to 'graphics/libpano13')
-rw-r--r-- | graphics/libpano13/Makefile | 24 | ||||
-rw-r--r-- | graphics/libpano13/pkg-plist | 12 |
2 files changed, 18 insertions, 18 deletions
diff --git a/graphics/libpano13/Makefile b/graphics/libpano13/Makefile index 7d6a1956b5d3..c8140c1f0d99 100644 --- a/graphics/libpano13/Makefile +++ b/graphics/libpano13/Makefile @@ -10,9 +10,9 @@ MASTER_SITES= SF/panotools/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= vd@FreeBSD.org COMMENT= Cross-platform library behind Panorama Tools and other photo stitchers -LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg \ - png15:${PORTSDIR}/graphics/png \ - tiff:${PORTSDIR}/graphics/tiff +LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ + libpng15.so:${PORTSDIR}/graphics/png \ + libtiff.so:${PORTSDIR}/graphics/tiff USE_GNOME= gtk20 glib20 pango atk @@ -29,20 +29,6 @@ CONFIGURE_ARGS= --with-png=${LOCALBASE} \ USE_LDCONFIG= yes -MAN1= \ - PTAInterpolate.1 \ - PTblender.1 \ - PTcrop.1 \ - PTinfo.1 \ - PTmasker.1 \ - PTmender.1 \ - PToptimizer.1 \ - PTroller.1 \ - PTtiff2psd.1 \ - PTtiffdump.1 \ - PTuncrop.1 \ - panoinfo.1 - .if !defined(WITHOUT_JAVA) USE_JAVA= yes JAVA_VERSION= 1.6+ @@ -54,8 +40,10 @@ CONFIGURE_ARGS+= --without-java PLIST_SUB= JAVA="@comment " .endif -NO_STAGE= yes pre-configure: cd ${WRKSRC} && ./bootstrap +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libpano13.so.2 + .include <bsd.port.mk> diff --git a/graphics/libpano13/pkg-plist b/graphics/libpano13/pkg-plist index 69e348703b14..1e298d241ee2 100644 --- a/graphics/libpano13/pkg-plist +++ b/graphics/libpano13/pkg-plist @@ -24,4 +24,16 @@ lib/libpano13.la lib/libpano13.so lib/libpano13.so.2 libdata/pkgconfig/libpano13.pc +man/man1/PTAInterpolate.1.gz +man/man1/PTblender.1.gz +man/man1/PTcrop.1.gz +man/man1/PTinfo.1.gz +man/man1/PTmasker.1.gz +man/man1/PTmender.1.gz +man/man1/PToptimizer.1.gz +man/man1/PTroller.1.gz +man/man1/PTtiff2psd.1.gz +man/man1/PTtiffdump.1.gz +man/man1/PTuncrop.1.gz +man/man1/panoinfo.1.gz @dirrm include/pano13 |