freebsd-ports/graphics/autoq3d/Makefile
Emanuel Haupt c4d94d5101 Update to 1.40
PR:		159471
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2011-08-10 16:24:36 +00:00

56 lines
1.4 KiB
Makefile

# New ports collection makefile for: autoq3d
# Date created: 28 Jul 2007
# Whom: Yinghong.Liu <relaxbsd@gmail.com>
#
# $FreeBSD$
#
PORTNAME= autoq3d
DISTVERSION= 1.40
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/AutoQ3D%20${PORTVERSION}
DISTNAME= AutoQ3DCommunity${PORTVERSION:C/\./-/}qt4source
MAINTAINER= ports@FreeBSD.org
COMMENT= A complete QT quick 3d model editor program
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
USE_ZIP= yes
USE_QT_VER= 4
QT_COMPONENTS= corelib gui opengl \
moc_build qmake_build
MAKE_JOBS_SAFE= yes
DESKTOP_ENTRIES= "AutoQ3D" \
"A complete QT quick 3d model editor program" \
"AutoQ3D" \
"AutoQ3D" \
"Qt;KDE;Graphics;" \
"false"
post-patch:
.for file in src/main.cpp src/fgui/cadform.cpp src/dialogs/prgsettings.cpp
@${REINPLACE_CMD} -e \
's|/usr/share/AutoQ3D-Community|${DATADIR}|g' ${WRKSRC}/${file}
.endfor
do-configure:
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} ${QMAKEFLAGS})
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/AutoQ3D ${PREFIX}/bin
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/*.htm ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/*.qm ${DATADIR}
@${MKDIR} ${DATADIR}/images
${INSTALL_DATA} ${WRKSRC}/images/*.png ${DATADIR}/images
@${MKDIR} ${PREFIX}/share/pixmaps
${INSTALL_DATA} ${WRKSRC}/AutoQ3D.png ${PREFIX}/share/pixmaps
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/*.txt ${DOCSDIR}
.endif
.include <bsd.port.mk>