Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Nov 2013 17:59:05 +0000 (UTC)
From:      Raphael Kubo da Costa <rakuco@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r332884 - head/devel/xsd
Message-ID:  <201311051759.rA5Hx5G0074770@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rakuco
Date: Tue Nov  5 17:59:05 2013
New Revision: 332884
URL: http://svnweb.freebsd.org/changeset/ports/332884

Log:
  - Support staging.
  - Convert from USES_GMAKE=yes to USES=gmake.
  
  Submitted by:	Schaich Alonso <alonsoschaich@fastmail.fm>

Modified:
  head/devel/xsd/Makefile
  head/devel/xsd/pkg-plist

Modified: head/devel/xsd/Makefile
==============================================================================
--- head/devel/xsd/Makefile	Tue Nov  5 17:58:34 2013	(r332883)
+++ head/devel/xsd/Makefile	Tue Nov  5 17:59:05 2013	(r332884)
@@ -24,30 +24,27 @@ ALL_TARGET=	# no default target should b
 CXXFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 MAKEFILE=	makefile
-MAKE_ARGS=	install_prefix=${PREFIX} \
+MAKE_ARGS=	install_prefix=${STAGEDIR}${PREFIX} \
 		verbose=1
+USES=		gmake
 USE_BZIP2=	yes
-USE_GMAKE=	yes
 
-MAN1=		xsdcxx.1
-
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 post-install:
-	${INSTALL_MAN} ${WRKSRC}/xsd/documentation/xsd.1 ${MANPREFIX}/man/man1/xsdcxx.1
+	${INSTALL_MAN} ${WRKSRC}/xsd/documentation/xsd.1 ${STAGEDIR}${MANPREFIX}/man/man1/xsdcxx.1
 
 .if ${PORT_OPTIONS:MDOCS}
 	(cd ${WRKSRC}/xsd/documentation && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET})
-	${INSTALL_DATA} ${WRKSRC}/xsd/FLOSSE ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/xsd/NEWS ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/xsd/README ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/xsd/dist/README-UNIX ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/xsd/FLOSSE ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/xsd/NEWS ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/xsd/README ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/xsd/dist/README-UNIX ${STAGEDIR}${DOCSDIR}
 .endif
 
 .if ${PORT_OPTIONS:MEXAMPLES}
 	${FIND} ${WRKSRC}/xsd/examples -type f -name makefile -delete
-	(cd ${WRKSRC}/xsd/examples && ${COPYTREE_SHARE} cxx ${EXAMPLESDIR})
+	(cd ${WRKSRC}/xsd/examples && ${COPYTREE_SHARE} cxx ${STAGEDIR}${EXAMPLESDIR})
 .endif
 
 .include <bsd.port.mk>

Modified: head/devel/xsd/pkg-plist
==============================================================================
--- head/devel/xsd/pkg-plist	Tue Nov  5 17:58:34 2013	(r332883)
+++ head/devel/xsd/pkg-plist	Tue Nov  5 17:59:05 2013	(r332884)
@@ -176,6 +176,7 @@ include/xsd/cxx/xml/string.ixx
 include/xsd/cxx/xml/string.txx
 include/xsd/cxx/zc-istream.hxx
 include/xsd/cxx/zc-istream.txx
+man/man1/xsdcxx.1.gz
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/cxx/parser/README
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/cxx/parser/generated/README
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/cxx/parser/generated/library.xml



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