svn commit: r380319 - head/sysutils/pam_mount

Baptiste Daroussin bapt at FreeBSD.org
Tue Mar 3 00:43:16 UTC 2015


Author: bapt
Date: Tue Mar  3 00:43:15 2015
New Revision: 380319
URL: https://svnweb.freebsd.org/changeset/ports/380319
QAT: https://qat.redports.org/buildarchive/r380319/

Log:
  USES=libtool
  Strip binaries
  Cleanup plist

Modified:
  head/sysutils/pam_mount/Makefile
  head/sysutils/pam_mount/pkg-plist

Modified: head/sysutils/pam_mount/Makefile
==============================================================================
--- head/sysutils/pam_mount/Makefile	Tue Mar  3 00:38:47 2015	(r380318)
+++ head/sysutils/pam_mount/Makefile	Tue Mar  3 00:43:15 2015	(r380319)
@@ -3,7 +3,7 @@
 
 PORTNAME=	pam_mount
 PORTVERSION=	2.12
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	sysutils
 MASTER_SITES=	SF/${PORTNAME:S/_/-/}/${PORTNAME}/${PORTVERSION}/
 
@@ -15,9 +15,11 @@ LICENSE_COMB=	multi
 
 LIB_DEPENDS=	libHX.so:${PORTSDIR}/lang/libhx
 
-USES=		pkgconfig perl5 tar:xz
+USES=		pkgconfig libtool perl5 tar:xz
 USE_GNOME=	libxml2
 
+INSTALL_TARGET=	install-strip
+
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV+=	libcrypto_LIBS="-L/usr/lib -lcrypto" \
 		libcrypto_CFLAGS="-I/usr/include"
@@ -32,4 +34,8 @@ post-patch:
 	${MV} ${WRKSRC}/config/pam_mount.conf.xml ${WRKSRC}/config/pam_mount.conf.xml.sample
 	${FIND} ${WRKSRC} -name "*.c" -exec ${REINPLACE_CMD} -e 's|HXformat2_aprintf|HXformat_aprintf|g' {} \;
 
+post-install:
+	@${RMDIR} ${STAGEDIR}${PREFIX}/share/xml/pam_mount/dtd
+	@${RMDIR} ${STAGEDIR}${PREFIX}/share/xml/pam_mount/
+
 .include <bsd.port.mk>

Modified: head/sysutils/pam_mount/pkg-plist
==============================================================================
--- head/sysutils/pam_mount/pkg-plist	Tue Mar  3 00:38:47 2015	(r380318)
+++ head/sysutils/pam_mount/pkg-plist	Tue Mar  3 00:43:15 2015	(r380319)
@@ -17,7 +17,4 @@ man/man8/pmvarrun.8.gz
 man/man8/umount.crypt.8.gz
 man/man8/umount.crypt_LUKS.8.gz
 man/man8/umount.crypto_LUKS.8.gz
- at dirrm share/xml/pam_mount/dtd
- at dirrm share/xml/pam_mount
- at dirrm etc/security
- at unexec rmdir /var/run/pam_mount 2> /dev/null
+ at dir /var/run/pam_mount


More information about the svn-ports-head mailing list