From 0010709b44322a588242cad69efd422a7bca82c4 Mon Sep 17 00:00:00 2001 From: ijliao Date: Fri, 2 Apr 2004 10:49:30 +0000 Subject: utilize PORTDOCS, NOPORTDOCS, and PLIST_FILES --- java/gnu-regexp/Makefile | 17 +++++++++++------ java/gnu-regexp/pkg-plist | 45 --------------------------------------------- 2 files changed, 11 insertions(+), 51 deletions(-) delete mode 100644 java/gnu-regexp/pkg-plist (limited to 'java') 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 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 -- cgit v1.1