Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jan 2014 23:40:54 +0000 (UTC)
From:      Rusmir Dusko <nemysis@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r340000 - head/graphics/box
Message-ID:  <201401162340.s0GNesNg059785@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nemysis
Date: Thu Jan 16 23:40:54 2014
New Revision: 340000
URL: http://svnweb.freebsd.org/changeset/ports/340000
QAT: https://qat.redports.org/buildarchive/r340000/

Log:
  - Support STAGEDIR

Modified:
  head/graphics/box/Makefile   (contents, props changed)
  head/graphics/box/pkg-plist   (contents, props changed)

Modified: head/graphics/box/Makefile
==============================================================================
--- head/graphics/box/Makefile	Thu Jan 16 23:35:43 2014	(r339999)
+++ head/graphics/box/Makefile	Thu Jan 16 23:40:54 2014	(r340000)
@@ -22,31 +22,21 @@ CONFIGURE_ARGS=	--with-cairo
 USE_LDCONFIG=	yes
 MAKE_JOBS_UNSAFE=yes
 
-MAN1=		${PORTNAME}.1
-
 PORTDOCS=	AUTHORS ChangeLog README STYLE TODO
 PORTEXAMPLES=	*
 
-PLIST_SUB+=	PLIST_VER=${PORTVERSION:R}
-
 OPTIONS_DEFINE=	DOCS EXAMPLES
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
+PLIST_SUB+=	PLIST_VER=${PORTVERSION:R}
 
 post-patch:
 	${TOUCH} ${WRKSRC}/man/${PORTNAME}.sgml
 
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
-.endif
-
-.if ${PORT_OPTIONS:MEXAMPLES}
-	@${MKDIR} ${EXAMPLESDIR}
-	@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
-.endif
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+
+	@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
 
 regression-test: build
 	@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} check)

Modified: head/graphics/box/pkg-plist
==============================================================================
--- head/graphics/box/pkg-plist	Thu Jan 16 23:35:43 2014	(r339999)
+++ head/graphics/box/pkg-plist	Thu Jan 16 23:40:54 2014	(r340000)
@@ -96,6 +96,7 @@ lib/libboxcore%%PLIST_VER%%.a
 lib/libboxcore%%PLIST_VER%%.la
 lib/libboxcore%%PLIST_VER%%.so
 lib/libboxcore%%PLIST_VER%%.so.0
+man/man1/box.1.gz
 @dirrm lib/box%%PLIST_VER%%/pkg/g
 @dirrm lib/box%%PLIST_VER%%/pkg
 @dirrm lib/box%%PLIST_VER%%/lib



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