freebsd-ports/java/poseidon/Makefile
Mark Linimon 920cd7661f Update to 2.4.1 and change maintainer's email address.
PR:		ports/67464
Submitted by:	Gerrit Beine <tux at pinguru dot net> (maintainer)
2004-06-23 04:59:34 +00:00

55 lines
1.5 KiB
Makefile

# Ports collection makefile for: Poseidon
# Date created: February 28, 2004
# Whom: Gerrit Beine (<tux@pinguru.net>)
#
# $FreeBSD$
#
PORTNAME= poseidonCE
PORTVERSION= 2.4.1
CATEGORIES= java
MASTER_SITES= # http://www.gentleware.com/products/download.php4
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} # Required to print the message
MAINTAINER= tux@pinguru.net
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>