summaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2004-04-02 10:49:30 +0000
committerijliao <ijliao@FreeBSD.org>2004-04-02 10:49:30 +0000
commit0010709b44322a588242cad69efd422a7bca82c4 (patch)
tree23bf6c7fd8d9a6a07fcb118b9705fcddaf5278d8 /java
parentf7088ed6faee4a888abee4d26f63d4403858cf35 (diff)
downloadFreeBSD-ports-0010709b44322a588242cad69efd422a7bca82c4.zip
FreeBSD-ports-0010709b44322a588242cad69efd422a7bca82c4.tar.gz
utilize PORTDOCS, NOPORTDOCS, and PLIST_FILES
Diffstat (limited to 'java')
-rw-r--r--java/gnu-regexp/Makefile17
-rw-r--r--java/gnu-regexp/pkg-plist45
2 files changed, 11 insertions, 51 deletions
diff --git a/java/gnu-regexp/Makefile b/java/gnu-regexp/Makefile
index 25bc346..274da76 100644
--- a/java/gnu-regexp/Makefile
+++ b/java/gnu-regexp/Makefile
@@ -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>
diff --git a/java/gnu-regexp/pkg-plist b/java/gnu-regexp/pkg-plist
deleted file mode 100644
index 861e817..0000000
--- a/java/gnu-regexp/pkg-plist
+++ /dev/null
@@ -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
OpenPOWER on IntegriCloud