1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

USES=libtool

Strip binaries
Cleanup plist
This commit is contained in:
Baptiste Daroussin 2015-03-03 00:43:15 +00:00
parent 3b02717dda
commit d0d3c2ed31
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=380319
2 changed files with 9 additions and 6 deletions

View File

@ -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>

View File

@ -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