Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jan 2014 21:40:15 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r338944 - head/textproc/rxp
Message-ID:  <201401062140.s06LeF4S055160@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Mon Jan  6 21:40:15 2014
New Revision: 338944
URL: http://svnweb.freebsd.org/changeset/ports/338944

Log:
  Stage support

Modified:
  head/textproc/rxp/Makefile
  head/textproc/rxp/pkg-plist

Modified: head/textproc/rxp/Makefile
==============================================================================
--- head/textproc/rxp/Makefile	Mon Jan  6 21:39:08 2014	(r338943)
+++ head/textproc/rxp/Makefile	Mon Jan  6 21:40:15 2014	(r338944)
@@ -7,22 +7,17 @@ CATEGORIES=	textproc
 MASTER_SITES=	ftp://ftp.cogsci.ed.ac.uk/pub/richard/
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A validating XML parser written in C
-
-MAN1=	rxp.1
+COMMENT=	Validating XML parser written in C
 
 RXP_HEADERS=	charset.h ctype16.h dtd.h hash.h input.h namespaces.h \
 		rxputil.h stdio16.h string16.h system.h url.h version.h \
 		xmlparser.h
 
-NO_STAGE=	yes
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/rxp ${PREFIX}/bin
-	${INSTALL_DATA} ${WRKSRC}/librxp.a ${PREFIX}/lib
-	${INSTALL_MAN} ${WRKSRC}/rxp.1 ${PREFIX}/man/man1
-	${MKDIR} ${PREFIX}/include/rxp
-.for h in ${RXP_HEADERS}
-	${INSTALL_DATA} ${WRKSRC}/${h} ${PREFIX}/include/rxp
-.endfor
+	${INSTALL_PROGRAM} ${WRKSRC}/rxp ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_DATA} ${WRKSRC}/librxp.a ${STAGEDIR}${PREFIX}/lib
+	${INSTALL_MAN} ${WRKSRC}/rxp.1 ${STAGEDIR}${PREFIX}/man/man1
+	@${MKDIR} ${STAGEDIR}${PREFIX}/include/rxp
+	${INSTALL_DATA} ${RXP_HEADERS:S,^,${WRKSRC}/,} ${STAGEDIR}${PREFIX}/include/rxp
 
 .include <bsd.port.mk>

Modified: head/textproc/rxp/pkg-plist
==============================================================================
--- head/textproc/rxp/pkg-plist	Mon Jan  6 21:39:08 2014	(r338943)
+++ head/textproc/rxp/pkg-plist	Mon Jan  6 21:40:15 2014	(r338944)
@@ -13,4 +13,5 @@ include/rxp/system.h
 include/rxp/url.h
 include/rxp/version.h
 include/rxp/xmlparser.h
+man/man1/rxp.1.gz
 @dirrm include/rxp



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