9cec97dd84
a set of user specified rules. It is an attempt to make a 3D version of Context Free. The resulting structures can be viewed in the integrated OpenGL viewer or exported to various formats. WWW: http://structuresynth.sourceforge.net PR: ports/122897 Submitted by: Dmitry Marakasov <amdmi3 at amdmi3.ru>
41 lines
1 KiB
Makefile
41 lines
1 KiB
Makefile
# New ports collection makefile for: structuresynth
|
|
# Date created: 06 Apr 2008
|
|
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= structuresynth
|
|
PORTVERSION= 0.7.0
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= SF
|
|
DISTNAME= StructureSynth-Source-v${PORTVERSION}
|
|
|
|
MAINTAINER= amdmi3@amdmi3.ru
|
|
COMMENT= Rule-based 3D structure generator
|
|
|
|
USE_ZIP= yes
|
|
USE_QT_VER= 4
|
|
QT_COMPONENTS= qmake corelib gui opengl moc rcc
|
|
|
|
WRKSRC= ${WRKDIR}/source/trunk
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|"Examples"|"${DATADIR}/Examples"|; \
|
|
s|"Misc"|"${DATADIR}/Misc"|' ${WRKSRC}/MainWindow.cpp
|
|
|
|
do-configure:
|
|
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} \
|
|
-project
|
|
@${ECHO_CMD} "QT+=opengl" >> ${WRKSRC}/trunk.pro
|
|
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} \
|
|
-spec ${QMAKESPEC} trunk.pro
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/trunk ${PREFIX}/bin/${PORTNAME}
|
|
${MKDIR} ${DATADIR}/Examples
|
|
${INSTALL_DATA} ${WRKSRC}/Examples/*.es ${DATADIR}/Examples
|
|
${MKDIR} ${DATADIR}/Misc
|
|
${INSTALL_DATA} ${WRKSRC}/Misc/* ${DATADIR}/Misc
|
|
|
|
.include <bsd.port.mk>
|