Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Mar 2015 00:43:16 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r380319 - head/sysutils/pam_mount
Message-ID:  <201503030043.t230hGIr020129@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
-@dirrm share/xml/pam_mount/dtd
-@dirrm share/xml/pam_mount
-@dirrm etc/security
-@unexec rmdir /var/run/pam_mount 2> /dev/null
+@dir /var/run/pam_mount



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503030043.t230hGIr020129>