- Add LICENSE
- Switch to options helpers - Switch to new test framework Approved by: portmgr blanket
This commit is contained in:
parent
e87930cff5
commit
9f12c9b88e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=465784
@ -11,19 +11,25 @@ PKGNAMEPREFIX= g
|
||||
MAINTAINER= johans@FreeBSD.org
|
||||
COMMENT= The GNU stream editor
|
||||
|
||||
LICENSE= GPLv3+ GFDL
|
||||
LICENSE_COMB= multi
|
||||
LICENSE_FILE_GPLv3+ = ${WRKSRC}/COPYING
|
||||
LICENSE_FILE_GFDL= ${WRKSRC}/COPYING.DOC
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV+= MAKEINFO="${MAKEINFO} --no-split"
|
||||
TEST_TARGET= check
|
||||
|
||||
USES= charsetfix makeinfo gmake
|
||||
PATCH_SUBDIRS= . doc lib sed
|
||||
DATADIR= ${PREFIX}/share/${PKGBASE}
|
||||
SAMP_FILES= binary*.sed dc.sed
|
||||
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGBASE}
|
||||
PORTDOCS= AUTHORS BUGS COPYING COPYING.DOC NEWS README THANKS
|
||||
PORTDOCS= AUTHORS BUGS NEWS README THANKS
|
||||
DOCSDIR= ${PREFIX}/share/doc/${PKGBASE}
|
||||
INFO= sed
|
||||
|
||||
OPTIONS_DEFINE= NLS DOCS
|
||||
OPTIONS_DEFINE= NLS DOCS EXAMPLES
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
NLS_USES= gettext iconv
|
||||
@ -44,15 +50,13 @@ post-configure:
|
||||
post-install:
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
.for f in ${SAMP_FILES}
|
||||
@${INSTALL_DATA} ${WRKSRC}/testsuite/${f} ${STAGEDIR}${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/testsuite/${f} ${STAGEDIR}${EXAMPLESDIR}
|
||||
.endfor
|
||||
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for f in ${PORTDOCS}
|
||||
@${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
|
||||
# Maintainer only
|
||||
test:
|
||||
@cd ${WRKSRC}/testsuite; ${MAKE} check
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user