summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--LEGAL3
-rw-r--r--java/eclipse-clay-core/Makefile13
2 files changed, 12 insertions, 4 deletions
diff --git a/LEGAL b/LEGAL
index ff6218e63b78..9c857c682246 100644
--- a/LEGAL
+++ b/LEGAL
@@ -162,6 +162,8 @@ eagle-*.tgz ports/cad/linux-eagle Usage permitted for non-commercial
eawpats* ports/audio/eawpats Some of the patches are not
for commercial use.
eClient-linux.run ports/games/atitd Redistribution not allowed
+eclipse/jp.azzurri.clay.core_1.0.5.bin.dist.20040730.zip java/eclipse-clay-core License
+ agreement is required to download.
edith* ports/editors/edith Redistribution not allowed.
eijiro* ports/japanese/eijiro-fpw The original dictionary is not
@@ -592,4 +594,3 @@ zh-moettf/* ports/chinese/moettf Contact Taiwan Ministry of
NTU*.TTF ports/chinese/ntuttf No commercial use
ztelnet-* ports/net/ztelnet zmodem code has
restrictive copyright
-eclipse/jp.azzurri.clay.core_1.0.5.bin.dist.20040730.zip java/eclipse-clay-core Condition is not clear
diff --git a/java/eclipse-clay-core/Makefile b/java/eclipse-clay-core/Makefile
index 9b7532936636..31ec159ff7ff 100644
--- a/java/eclipse-clay-core/Makefile
+++ b/java/eclipse-clay-core/Makefile
@@ -7,8 +7,9 @@
PORTNAME= clay
PORTVERSION= 1.0.5
+PORTREVISION= 1
CATEGORIES= java devel
-MASTER_SITES= http://www.azzurri.jp/download/
+MASTER_SITES=
PKGNAMEPREFIX= eclipse-
PKGNAMESUFFIX= -core
DISTNAME= jp.azzurri.clay.core_${PORTVERSION}.bin.dist.${DISTVERSION}
@@ -19,7 +20,7 @@ COMMENT= A database design tool for the Eclipse development environment
RUN_DEPENDS+= ${LOCALBASE}/eclipse/features/org.eclipse.gef_3.0.0/feature.xml:${PORTSDIR}/java/eclipse-gef
-RESTRICTED= Condition is not clear
+RESTRICTED= License agreement is required to download.
NO_BUILD= yes
NO_WRKSUBDIR= yes
@@ -29,9 +30,15 @@ PLIST_SUB= RELEASEVERSION=${PORTVERSION}
DISTVERSION= 20040730
+.include <bsd.port.pre.mk>
+
+.if !exists(${DISTDIR}/${DIST_SUBDIR}/jp.azzurri.clay.core_${PORTVERSION}.bin.dist.${DISTVERSION}.zip)
+IGNORE='You must manually fetch the tarball from http://www.azzurri.jp/en/software/clay/download.jsp and place it in ${DISTDIR}/${DIST_SUBDIR} then run make again.'
+.endif
+
do-install:
@${MKDIR} ${PREFIX}/eclipse
@${CP} -r ${WRKSRC}/plugins ${PREFIX}/eclipse
@${CP} -r ${WRKSRC}/features ${PREFIX}/eclipse
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>