diff options
author | hq <hq@FreeBSD.org> | 2004-09-01 21:36:46 +0800 |
---|---|---|
committer | hq <hq@FreeBSD.org> | 2004-09-01 21:36:46 +0800 |
commit | b9ba73f806fc77524197ef1d36c0f05b86ad825c (patch) | |
tree | fc0d9df197fbbf5a65256c8f2a3c83b9c9b4b7c6 | |
parent | daabd289efbe248c5d6af7eaaad4fbcdf8614fe8 (diff) | |
download | freebsd-ports-gnome-b9ba73f806fc77524197ef1d36c0f05b86ad825c.tar.gz freebsd-ports-gnome-b9ba73f806fc77524197ef1d36c0f05b86ad825c.tar.zst freebsd-ports-gnome-b9ba73f806fc77524197ef1d36c0f05b86ad825c.zip |
- Use MASTER_SITE_APACHE
- Now bsd.java.mk 2.0 compliant
- Cosmetic changes: ECHO_CMD -> ECHO_MSG and removed unnecessary variables
- Use CPIO rather than MKDIR/INSTALL_MAN
- Removed pkg-plist
- Added 'devel' category
- Removed unnecessary 'post-install' target
- Use my FreeBSD address for maintainership purposes
Approved by: glewis (mentor)
-rw-r--r-- | java/avalon-logkit/Makefile | 35 | ||||
-rw-r--r-- | java/avalon-logkit/pkg-plist | 1 |
2 files changed, 16 insertions, 20 deletions
diff --git a/java/avalon-logkit/Makefile b/java/avalon-logkit/Makefile index 5778cb62cde4..0f56ac34b173 100644 --- a/java/avalon-logkit/Makefile +++ b/java/avalon-logkit/Makefile @@ -8,39 +8,36 @@ PORTNAME= logkit PORTVERSION= 1.2 PORTREVISION= 1 -CATEGORIES= java -MASTER_SITES= http://www.apache.org/dist/avalon/${PORTNAME:S,-,/,}/binaries/ +CATEGORIES= java devel +MASTER_SITES= ${MASTER_SITE_APACHE} +MASTER_SITE_SUBDIR= avalon/${PORTNAME:S,-,/,}/binaries PKGNAMEPREFIX= avalon- DISTNAME= LogKit-${PORTVERSION}-bin -MAINTAINER= herve.quiroz@esil.univ-mrs.fr +MAINTAINER= hq@FreeBSD.org COMMENT= Java toolkit designed for secure performance oriented logging -USE_JAVA= 1.3+ +USE_JAVA= YES +JAVA_VERSION= 1.3+ NO_BUILD= YES -WRKSRC= ${WRKDIR}/LogKit-${PORTVERSION} -PORT_JARFILE= ${PORTNAME}-${PORTVERSION}.jar -DEST_JARFILE= ${PORTNAME}.jar -JAVA_WRKDOCSDIR= ${WRKSRC}/docs -PLIST_SUB+= JAVAJARDIR=${JAVAJARDIR:S/^${PREFIX}\///} +WRKSRC= ${WRKDIR}/LogKit-${PORTVERSION} +PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar .if !defined(NOPORTDOCS) PORTDOCS= api changes.html css features.html images index.html whitepaper.html .endif do-install: - @${ECHO_CMD} -n ">> Installing JAR file..." - @cd ${WRKSRC} && ${INSTALL_DATA} ${PORT_JARFILE} ${JAVAJARDIR}/${DEST_JARFILE} - @${ECHO_CMD} " [DONE]" + @${ECHO_MSG} -n ">> Installing JAR file as ${JAVAJARDIR}/${PORTNAME}.jar..." + @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.jar ${JAVAJARDIR}/${PORTNAME}.jar + @${ECHO_MSG} " [DONE]" .if !defined(NOPORTDOCS) - @${ECHO_CMD} -n ">> Installing documentation..." - @cd ${JAVA_WRKDOCSDIR} && ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} ";" - @cd ${JAVA_WRKDOCSDIR} && ${FIND} . -type f -exec ${INSTALL_MAN} ${JAVA_WRKDOCSDIR}/{} ${DOCSDIR}/{} ";" - @${ECHO_CMD} " [DONE]" + @${ECHO_MSG} -n ">> Installing documentation..." + @${MKDIR} ${DOCSDIR} + @cd ${WRKSRC}/docs && ${FIND} ${PORTDOCS} \ + | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} > /dev/null 2>&1 + @${ECHO_MSG} " [DONE]" .endif -post-install: - @${ECHO_CMD} "${PORTNAME}-${PORTVERSION} installed as ${JAVAJARDIR}/${PORT_JARFILE}" - .include <bsd.port.mk> diff --git a/java/avalon-logkit/pkg-plist b/java/avalon-logkit/pkg-plist deleted file mode 100644 index 5a82556cf6c3..000000000000 --- a/java/avalon-logkit/pkg-plist +++ /dev/null @@ -1 +0,0 @@ -%%JAVAJARDIR%%/logkit.jar |