aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2013-11-23 02:48:41 +0800
committermakc <makc@FreeBSD.org>2013-11-23 02:48:41 +0800
commit4cf9003fd4a076a626b6e2b469bf5ac9ec7e7562 (patch)
treed7320ee297df0faad45e9850d18053f0d7a29e92 /mail
parent8456d4de25199b6e9f977ed57de2f2225b47ea20 (diff)
downloadfreebsd-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 'mail')
-rw-r--r--mail/qgmailnotifier/Makefile16
1 files changed, 6 insertions, 10 deletions
diff --git a/mail/qgmailnotifier/Makefile b/mail/qgmailnotifier/Makefile
index d74b47a53636..b0e9035f9944 100644
--- a/mail/qgmailnotifier/Makefile
+++ b/mail/qgmailnotifier/Makefile
@@ -9,28 +9,24 @@ MASTER_SITES= http://www.codef00.com/projects/
EXTRACT_SUFX= .tgz
MAINTAINER= crees@FreeBSD.org
-COMMENT= A portable QT4 based GMail notifier
+COMMENT= Portable Qt 4 based GMail notifier
-USE_QT4= qmake_build moc_build uic_build gui network xml rcc_build
+USES= qmake
+USE_QT4= moc_build uic_build gui network xml rcc_build
WRKSRC= ${WRKDIR}/${PORTNAME}
PORTDOCS= README
PLIST_FILES= bin/${PORTNAME}
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|/bin|${PREFIX}/bin|g' ${WRKSRC}/qgmailnotifier.pro
-do-configure:
- @cd ${WRKSRC} \
- && ${SETENV} ${MAKE_ENV} ${QMAKE} ${QMAKE_ARGS} qgmailnotifier.pro
-
post-install:
- @${STRIP_CMD} ${PREFIX}/bin/${PORTNAME}
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ @${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>