aboutsummaryrefslogtreecommitdiff
path: root/deskutils/qorganizer
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2013-11-22 18:48:41 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2013-11-22 18:48:41 +0000
commitb97da74ba178e9549f263a61096f4290025a49e0 (patch)
treed7320ee297df0faad45e9850d18053f0d7a29e92 /deskutils/qorganizer
parent3de3028d382ea1cb335ca8f044442e37d2caa56d (diff)
downloadports-b97da74ba178e9549f263a61096f4290025a49e0.tar.gz
ports-b97da74ba178e9549f263a61096f4290025a49e0.zip
Notes
Diffstat (limited to 'deskutils/qorganizer')
-rw-r--r--deskutils/qorganizer/Makefile25
1 files changed, 9 insertions, 16 deletions
diff --git a/deskutils/qorganizer/Makefile b/deskutils/qorganizer/Makefile
index dc96301dcb4f..9c34f05873e2 100644
--- a/deskutils/qorganizer/Makefile
+++ b/deskutils/qorganizer/Makefile
@@ -9,9 +9,10 @@ MASTER_SITES= SF/${PORTNAME}/OldFiles
DISTNAME= qOrganizer-${PORTVERSION}
MAINTAINER= miwi@FreeBSD.org
-COMMENT= A general organizer that includes calendar with jurnal and schedule
+COMMENT= General organizer that includes calendar with jurnal and schedule
-USE_QT4= gui network qmake_build moc_build rcc_build sql
+USES= qmake
+USE_QT4= gui network moc_build rcc_build sql
WRKSRC= ${WRKDIR}/qOrganizer/src
PLIST_FILES= bin/qOrganizer share/pixmaps/qOrganizer.png
@@ -22,20 +23,12 @@ DESKTOP_ENTRIES= "qOrganizer" \
"qOrganizer" \
"qOrganizer" \
"Qt;KDE;Office;" \
- "false"
+ "true"
-NO_STAGE= yes
-pre-build:
- @cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${QMAKE}
-
-post-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/qOrganizer ${PREFIX}/bin
- @${INSTALL_DATA} ${WRKSRC}/../qOrganizer.png ${PREFIX}/share/pixmaps
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
-.for doc in ${PORTDOCS}
- @${INSTALL_DATA} ${WRKSRC}/../${doc} ${DOCSDIR}
-.endfor
-.endif
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/qOrganizer ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/../qOrganizer.png ${STAGEDIR}${PREFIX}/share/pixmaps
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/../,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>