- Add LICENSE_FILE

- Drop unneeded PLIST_DIRS
- Switch to options helpers

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2016-01-10 14:59:34 +00:00
parent 9f856878f9
commit f11ba7b70d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=405700

View File

@ -11,6 +11,7 @@ MAINTAINER= David.K.Gerry@GMail.com
COMMENT= General-purpose console screen reader
LICENSE= LGPL20
LICENSE_FILE= ${WRKSRC}/COPYING
USES= gmake
GNU_CONFIGURE= yes
@ -29,12 +30,11 @@ PLIST_FILES= bin/yasr \
%%DATADIR%%/yasr.conf \
%%NLS%%share/locale/es/LC_MESSAGES/yasr.mo \
%%NLS%%share/locale/fr/LC_MESSAGES/yasr.mo
PLIST_DIRS= %%DATADIR%%
post-patch:
@${REINPLACE_CMD} -e 's|/bin/bash|/bin/csh|' ${WRKSRC}/yasr.conf
post-install:
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}