1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/graphics/structuresynth/Makefile
Dmitry Marakasov e696084d23 Update my email address in 132 ports.
Approved by:	miwi (mentor)
2008-06-19 17:28:24 +00:00

44 lines
1.2 KiB
Makefile

# New ports collection makefile for: structuresynth
# Date created: 06 Apr 2008
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# $FreeBSD$
#
PORTNAME= structuresynth
PORTVERSION= 0.8.0
CATEGORIES= graphics
MASTER_SITES= SF
DISTNAME= StructureSynth-Source-v${PORTVERSION}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Rule-based 3D structure generator
USE_ZIP= yes
USE_QT_VER= 4
QT_COMPONENTS= qmake corelib gui opengl moc rcc xml
WRKSRC= ${WRKDIR}/structuresynth
post-extract:
${MV} ${WRKDIR}/"Structure Synth Source Code" ${WRKDIR}/structuresynth
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 xml" >> ${WRKSRC}/structuresynth.pro
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} \
-spec ${QMAKESPEC} structuresynth.pro
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/structuresynth ${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>