diff options
author | makc <makc@FreeBSD.org> | 2013-11-23 02:48:41 +0800 |
---|---|---|
committer | makc <makc@FreeBSD.org> | 2013-11-23 02:48:41 +0800 |
commit | 4cf9003fd4a076a626b6e2b469bf5ac9ec7e7562 (patch) | |
tree | d7320ee297df0faad45e9850d18053f0d7a29e92 /deskutils/qorganizer | |
parent | 8456d4de25199b6e9f977ed57de2f2225b47ea20 (diff) | |
download | freebsd-ports-gnome-4cf9003fd4a076a626b6e2b469bf5ac9ec7e7562.tar.gz freebsd-ports-gnome-4cf9003fd4a076a626b6e2b469bf5ac9ec7e7562.tar.zst freebsd-ports-gnome-4cf9003fd4a076a626b6e2b469bf5ac9ec7e7562.zip |
- Convert to USES=qmake (and other USES while I'm here)
- Add state support
- Convert LIB_DEPENDS to new style, adjust USE_QT4 components, etc.
Approved by: portmgr (blanket approval)
Diffstat (limited to 'deskutils/qorganizer')
-rw-r--r-- | deskutils/qorganizer/Makefile | 25 |
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> |