diff options
author | Max Brazhnikov <makc@FreeBSD.org> | 2013-11-22 12:55:00 +0000 |
---|---|---|
committer | Max Brazhnikov <makc@FreeBSD.org> | 2013-11-22 12:55:00 +0000 |
commit | 5898d7df5c5c0c4c33faa934a38001e755f6d900 (patch) | |
tree | edc1328e7d68e649db202ae07c396b88869f73de /graphics/autoq3d | |
parent | 14b67ba33b83fe27381b6547b20370f812a4da0f (diff) | |
download | ports-5898d7df5c5c0c4c33faa934a38001e755f6d900.tar.gz ports-5898d7df5c5c0c4c33faa934a38001e755f6d900.zip |
Notes
Diffstat (limited to 'graphics/autoq3d')
-rw-r--r-- | graphics/autoq3d/Makefile | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/graphics/autoq3d/Makefile b/graphics/autoq3d/Makefile index ae69e15328dd..1c5a332280ec 100644 --- a/graphics/autoq3d/Makefile +++ b/graphics/autoq3d/Makefile @@ -9,16 +9,15 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/AutoQ3D%20${PORTVERSION} DISTNAME= AutoQ3DCommunity${PORTVERSION:C/\./-/}qt4source MAINTAINER= nemysis@gmx.ch -COMMENT= Qt4 quick 3D model editor +COMMENT= Qt 4 quick 3D model editor LICENSE= GPLv2 GPLv3 LICENSE_COMB= dual -USE_DOS2UNIX= yes +USES= dos2unix qmake USE_GL= glu USE_ZIP= yes -USE_QT4= corelib gui opengl \ - moc_build qmake_build +USE_QT4= corelib gui opengl moc_build PORTDOCS= 3DQformat.txt ChangeLog.txt @@ -27,9 +26,8 @@ DESKTOP_ENTRIES="AutoQ3D" \ "AutoQ3D" \ "AutoQ3D" \ "Graphics;3DGraphics;Qt;" \ - false + true -NO_STAGE= yes .include <bsd.port.options.mk> post-patch: .for file in src/main.cpp src/fgui/cadform.cpp src/dialogs/prgsettings.cpp @@ -37,16 +35,13 @@ post-patch: 's|/usr/share/AutoQ3D-Community|${DATADIR}|g' ${WRKSRC}/${file} .endfor -do-configure: - @(cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${QMAKE} ${QMAKEFLAGS}) - do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/AutoQ3D ${PREFIX}/bin - @(cd ${WRKSRC} && ${COPYTREE_SHARE} "images *.htm *.qm" ${DATADIR}) - ${INSTALL_DATA} ${WRKSRC}/AutoQ3D.png ${PREFIX}/share/pixmaps + ${INSTALL_PROGRAM} ${WRKSRC}/AutoQ3D ${STAGEDIR}${PREFIX}/bin + @(cd ${WRKSRC} && ${COPYTREE_SHARE} "images *.htm *.qm" ${STAGEDIR}${DATADIR}) + ${INSTALL_DATA} ${WRKSRC}/AutoQ3D.png ${STAGEDIR}${PREFIX}/share/pixmaps .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/docs/|} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/docs/|} ${STAGEDIR}${DOCSDIR} .endif .include <bsd.port.mk> |