diff options
Diffstat (limited to 'java')
-rw-r--r-- | java/netcomponents/Makefile | 13 |
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> |