blob: dc53fbb2f86bd1ee64e33d6a91405a3b9fc2b9b1 (
plain) (
blame)
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
59
60
61
62
63
64
|
# New ports collection makefile for: autoq3d
# Date created: 28 Jul 2007
# Whom: Yinghong.Liu <relaxbsd@gmail.com>
#
# $FreeBSD$
#
PORTNAME= autoq3d
DISTVERSION= 1.36
PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= SF
DISTNAME= AutoQ3DGPL${PORTVERSION:C/\./-/}qt4source
MAINTAINER= miwi@FreeBSD.org
COMMENT= A complete QT quick 3d model editor program
USE_ZIP= yes
USE_QT_VER= 4
QT_COMPONENTS= qmake_build corelib moc_build gui opengl
PORTDOCS= 3DQformat.txt ChangeLog.txt Install.txt license.txt
.if !defined(WITHOUT_NLS)
PLIST_SUB+= NLS=""
.else
PLIST_SUB+= NLS="@comment "
.endif
DESKTOP_ENTRIES= "AutoQ3D" \
"A complete QT quick 3d model editor program" \
"AutoQ3D" \
"AutoQ3D" \
"Qt;KDE;Graphics;" \
"false"
post-patch:
@${REINPLACE_CMD} -e 's|/usr/share/AutoQ3D-GPL|${DATADIR}|g' \
${WRKSRC}/src/main.cpp \
${WRKSRC}/src/fgui/cadform.cpp \
${WRKSRC}/src/dialogs/prgsettings.cpp
pre-build:
@cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${QMAKE} -spec ${QMAKESPEC}
post-install:
@${INSTALL_PROGRAM} ${WRKSRC}/AutoQ3D ${PREFIX}/bin
@${MKDIR} ${PREFIX}/share/pixmaps
@${INSTALL_DATA} ${WRKSRC}/AutoQ3D.png ${PREFIX}/share/pixmaps
@${MKDIR} ${DATADIR}
@${INSTALL_DATA} ${WRKSRC}/qref*.htm ${DATADIR}
@${MKDIR} ${DATADIR}/images
@${INSTALL_DATA} ${WRKSRC}/images/*.png ${DATADIR}/images
.if !defined(WITHOUT_NLS)
@${INSTALL_DATA} ${WRKSRC}/*.qm ${DATADIR}
.endif
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for doc in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/docs/${doc} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>
|