aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorhq <hq@FreeBSD.org>2005-02-03 10:19:58 +0800
committerhq <hq@FreeBSD.org>2005-02-03 10:19:58 +0800
commitf1f04f04ad3fb79de060cfce931fc5eab1ff08cd (patch)
treeaec12ff65bc97eb4bd4ec0740042a5e0610b9e03 /java
parent06628fa9f8cd99b674777dbd52044fe681b2be1d (diff)
downloadfreebsd-ports-gnome-f1f04f04ad3fb79de060cfce931fc5eab1ff08cd.tar.gz
freebsd-ports-gnome-f1f04f04ad3fb79de060cfce931fc5eab1ff08cd.tar.zst
freebsd-ports-gnome-f1f04f04ad3fb79de060cfce931fc5eab1ff08cd.zip
- Update to bsd.java.mk 2.0
- Use JAVAJARDIR - ECHO -> ECHO_MSG - CP -> INSTALL_DATA
Diffstat (limited to 'java')
-rw-r--r--java/netcomponents/Makefile16
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>