- Switch to USES=localbase

- Switch to options helpers
- Fix plist for disabled NLS case

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2017-12-01 11:17:29 +00:00
parent a5d6ded1f5
commit b1047d73d6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=455268
2 changed files with 20 additions and 23 deletions

View file

@ -14,7 +14,7 @@ LIB_DEPENDS= libshishi.so:security/shishi
CONFLICTS= heimdal-[0-9]*
USES= libtool pathfix pkgconfig perl5
USES= libtool localbase:ldflags pathfix pkgconfig perl5
USE_PERL5= build
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-kerberos5
@ -29,13 +29,10 @@ NLS_CONFIGURE_ENABLE= nls
INFO= gss
PORTDOCS= gss.html gss.ps gss.pdf
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
post-configure:
@cd ${WRKSRC}/doc && ${TOUCH} Makefile*
post-install:
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})

View file

@ -49,21 +49,21 @@ man/man3/gss_userok.3.gz
man/man3/gss_verify_mic.3.gz
man/man3/gss_wrap.3.gz
man/man3/gss_wrap_size_limit.3.gz
share/locale/de/LC_MESSAGES/gss.mo
share/locale/en@boldquot/LC_MESSAGES/gss.mo
share/locale/en@quot/LC_MESSAGES/gss.mo
share/locale/eo/LC_MESSAGES/gss.mo
share/locale/fi/LC_MESSAGES/gss.mo
share/locale/fr/LC_MESSAGES/gss.mo
share/locale/ga/LC_MESSAGES/gss.mo
share/locale/hr/LC_MESSAGES/gss.mo
share/locale/hu/LC_MESSAGES/gss.mo
share/locale/id/LC_MESSAGES/gss.mo
share/locale/it/LC_MESSAGES/gss.mo
share/locale/pl/LC_MESSAGES/gss.mo
share/locale/ro/LC_MESSAGES/gss.mo
share/locale/sk/LC_MESSAGES/gss.mo
share/locale/sr/LC_MESSAGES/gss.mo
share/locale/sv/LC_MESSAGES/gss.mo
share/locale/vi/LC_MESSAGES/gss.mo
share/locale/zh_CN/LC_MESSAGES/gss.mo
%%NLS%%share/locale/de/LC_MESSAGES/gss.mo
%%NLS%%share/locale/en@boldquot/LC_MESSAGES/gss.mo
%%NLS%%share/locale/en@quot/LC_MESSAGES/gss.mo
%%NLS%%share/locale/eo/LC_MESSAGES/gss.mo
%%NLS%%share/locale/fi/LC_MESSAGES/gss.mo
%%NLS%%share/locale/fr/LC_MESSAGES/gss.mo
%%NLS%%share/locale/ga/LC_MESSAGES/gss.mo
%%NLS%%share/locale/hr/LC_MESSAGES/gss.mo
%%NLS%%share/locale/hu/LC_MESSAGES/gss.mo
%%NLS%%share/locale/id/LC_MESSAGES/gss.mo
%%NLS%%share/locale/it/LC_MESSAGES/gss.mo
%%NLS%%share/locale/pl/LC_MESSAGES/gss.mo
%%NLS%%share/locale/ro/LC_MESSAGES/gss.mo
%%NLS%%share/locale/sk/LC_MESSAGES/gss.mo
%%NLS%%share/locale/sr/LC_MESSAGES/gss.mo
%%NLS%%share/locale/sv/LC_MESSAGES/gss.mo
%%NLS%%share/locale/vi/LC_MESSAGES/gss.mo
%%NLS%%share/locale/zh_CN/LC_MESSAGES/gss.mo