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
This commit is contained in:
Sam Lawrance 2006-05-07 13:48:13 +00:00
parent c85adc5cde
commit e8f792b110
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=161601

View file

@ -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>