security/rhash: Unhook NLS and DOCS option
This commit is contained in:
@@ -30,23 +30,10 @@ USE_LDCONFIG= yes
|
||||
|
||||
WRKSRC= ${WRKDIR}/RHash-${PORTVERSION}
|
||||
|
||||
PORTDOCS= ChangeLog README.md
|
||||
|
||||
OPTIONS_DEFINE= DOCS NLS
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
NLS_USES= gettext localbase:ldflags
|
||||
NLS_CONFIGURE_ON= --enable-gettext
|
||||
NLS_INSTALL_TARGET= install-gmo
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e '/BYTE_ORDER/s,__,_,g' \
|
||||
${WRKSRC}/librhash/byte_order.h
|
||||
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
do-test:
|
||||
cd ${WRKSRC}/tests && ${SH} test_rhash.sh --full --shared
|
||||
|
||||
|
||||
@@ -30,13 +30,3 @@ share/man/man1/sfv-hash.1.gz
|
||||
share/man/man1/tiger-hash.1.gz
|
||||
share/man/man1/tth-hash.1.gz
|
||||
share/man/man1/whirlpool-hash.1.gz
|
||||
%%NLS%%share/locale/ca/LC_MESSAGES/rhash.mo
|
||||
%%NLS%%share/locale/de/LC_MESSAGES/rhash.mo
|
||||
%%NLS%%share/locale/en_AU/LC_MESSAGES/rhash.mo
|
||||
%%NLS%%share/locale/es/LC_MESSAGES/rhash.mo
|
||||
%%NLS%%share/locale/fr/LC_MESSAGES/rhash.mo
|
||||
%%NLS%%share/locale/gl/LC_MESSAGES/rhash.mo
|
||||
%%NLS%%share/locale/it/LC_MESSAGES/rhash.mo
|
||||
%%NLS%%share/locale/ro/LC_MESSAGES/rhash.mo
|
||||
%%NLS%%share/locale/ru/LC_MESSAGES/rhash.mo
|
||||
%%NLS%%share/locale/uk/LC_MESSAGES/rhash.mo
|
||||
|
||||
Reference in New Issue
Block a user