diff options
Diffstat (limited to 'security/cracklib/Makefile')
-rw-r--r-- | security/cracklib/Makefile | 51 |
1 files changed, 43 insertions, 8 deletions
diff --git a/security/cracklib/Makefile b/security/cracklib/Makefile index 949f634f4033..0fab1102c076 100644 --- a/security/cracklib/Makefile +++ b/security/cracklib/Makefile @@ -10,7 +10,7 @@ CATEGORIES+= python MASTER_SITES= SF \ LOCAL/${MAINTAINER:C/([^@]*)@.*/\1/} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= cy@FreeBSD.org COMMENT?= Password-checking library LICENSE= LGPL21 @@ -20,7 +20,6 @@ DICTFILE= ${DICTPATH}/pw_dict GNU_CONFIGURE= yes CONFIGURE_ARGS=--with-default-dict=${DICTPATH} USE_LDCONFIG= yes -NO_STAGE= yes .if defined(PYTHON_SLAVEPORT) USE_PYTHON= yes @@ -54,7 +53,42 @@ PLIST_FILES= include/crack.h \ sbin/cracklib-unpacker \ sbin/create-cracklib-dict \ %%DATADIR%%/cracklib-small \ - %%DATADIR%%/cracklib.magic + %%DATADIR%%/cracklib.magic \ + share/locale/as/LC_MESSAGES/cracklib.mo \ + share/locale/bn_IN/LC_MESSAGES/cracklib.mo \ + share/locale/cs/LC_MESSAGES/cracklib.mo \ + share/locale/da/LC_MESSAGES/cracklib.mo \ + share/locale/de/LC_MESSAGES/cracklib.mo \ + share/locale/el/LC_MESSAGES/cracklib.mo \ + share/locale/es/LC_MESSAGES/cracklib.mo \ + share/locale/fi/LC_MESSAGES/cracklib.mo \ + share/locale/fr/LC_MESSAGES/cracklib.mo \ + share/locale/gu/LC_MESSAGES/cracklib.mo \ + share/locale/hi/LC_MESSAGES/cracklib.mo \ + share/locale/hu/LC_MESSAGES/cracklib.mo \ + share/locale/it/LC_MESSAGES/cracklib.mo \ + share/locale/ja/LC_MESSAGES/cracklib.mo \ + share/locale/kn/LC_MESSAGES/cracklib.mo \ + share/locale/ko/LC_MESSAGES/cracklib.mo \ + share/locale/lt/LC_MESSAGES/cracklib.mo \ + share/locale/ml/LC_MESSAGES/cracklib.mo \ + share/locale/mr/LC_MESSAGES/cracklib.mo \ + share/locale/nb/LC_MESSAGES/cracklib.mo \ + share/locale/nl/LC_MESSAGES/cracklib.mo \ + share/locale/or/LC_MESSAGES/cracklib.mo \ + share/locale/pa/LC_MESSAGES/cracklib.mo \ + share/locale/pl/LC_MESSAGES/cracklib.mo \ + share/locale/pt/LC_MESSAGES/cracklib.mo \ + share/locale/pt_BR/LC_MESSAGES/cracklib.mo \ + share/locale/ru/LC_MESSAGES/cracklib.mo \ + share/locale/sk/LC_MESSAGES/cracklib.mo \ + share/locale/sl_SI/LC_MESSAGES/cracklib.mo \ + share/locale/ta/LC_MESSAGES/cracklib.mo \ + share/locale/te/LC_MESSAGES/cracklib.mo \ + share/locale/tr/LC_MESSAGES/cracklib.mo \ + share/locale/uk/LC_MESSAGES/cracklib.mo \ + share/locale/zh_CN/LC_MESSAGES/cracklib.mo \ + share/locale/zh_TW/LC_MESSAGES/cracklib.mo .endif .if defined(PYTHON_SLAVEPORT) @@ -66,13 +100,14 @@ regression-test: extract ${PYTHON_CMD} -c \ "from test_${PORTNAME} import run; run(use_dictpath=\"${DICTFILE}\")") .else -MAN3= ${PORTNAME}.3 -MLINKS= ${PORTNAME}.3 FascistCheck.3 +PLIST_FILES+= man/man3/${PORTNAME}.3.gz \ + @exec\ ln\ -s\ man/man3/${PORTNAME}.3.gz\ man/man3/FascistCheck.3.gz \ + @unexec\ rm\ man/man3/FascistCheck.3.gz post-install: - ${INSTALL_MAN} ${FILESDIR}/${MAN3} ${MAN3PREFIX}/man/man3/ - @${MKDIR} ${DICTPATH} - ${INSTALL_DATA} ${FILESDIR}/pw_dict* ${DICTPATH}/ + ${INSTALL_MAN} ${FILESDIR}/${PORTNAME}.3 ${STAGEDIR}${MAN3PREFIX}/man/man3/ + @${MKDIR} ${STAGEDIR}${DICTPATH} + ${INSTALL_DATA} ${FILESDIR}/pw_dict* ${STAGEDIR}${DICTPATH}/ .endif .include <bsd.port.mk> |