aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-02-03 00:08:53 +0800
committerantoine <antoine@FreeBSD.org>2014-02-03 00:08:53 +0800
commit650e640b2a5e6a21510186f89033d2c100659f2e (patch)
treeea02c307482edb53100cdbe3c90bfc87737d89e2 /deskutils
parentc65189ab885f7827a4db19ae9f4c1defcc2c7550 (diff)
downloadfreebsd-ports-gnome-650e640b2a5e6a21510186f89033d2c100659f2e.tar.gz
freebsd-ports-gnome-650e640b2a5e6a21510186f89033d2c100659f2e.tar.zst
freebsd-ports-gnome-650e640b2a5e6a21510186f89033d2c100659f2e.zip
Stage support
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/qtm/Makefile12
-rw-r--r--deskutils/qtm/pkg-plist1
2 files changed, 5 insertions, 8 deletions
diff --git a/deskutils/qtm/Makefile b/deskutils/qtm/Makefile
index 5d9d7e9b62ca..0f02a43c46ec 100644
--- a/deskutils/qtm/Makefile
+++ b/deskutils/qtm/Makefile
@@ -16,21 +16,17 @@ USE_BZIP2= yes
USE_QT4= corelib dbus gui network xml \
moc_build qmake_build rcc_build uic_build
USE_OPENSSL= yes
-USES= cmake
+USES= cmake desktop-file-utils
CMAKE_ARGS= -DCMAKE_CXX_FLAGS_RELEASE:STRING="-DNDEBUG" \
-DMANPAGE_DIRECTORY:STRING="${MANPREFIX}/man/man1" \
-DMARKDOWN_LOCATION:STRING="${LOCALBASE}/bin/markdown"
-MANCOMPRESSED= yes
-MAN1= qtm.1
+OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
post-install:
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in Changelog INSTALL README
- ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.include <bsd.port.mk>
diff --git a/deskutils/qtm/pkg-plist b/deskutils/qtm/pkg-plist
index cffbab48bfaf..e638f7a67032 100644
--- a/deskutils/qtm/pkg-plist
+++ b/deskutils/qtm/pkg-plist
@@ -1,4 +1,5 @@
bin/qtm
+man/man1/qtm.1.gz
share/applications/qtm.desktop
%%PORTDOCS%%%%DOCSDIR%%/Changelog
%%PORTDOCS%%%%DOCSDIR%%/INSTALL