View | Details | Raw Unified | Return to bug 139518
Collapse All | Expand All

(-)graphics/autoq3d/Makefile (-29 / +17 lines)
Lines 6-31 Link Here
6
#
6
#
7
7
8
PORTNAME=	autoq3d
8
PORTNAME=	autoq3d
9
DISTVERSION=	1.36
9
DISTVERSION=	1.39
10
PORTREVISION=	2
11
CATEGORIES=	graphics
10
CATEGORIES=	graphics
12
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/AutoQ3D%20${PORTVERSION}
11
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/AutoQ3D%20${PORTVERSION}
13
DISTNAME=	AutoQ3DGPL${PORTVERSION:C/\./-/}qt4source
12
DISTNAME=	AutoQ3DCommunity${PORTVERSION:C/\./-/}qt4source
14
13
15
MAINTAINER=	ports@FreeBSD.org
14
MAINTAINER=	ports@FreeBSD.org
16
COMMENT=	A complete QT quick 3d model editor program
15
COMMENT=	A complete QT quick 3d model editor program
17
16
18
USE_ZIP=	yes
17
USE_ZIP=	yes
19
USE_QT_VER=	4
18
USE_QT_VER=	4
20
QT_COMPONENTS=	qmake_build corelib moc_build gui opengl
19
QT_COMPONENTS=	corelib gui opengl \
21
20
		moc_build qmake_build 
22
PORTDOCS=	3DQformat.txt ChangeLog.txt Install.txt license.txt
23
24
.if !defined(WITHOUT_NLS)
25
PLIST_SUB+=	NLS=""
26
.else
27
PLIST_SUB+=	NLS="@comment "
28
.endif
29
21
30
DESKTOP_ENTRIES=	"AutoQ3D" \
22
DESKTOP_ENTRIES=	"AutoQ3D" \
31
			"A complete QT quick 3d model editor program" \
23
			"A complete QT quick 3d model editor program" \
Lines 35-64 Link Here
35
			"false"
27
			"false"
36
28
37
post-patch:
29
post-patch:
38
	@${REINPLACE_CMD} -e 's|/usr/share/AutoQ3D-GPL|${DATADIR}|g' \
30
.for file in src/main.cpp src/fgui/cadform.cpp src/dialogs/prgsettings.cpp
39
		${WRKSRC}/src/main.cpp \
31
	@${REINPLACE_CMD} -e \
40
		${WRKSRC}/src/fgui/cadform.cpp \
32
		's|/usr/share/AutoQ3D-Community|${DATADIR}|g' ${WRKSRC}/${file}
41
		${WRKSRC}/src/dialogs/prgsettings.cpp
33
.endfor
42
34
43
pre-build:
35
do-configure:
44
	@cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${QMAKE} -spec ${QMAKESPEC}
36
	@cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${QMAKE} -spec ${QMAKESPEC}
45
37
46
post-install:
38
do-install:
47
	@${INSTALL_PROGRAM} ${WRKSRC}/AutoQ3D ${PREFIX}/bin
39
	${INSTALL_PROGRAM} ${WRKSRC}/AutoQ3D ${PREFIX}/bin
48
	@${MKDIR} ${PREFIX}/share/pixmaps
49
	@${INSTALL_DATA} ${WRKSRC}/AutoQ3D.png ${PREFIX}/share/pixmaps
50
	@${MKDIR} ${DATADIR}
40
	@${MKDIR} ${DATADIR}
51
	@${INSTALL_DATA} ${WRKSRC}/qref*.htm ${DATADIR}
41
	${INSTALL_DATA} ${WRKSRC}/*.htm ${DATADIR}
42
	${INSTALL_DATA} ${WRKSRC}/*.qm ${DATADIR}
52
	@${MKDIR} ${DATADIR}/images
43
	@${MKDIR} ${DATADIR}/images
53
	@${INSTALL_DATA} ${WRKSRC}/images/*.png ${DATADIR}/images
44
	${INSTALL_DATA} ${WRKSRC}/images/*.png ${DATADIR}/images
54
.if !defined(WITHOUT_NLS)
45
	@${MKDIR} ${PREFIX}/share/pixmaps
55
	@${INSTALL_DATA} ${WRKSRC}/*.qm ${DATADIR}
46
	${INSTALL_DATA} ${WRKSRC}/AutoQ3D.png ${PREFIX}/share/pixmaps
56
.endif
57
.if !defined(NOPORTDOCS)
47
.if !defined(NOPORTDOCS)
58
	@${MKDIR} ${DOCSDIR}
48
	@${MKDIR} ${DOCSDIR}
59
.for doc in ${PORTDOCS}
49
	${INSTALL_DATA} ${WRKSRC}/docs/*.txt ${DOCSDIR}
60
	@${INSTALL_DATA} ${WRKSRC}/docs/${doc} ${DOCSDIR}
61
.endfor
62
.endif
50
.endif
63
51
64
.include <bsd.port.mk>
52
.include <bsd.port.mk>
(-)graphics/autoq3d/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (AutoQ3DGPL1-36qt4source.zip) = 969a93ab1e0eaf69b5457b9fdaa169a2
1
MD5 (AutoQ3DCommunity1-39qt4source.zip) = 7070fbc4f4174e0358963cf76768eb51
2
SHA256 (AutoQ3DGPL1-36qt4source.zip) = 39769b39aa99102201bf64bce447543624daf84cc0c75826685211e58bbd219a
2
SHA256 (AutoQ3DCommunity1-39qt4source.zip) = a498385d20ee4a6fbb9b6ea72fb75319f56b2013afad03a69d8aa64e4a78b8e9
3
SIZE (AutoQ3DGPL1-36qt4source.zip) = 221520
3
SIZE (AutoQ3DCommunity1-39qt4source.zip) = 219580
(-)graphics/autoq3d/pkg-plist (-1 / +6 lines)
Lines 49-57 Link Here
49
%%DATADIR%%/images/vwprop.png
49
%%DATADIR%%/images/vwprop.png
50
%%DATADIR%%/images/zoomi.png
50
%%DATADIR%%/images/zoomi.png
51
%%DATADIR%%/images/zoomim.png
51
%%DATADIR%%/images/zoomim.png
52
%%NLS%%%%DATADIR%%/lan_sp.qm
52
%%DATADIR%%/lan_sp.qm
53
%%DATADIR%%/qref.htm
53
%%DATADIR%%/qref.htm
54
%%DATADIR%%/qref_sp.htm
54
%%DATADIR%%/qref_sp.htm
55
%%PORTDOCS%%%%DOCSDIR%%/3DQformat.txt
56
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog.txt
57
%%PORTDOCS%%%%DOCSDIR%%/Install.txt
58
%%PORTDOCS%%%%DOCSDIR%%/license.txt
55
share/pixmaps/AutoQ3D.png
59
share/pixmaps/AutoQ3D.png
60
%%PORTDOCS%%@dirrm %%DOCSDIR%%
56
@dirrm %%DATADIR%%/images
61
@dirrm %%DATADIR%%/images
57
@dirrm %%DATADIR%%
62
@dirrm %%DATADIR%%

Return to bug 139518