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
This commit is contained in:
Trevor Johnson 2005-03-15 05:53:24 +00:00
parent 09f75fd0f9
commit 998c999e28
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=131288

View file

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