- Add LICENSE

- Add NO_ARCH
- Switch to options helpers
This commit is contained in:
Dmitry Marakasov 2017-02-14 09:01:31 +00:00
parent c3cab16738
commit 0c3e62d42c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=434068

View file

@ -10,20 +10,25 @@ DISTNAME= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Strip cascading style sheets from webpages
LICENSE= ART10
WRKSRC= ${WRKDIR}/source
USES= perl5 shebangfix
SHEBANG_FILES= DeCSS
NO_BUILD= yes
NO_ARCH= yes
PLIST_FILES= bin/decss
PORTDOCS= FAQ README decss-now.png decss_mirror.html \
original_pigdog_article.txt
SHEBANG_FILES= DeCSS
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/DeCSS ${STAGEDIR}${PREFIX}/bin/decss
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}