Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Oct 2013 01:02:24 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r330581 - head/graphics/tiled
Message-ID:  <201310170102.r9H12OFm003786@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu Oct 17 01:02:23 2013
New Revision: 330581
URL: http://svnweb.freebsd.org/changeset/ports/330581

Log:
  - Support staging

Modified:
  head/graphics/tiled/Makefile
  head/graphics/tiled/pkg-plist

Modified: head/graphics/tiled/Makefile
==============================================================================
--- head/graphics/tiled/Makefile	Thu Oct 17 01:01:53 2013	(r330580)
+++ head/graphics/tiled/Makefile	Thu Oct 17 01:02:23 2013	(r330581)
@@ -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>

Modified: head/graphics/tiled/pkg-plist
==============================================================================
--- head/graphics/tiled/pkg-plist	Thu Oct 17 01:01:53 2013	(r330580)
+++ head/graphics/tiled/pkg-plist	Thu Oct 17 01:02:23 2013	(r330581)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310170102.r9H12OFm003786>