aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortrevor <trevor@FreeBSD.org>2005-03-15 13:53:24 +0800
committertrevor <trevor@FreeBSD.org>2005-03-15 13:53:24 +0800
commit0981ff873d0033ae332b5b040f16875ad412c65e (patch)
tree428c9e446173ee4f0dce09b312be092bff1e056d
parent9c03018327ade6b3b6c0cdc44f771ecca5087b0d (diff)
downloadfreebsd-ports-gnome-0981ff873d0033ae332b5b040f16875ad412c65e.tar.gz
freebsd-ports-gnome-0981ff873d0033ae332b5b040f16875ad412c65e.tar.zst
freebsd-ports-gnome-0981ff873d0033ae332b5b040f16875ad412c65e.zip
Correct the packing list by adding entries for locale directories
(it might be better if these were created by mtree). PR: 78511 Submitted by: sem
-rw-r--r--security/mcrypt/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/security/mcrypt/Makefile b/security/mcrypt/Makefile
index a0d159775368..d9d479c92f86 100644
--- a/security/mcrypt/Makefile
+++ b/security/mcrypt/Makefile
@@ -9,7 +9,7 @@
PORTNAME= mcrypt
PORTVERSION= 2.6.4
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
ftp://argeas.cs-net.gr/pub/unix/mcrypt/attic/ \
@@ -23,8 +23,6 @@ COMMENT= Replacement for crypt(1)
LIB_DEPENDS= mcrypt.8:${PORTSDIR}/security/libmcrypt/ \
mhash.2:${PORTSDIR}/security/mhash/
-BROKEN= Incomplete pkg-plist
-
WANT_AUTOCONF_VER= 259
USE_GETTEXT= yes
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
@@ -46,6 +44,8 @@ pre-install:
${ECHO_CMD} bin/${PORTNAME} > ${PLIST}
.for i in cs de el es_AR pl
${ECHO_CMD} share/locale/${i}/LC_MESSAGES/mcrypt.mo >> ${PLIST}
+ ${ECHO_CMD} @unexec rmdir %D/share/locale/${i}/LC_MESSAGES '2>/dev/null | true' >> ${PLIST}
+ ${ECHO_CMD} @unexec rmdir %D/share/locale/${i} '2>/dev/null | true' >> ${PLIST}
.endfor
.if !defined(NOPORTDOCS)
${ECHO_CMD} share/examples/${PORTNAME}/sample.mcryptrc >> ${PLIST}