summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorSam Lawrance <lawrance@FreeBSD.org>2006-05-07 13:48:13 +0000
committerSam Lawrance <lawrance@FreeBSD.org>2006-05-07 13:48:13 +0000
commite8f792b110a99c8494e517d3017205aac4d2880c (patch)
tree29484dd4e321c576e9a615c073226321f0bde1f6 /java
parentFix build error on 4. (diff)
Mark RESTRICTED and require manual fetching (netcomponents may not be
redistributed except as part of a substantially different product). Prompted by: fenner's distfile survey
Notes
Notes: svn path=/head/; revision=161601
Diffstat (limited to 'java')
-rw-r--r--java/netcomponents/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/java/netcomponents/Makefile b/java/netcomponents/Makefile
index db30ecb0a4a0..809b8f6d712b 100644
--- a/java/netcomponents/Makefile
+++ b/java/netcomponents/Makefile
@@ -8,12 +8,14 @@
PORTNAME= netcomponents
PORTVERSION= 1.3.8
CATEGORIES= java net
-MASTER_SITES= http://www.savarese.org/oro/downloads/download/
+MASTER_SITES= http://www.savarese.org/oro/
DISTNAME= NetComponents-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Java library with common network protocol implementations
+RESTRICTED= May not redistribute except as part of a new software product
+
PLIST_FILES= %%JAVAJARDIR%%/${JARFILE}
USE_JAVA= yes
USE_ZIP= yes
@@ -22,9 +24,16 @@ NO_BUILD= yes
JARFILE= NetComponents.jar
+.include <bsd.port.pre.mk>
+
+.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) && !defined(PACKAGE_BUILDING)
+IGNORE= must be manually fetched from ${MASTER_SITES}. Download\
+ ${DISTFILES}, place it in ${DISTDIR} and restart this build
+.endif
+
do-install:
@${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${JARFILE}..."
@${INSTALL_DATA} ${WRKSRC}/${JARFILE} ${JAVAJARDIR}/
@${ECHO_MSG} " [ DONE ]"
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>