diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2004-04-09 17:43:25 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2004-04-09 17:43:25 +0000 |
commit | c3ef36353ec2eacef0142b9b1021abe43f3ee09a (patch) | |
tree | dc099d1ca69ba791021d9c52b8c80e22f611f825 /java/poseidon/Makefile | |
parent | 5b5c8879e6949826fe89c1d5e98abc1a2850d40c (diff) | |
download | ports-c3ef36353ec2eacef0142b9b1021abe43f3ee09a.tar.gz ports-c3ef36353ec2eacef0142b9b1021abe43f3ee09a.zip |
Notes
Diffstat (limited to 'java/poseidon/Makefile')
-rw-r--r-- | java/poseidon/Makefile | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/java/poseidon/Makefile b/java/poseidon/Makefile new file mode 100644 index 000000000000..65ac2640d53b --- /dev/null +++ b/java/poseidon/Makefile @@ -0,0 +1,55 @@ +# Ports collection makefile for: Poseidon +# Date created: February 28, 2004 +# Whom: gerrit@beine-computer.de +# +# $FreeBSD$ +# + +PORTNAME= poseidonCE +PORTVERSION= 2.2.1 +CATEGORIES= java +MASTER_SITES= # http://www.gentleware.com/products/download.php4 +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} # Required to print the message + +MAINTAINER= ports@freebsd.org +COMMENT= A popular UML CASE tool + +USE_ZIP= yes +USE_JAVA= 1.4+ +USE_REINPLACE= yes +NO_BUILD= yes +NO_PACKAGE= "Redistribution is not permitted" +NO_CDROM= ${NO_PACKAGE} +RESTRICTED= ${NO_PACKAGE} + +.include <bsd.port.pre.mk> + +.if !exists(${DISTDIR}/${DISTFILES}) +ECHO_MSG=/usr/bin/printf +IGNORE= :\n\ +Because of licensing restrictions, you must fetch the source distribution\n\ +manually. Please access http://www.gentleware.com/products/download.php4\n\ +with a web browser and load the \"ZIP for any Platform\" of the\n\ +Community Edition.\n\ +After download the file, place it into ${DISTDIR}.\n +.endif + +post-patch: + @${REINPLACE_CMD} -e "s,%%JAVA_HOME%%,${JAVA_HOME}," ${WRKSRC}/bin/poseidon.sh + +do-install: + @${MKDIR} ${DATADIR}/bin + @${MKDIR} ${DATADIR}/lib + ${INSTALL_SCRIPT} ${WRKSRC}/bin/poseidon.sh ${DATADIR}/bin + ${INSTALL_DATA} ${WRKSRC}/lib/*.jar ${DATADIR}/lib + ${INSTALL_DATA} ${WRKSRC}/LICENSE.txt ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/license-keys.txt ${DATADIR} +.if !defined(NOPORTDOCS) + ${CP} -r ${WRKSRC}/docs ${DATADIR} + ${CP} -r ${WRKSRC}/examples ${DATADIR} +.endif + +post-install: + ${LN} -s ${DATADIR}/bin/poseidon.sh ${LOCALBASE}/bin/poseidon + +.include <bsd.port.post.mk> |