aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2013-10-17 09:02:23 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2013-10-17 09:02:23 +0800
commit372fe71edbc082a110367f7d7bbc7eef0d7d37dc (patch)
tree1df193460aa69ab6f736298d25f072eaae3b00c6
parenta2e1d208fa73434f3a4dad92089f1cd6f1dc0ef8 (diff)
downloadfreebsd-ports-gnome-372fe71edbc082a110367f7d7bbc7eef0d7d37dc.tar.gz
freebsd-ports-gnome-372fe71edbc082a110367f7d7bbc7eef0d7d37dc.tar.zst
freebsd-ports-gnome-372fe71edbc082a110367f7d7bbc7eef0d7d37dc.zip
- Support staging
-rw-r--r--graphics/tiled/Makefile11
-rw-r--r--graphics/tiled/pkg-plist4
2 files changed, 8 insertions, 7 deletions
diff --git a/graphics/tiled/Makefile b/graphics/tiled/Makefile
index ae4d57d7bb55..eec24c508f6f 100644
--- a/graphics/tiled/Makefile
+++ b/graphics/tiled/Makefile
@@ -13,14 +13,13 @@ COMMENT= General purpose tile map editor
USE_QT4= corelib gui opengl \
linguist_build qmake_build moc_build uic_build rcc_build
USE_LDCONFIG= yes
-
-MAN1= automappingconverter.1 tiled.1 tmxrasterizer.1 tmxviewer.1
+DESTDIRNAME= INSTALL_ROOT
PORTDOCS= *
OPTIONS_DEFINE= DOCS
+OPTIONS_DEFAULT=DOCS
-NO_STAGE= yes
.include <bsd.port.options.mk>
post-patch:
@@ -35,10 +34,8 @@ do-configure:
cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
${QMAKE} ${QMAKEFLAGS} PREFIX="${PREFIX}" tiled.pro
-.if ${PORT_OPTIONS:MDOCS}
post-install:
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README.md ${DOCSDIR}/
-.endif
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>
diff --git a/graphics/tiled/pkg-plist b/graphics/tiled/pkg-plist
index bffd2102c27c..5e1c9e9e32ce 100644
--- a/graphics/tiled/pkg-plist
+++ b/graphics/tiled/pkg-plist
@@ -13,6 +13,10 @@ lib/tiled/plugins/liblua.so
lib/tiled/plugins/libreplicaisland.so
lib/tiled/plugins/libtengine.so
lib/tiled/plugins/libtmw.so
+man/man1/automappingconverter.1.gz
+man/man1/tiled.1.gz
+man/man1/tmxrasterizer.1.gz
+man/man1/tmxviewer.1.gz
share/applications/tiled.desktop
share/icons/hicolor/16x16/apps/tiled.png
share/icons/hicolor/32x32/apps/tiled.png