aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorlawrance <lawrance@FreeBSD.org>2006-05-07 21:48:13 +0800
committerlawrance <lawrance@FreeBSD.org>2006-05-07 21:48:13 +0800
commitae7a64a28f947ac98f12dcf9c9e261953476f435 (patch)
tree06b6dcc5ec19b5bb2a520b9319250cbcefb17e01 /java
parent7db9ac846bcf4bd84f5552b835cd1a71d8083131 (diff)
downloadfreebsd-ports-gnome-ae7a64a28f947ac98f12dcf9c9e261953476f435.tar.gz
freebsd-ports-gnome-ae7a64a28f947ac98f12dcf9c9e261953476f435.tar.zst
freebsd-ports-gnome-ae7a64a28f947ac98f12dcf9c9e261953476f435.zip
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
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>