diff options
author | Herve Quiroz <hq@FreeBSD.org> | 2005-02-03 02:19:58 +0000 |
---|---|---|
committer | Herve Quiroz <hq@FreeBSD.org> | 2005-02-03 02:19:58 +0000 |
commit | 9f896535ba4e890436514678288145dde9da69d5 (patch) | |
tree | dceb0a4a68099343bc899da0dd7669883e20e92b /java | |
parent | 3e69e5a6b7eb03491cf124906e54311e5f28a523 (diff) | |
download | ports-9f896535ba4e890436514678288145dde9da69d5.tar.gz ports-9f896535ba4e890436514678288145dde9da69d5.zip |
Notes
Diffstat (limited to 'java')
-rw-r--r-- | java/netcomponents/Makefile | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/java/netcomponents/Makefile b/java/netcomponents/Makefile index 605fc3c0fd14..db30ecb0a4a0 100644 --- a/java/netcomponents/Makefile +++ b/java/netcomponents/Makefile @@ -14,23 +14,17 @@ DISTNAME= NetComponents-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Java library with common network protocol implementations -PLIST_FILES= share/java/classes/NetComponents.jar -USE_JAVA= 1.1+ +PLIST_FILES= %%JAVAJARDIR%%/${JARFILE} +USE_JAVA= yes USE_ZIP= yes WRKSRC= ${WRKDIR}/NetComponents-1.3.8a NO_BUILD= yes -JAVASHAREDIR= ${PREFIX}/share/java -JARDIR= ${JAVASHAREDIR}/classes JARFILE= NetComponents.jar do-install: - @${ECHO} -n ">> Installing JAR as ${JARDIR}/${JARFILE}..." - @${CP} ${WRKSRC}/${JARFILE} ${JARDIR}/ - @${ECHO} " [ DONE ]" - - @${ECHO} -n ">> Fixing permissions..." - @${CHMOD} 644 ${JARDIR}/${JARFILE} - @${ECHO} " [ DONE ]" + @${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${JARFILE}..." + @${INSTALL_DATA} ${WRKSRC}/${JARFILE} ${JAVAJARDIR}/ + @${ECHO_MSG} " [ DONE ]" .include <bsd.port.mk> |