Lines 7-35
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= autoq3d |
8 |
PORTNAME= autoq3d |
9 |
DISTVERSION= 1.40 |
9 |
DISTVERSION= 1.40 |
10 |
PORTREVISION= 2 |
10 |
PORTREVISION= 3 |
11 |
CATEGORIES= graphics |
11 |
CATEGORIES= graphics |
12 |
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/AutoQ3D%20${PORTVERSION} |
12 |
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/AutoQ3D%20${PORTVERSION} |
13 |
DISTNAME= AutoQ3DCommunity${PORTVERSION:C/\./-/}qt4source |
13 |
DISTNAME= AutoQ3DCommunity${PORTVERSION:C/\./-/}qt4source |
14 |
|
14 |
|
15 |
MAINTAINER= ports@FreeBSD.org |
15 |
MAINTAINER= nemysis@gmx.ch |
16 |
COMMENT= Complete QT quick 3D model editor program |
16 |
COMMENT= Complete QT quick 3D model editor program |
17 |
|
17 |
|
18 |
LICENSE= GPLv2 GPLv3 |
18 |
LICENSE= GPLv2 |
19 |
LICENSE_COMB= dual |
|
|
20 |
|
19 |
|
21 |
USE_GL= glu |
20 |
USE_GL= glu |
22 |
USE_ZIP= yes |
21 |
USE_ZIP= yes |
23 |
USE_QT4= corelib gui opengl \ |
22 |
USE_DOS2UNIX= *.pro *.cpp |
24 |
moc_build qmake_build |
23 |
USE_QT4= moc_build qmake_build corelib gui opengl |
25 |
MAKE_JOBS_SAFE= yes |
24 |
MAKE_JOBS_SAFE= yes |
26 |
|
25 |
|
27 |
DESKTOP_ENTRIES= "AutoQ3D" \ |
26 |
PORTDOCS= *.txt |
28 |
"A complete QT quick 3d model editor program" \ |
27 |
|
29 |
"AutoQ3D" \ |
28 |
DESKTOP_ENTRIES="AutoQ3D" "${COMMENT}" "AutoQ3D" \ |
30 |
"AutoQ3D" \ |
29 |
"AutoQ3D" "Qt;KDE;Graphics;" ${FALSE} |
31 |
"Qt;KDE;Graphics;" \ |
30 |
|
32 |
"false" |
31 |
.include <bsd.port.options.mk> |
33 |
|
32 |
|
34 |
post-patch: |
33 |
post-patch: |
35 |
.for file in src/main.cpp src/fgui/cadform.cpp src/dialogs/prgsettings.cpp |
34 |
.for file in src/main.cpp src/fgui/cadform.cpp src/dialogs/prgsettings.cpp |
Lines 38-57
Link Here
|
38 |
.endfor |
37 |
.endfor |
39 |
|
38 |
|
40 |
do-configure: |
39 |
do-configure: |
41 |
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} ${QMAKEFLAGS}) |
40 |
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \ |
|
|
41 |
${QMAKE} ${QMAKEFLAGS} PREFIX=${PREFIX} |
42 |
|
42 |
|
43 |
do-install: |
43 |
do-install: |
44 |
${INSTALL_PROGRAM} ${WRKSRC}/AutoQ3D ${PREFIX}/bin |
44 |
${INSTALL_PROGRAM} ${WRKSRC}/AutoQ3D ${PREFIX}/bin |
45 |
@${MKDIR} ${DATADIR} |
45 |
${MKDIR} ${DATADIR} |
46 |
${INSTALL_DATA} ${WRKSRC}/*.htm ${DATADIR} |
46 |
@(cd ${WRKSRC} && ${COPYTREE_SHARE} "images *.htm *.qm" ${DATADIR}) |
47 |
${INSTALL_DATA} ${WRKSRC}/*.qm ${DATADIR} |
|
|
48 |
@${MKDIR} ${DATADIR}/images |
49 |
${INSTALL_DATA} ${WRKSRC}/images/*.png ${DATADIR}/images |
50 |
@${MKDIR} ${PREFIX}/share/pixmaps |
51 |
${INSTALL_DATA} ${WRKSRC}/AutoQ3D.png ${PREFIX}/share/pixmaps |
47 |
${INSTALL_DATA} ${WRKSRC}/AutoQ3D.png ${PREFIX}/share/pixmaps |
52 |
.if !defined(NOPORTDOCS) |
48 |
|
53 |
@${MKDIR} ${DOCSDIR} |
49 |
post-install: |
54 |
${INSTALL_DATA} ${WRKSRC}/docs/*.txt ${DOCSDIR} |
50 |
.if ${PORT_OPTIONS:MDOCS} |
|
|
51 |
${MKDIR} ${DOCSDIR} |
52 |
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/docs/|} ${DOCSDIR} |
55 |
.endif |
53 |
.endif |
56 |
|
54 |
|
57 |
.include <bsd.port.mk> |
55 |
.include <bsd.port.mk> |