summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2013-10-16 12:49:27 +0000
committeramdmi3 <amdmi3@FreeBSD.org>2013-10-16 12:49:27 +0000
commita0f37f1ffe60fd8c495e409d171c0d98816ef72c (patch)
tree5323b0083074ec13995dae3674d22df3fec09075
parent03f41c20416bd554e6a577e33b20f2642932cbd0 (diff)
downloadFreeBSD-ports-a0f37f1ffe60fd8c495e409d171c0d98816ef72c.zip
FreeBSD-ports-a0f37f1ffe60fd8c495e409d171c0d98816ef72c.tar.gz
- Support staging
- Make qmake respect CXX/CXXFLAGS - Install documentation
-rw-r--r--deskutils/qrfcview/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/deskutils/qrfcview/Makefile b/deskutils/qrfcview/Makefile
index 998d4bf5..93e2624 100644
--- a/deskutils/qrfcview/Makefile
+++ b/deskutils/qrfcview/Makefile
@@ -13,12 +13,17 @@ COMMENT= Graphical RFC viewer
USE_QT4= gui network corelib qmake_build uic_build moc_build rcc_build
PLIST_FILES= bin/qRFCView
+PORTDOCS= *
+
+OPTIONS_DEFINE= DOCS
+OPTIONS_DEFAULT=DOCS
-NO_STAGE= yes
do-configure:
- @cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${QMAKE} -unix rfcview.pro
+ @cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${QMAKE} ${QMAKEFLAGS} -unix rfcview.pro
do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/bin/qRFCView ${PREFIX}/bin/
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/qRFCView ${STAGEDIR}${PREFIX}/bin/
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
OpenPOWER on IntegriCloud