utilize PORTDOCS, NOPORTDOCS, and PLIST_FILES
This commit is contained in:
parent
1f24e613d2
commit
7190f84077
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=105959
2 changed files with 11 additions and 51 deletions
|
@ -15,16 +15,21 @@ MAINTAINER= ports@FreeBSD.org
|
|||
COMMENT= A regexp library for Java
|
||||
|
||||
USE_JAVA= 1.1+
|
||||
|
||||
NO_BUILD= yes
|
||||
|
||||
DOCDIR= ${PREFIX}/share/doc/${PORTNAME}
|
||||
.if !defined(NOPORTDOCS)
|
||||
PORTDOCS= *
|
||||
.endif
|
||||
|
||||
PLIST_FILES= ${JAVAJARDIR:S,^${PREFIX}/,,}/gnu-regexp.jar
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${DOCDIR}
|
||||
cd ${WRKSRC}/docs && ${FIND} . \
|
||||
| ${CPIO} -pdmu -R ${DOCOWN}:${DOCGRP} ${DOCDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/lib/${PORTNAME}-${PORTVERSION}.jar \
|
||||
${PREFIX}/share/java/classes/${PORTNAME}.jar
|
||||
${JAVAJARDIR}/${PORTNAME}.jar
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
cd ${WRKSRC}/docs && ${FIND} . \
|
||||
| ${CPIO} -pdmu -R ${DOCOWN}:${DOCGRP} ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,45 +0,0 @@
|
|||
share/doc/gnu-regexp/api/allclasses-frame.html
|
||||
share/doc/gnu-regexp/api/deprecated-list.html
|
||||
share/doc/gnu-regexp/api/gnu/regexp/CharIndexed.html
|
||||
share/doc/gnu-regexp/api/gnu/regexp/RE.html
|
||||
share/doc/gnu-regexp/api/gnu/regexp/REException.html
|
||||
share/doc/gnu-regexp/api/gnu/regexp/REFilterInputStream.html
|
||||
share/doc/gnu-regexp/api/gnu/regexp/REFilterReader.html
|
||||
share/doc/gnu-regexp/api/gnu/regexp/REMatch.html
|
||||
share/doc/gnu-regexp/api/gnu/regexp/REMatchEnumeration.html
|
||||
share/doc/gnu-regexp/api/gnu/regexp/RESyntax.html
|
||||
share/doc/gnu-regexp/api/gnu/regexp/UncheckedRE.html
|
||||
share/doc/gnu-regexp/api/gnu/regexp/package-frame.html
|
||||
share/doc/gnu-regexp/api/gnu/regexp/package-summary.html
|
||||
share/doc/gnu-regexp/api/gnu/regexp/package-tree.html
|
||||
share/doc/gnu-regexp/api/gnu/regexp/util/Egrep.html
|
||||
share/doc/gnu-regexp/api/gnu/regexp/util/Grep.html
|
||||
share/doc/gnu-regexp/api/gnu/regexp/util/REApplet.html
|
||||
share/doc/gnu-regexp/api/gnu/regexp/util/RETest.html
|
||||
share/doc/gnu-regexp/api/gnu/regexp/util/Tests.html
|
||||
share/doc/gnu-regexp/api/gnu/regexp/util/package-frame.html
|
||||
share/doc/gnu-regexp/api/gnu/regexp/util/package-summary.html
|
||||
share/doc/gnu-regexp/api/gnu/regexp/util/package-tree.html
|
||||
share/doc/gnu-regexp/api/help-doc.html
|
||||
share/doc/gnu-regexp/api/index-all.html
|
||||
share/doc/gnu-regexp/api/index.html
|
||||
share/doc/gnu-regexp/api/overview-frame.html
|
||||
share/doc/gnu-regexp/api/overview-summary.html
|
||||
share/doc/gnu-regexp/api/overview-tree.html
|
||||
share/doc/gnu-regexp/api/package-list
|
||||
share/doc/gnu-regexp/api/packages.html
|
||||
share/doc/gnu-regexp/api/serialized-form.html
|
||||
share/doc/gnu-regexp/api/stylesheet.css
|
||||
share/doc/gnu-regexp/changes.html
|
||||
share/doc/gnu-regexp/credits.html
|
||||
share/doc/gnu-regexp/faq.html
|
||||
share/doc/gnu-regexp/gnu-regexp-applet.jar
|
||||
share/doc/gnu-regexp/index.html
|
||||
share/doc/gnu-regexp/reapplet.html
|
||||
share/doc/gnu-regexp/syntax.html
|
||||
share/java/classes/gnu-regexp.jar
|
||||
@dirrm share/doc/gnu-regexp/api/gnu/regexp/util
|
||||
@dirrm share/doc/gnu-regexp/api/gnu/regexp
|
||||
@dirrm share/doc/gnu-regexp/api/gnu
|
||||
@dirrm share/doc/gnu-regexp/api
|
||||
@dirrm share/doc/gnu-regexp
|
Loading…
Reference in a new issue