svn commit: r348048 - head/graphics/libpano13

Matthias Andree mandree at FreeBSD.org
Thu Mar 13 08:37:17 UTC 2014


Author: mandree
Date: Thu Mar 13 08:37:16 2014
New Revision: 348048
URL: http://svnweb.freebsd.org/changeset/ports/348048
QAT: https://qat.redports.org/buildarchive/r348048/

Log:
  Modernize LIB_DEPENDS, strip .so file after install in default build, support staging.

Modified:
  head/graphics/libpano13/Makefile
  head/graphics/libpano13/pkg-plist

Modified: head/graphics/libpano13/Makefile
==============================================================================
--- head/graphics/libpano13/Makefile	Thu Mar 13 08:18:38 2014	(r348047)
+++ head/graphics/libpano13/Makefile	Thu Mar 13 08:37:16 2014	(r348048)
@@ -10,9 +10,9 @@ MASTER_SITES=	SF/panotools/${PORTNAME}/$
 MAINTAINER=	vd at 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>

Modified: head/graphics/libpano13/pkg-plist
==============================================================================
--- head/graphics/libpano13/pkg-plist	Thu Mar 13 08:18:38 2014	(r348047)
+++ head/graphics/libpano13/pkg-plist	Thu Mar 13 08:37:16 2014	(r348048)
@@ -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


More information about the svn-ports-all mailing list