blob: 18cf651f73f37a1c90d8ad46e455aeb931e2e810 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
# New ports collection makefile for: autoq3d
# Date created: 28 Jul 2007
# Whom: Yinghong.Liu <relaxbsd@gmail.com>
#
# $FreeBSD$
#
PORTNAME= autoq3d
DISTVERSION= 1.40
PORTREVISION= 2
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_GL= glu
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>
|