2013-07-13 11:18:23 +00:00
|
|
|
# Created by: Matthias Petermann <matthias@petermann-it.de>
|
2013-03-21 20:16:53 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= sweethome3d
|
2013-11-23 00:38:02 +00:00
|
|
|
PORTVERSION= 4.2
|
2013-03-21 20:16:53 +00:00
|
|
|
CATEGORIES= cad java
|
|
|
|
MASTER_SITES= SF/${PORTNAME}/SweetHome3D-source/${DISTNAME}/
|
|
|
|
DISTNAME= SweetHome3D-${PORTVERSION}-src
|
|
|
|
|
2013-07-13 11:18:23 +00:00
|
|
|
MAINTAINER= matthias@petermann-it.de
|
2013-03-21 20:16:53 +00:00
|
|
|
COMMENT= Free interior design application
|
|
|
|
|
|
|
|
LICENSE= GPLv2
|
|
|
|
|
|
|
|
BUILD_DEPENDS= java3d>=0:${PORTSDIR}/java/java3d
|
|
|
|
RUN_DEPENDS= java3d>=0:${PORTSDIR}/java/java3d
|
|
|
|
|
2014-03-07 15:59:54 +00:00
|
|
|
USES= zip
|
2013-03-21 20:16:53 +00:00
|
|
|
USE_ANT= yes
|
|
|
|
USE_JAVA= yes
|
|
|
|
JAVA_VERSION= 1.6+
|
|
|
|
|
|
|
|
ALL_TARGET= jarExecutable
|
|
|
|
JARNAME= SweetHome3D-${PORTVERSION}.jar
|
|
|
|
|
|
|
|
SUB_FILES= sweethome3d.sh
|
|
|
|
SUB_LIST= JARNAME=${JARNAME}
|
|
|
|
|
|
|
|
PLIST_FILES= bin/sweethome3d \
|
|
|
|
%%JAVAJARDIR%%/${JARNAME} \
|
|
|
|
share/pixmaps/sweethome3d-icon.png
|
|
|
|
|
|
|
|
DESKTOP_ENTRIES="Sweet Home 3D" "" "${PORTNAME}-icon" "${PORTNAME}" "" false
|
|
|
|
|
|
|
|
do-install:
|
2013-11-23 00:38:02 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/install/${JARNAME} ${STAGEDIR}${JAVAJARDIR}/${JARNAME}
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/sweethome3d.sh ${STAGEDIR}${PREFIX}/bin/sweethome3d
|
2013-03-21 20:16:53 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/deploy/SweetHome3DIcon32x32.png \
|
2013-11-23 00:38:02 +00:00
|
|
|
${STAGEDIR}${PREFIX}/share/pixmaps/sweethome3d-icon.png
|
2013-03-21 20:16:53 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|