Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Nov 2013 18:04:48 +0000 (UTC)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r332527 - head/textproc/xmlcharent
Message-ID:  <201311021804.rA2I4mt9083060@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hrs
Date: Sat Nov  2 18:04:47 2013
New Revision: 332527
URL: http://svnweb.freebsd.org/changeset/ports/332527

Log:
  Add STAGEDIR support.

Modified:
  head/textproc/xmlcharent/Makefile

Modified: head/textproc/xmlcharent/Makefile
==============================================================================
--- head/textproc/xmlcharent/Makefile	Sat Nov  2 18:01:26 2013	(r332526)
+++ head/textproc/xmlcharent/Makefile	Sat Nov  2 18:04:47 2013	(r332527)
@@ -15,22 +15,17 @@ RUN_DEPENDS=	${XMLCATMGR}:${PORTSDIR}/te
 USE_ZIP=	yes
 NO_WRKSUBDIR=	yes
 NO_BUILD=	yes
-PLIST_SUB=	XMLCATMGR=${XMLCATMGR}
-PLIST_SUB+=	XMLDIR=${XMLDIR}
-PLIST_SUB+=	CATALOG_PORTS_SGML=${CATALOG_PORTS_SGML}
-PLIST_SUB+=	CATALOG_PORTS_XML=${CATALOG_PORTS_XML}
+PLIST_SUB=	XMLCATMGR=${XMLCATMGR} \
+		XMLDIR=${XMLDIR} \
+		CATALOG_PORTS_SGML=${LOCALBASE}/share/sgml/catalog.ports \
+		CATALOG_PORTS_XML=${LOCALBASE}/share/xml/catalog.ports
 
 XMLDIR=		${PREFIX}/share/xml/${PORTNAME}
 XMLCATMGR=	${LOCALBASE}/bin/xmlcatmgr
-CATALOG_PORTS_SGML=	${PREFIX}/share/sgml/catalog.ports
-CATALOG_PORTS_XML=	${PREFIX}/share/xml/catalog.ports
 
-NO_STAGE=	yes
 do-install:
-	${MKDIR} ${XMLDIR}
-	${INSTALL_DATA} ${WRKSRC}/*.ent\
-		${FILESDIR}/catalog ${FILESDIR}/catalog.xml ${XMLDIR}
-	${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${XMLDIR}/catalog
-	${XMLCATMGR} -c ${CATALOG_PORTS_XML} add nextCatalog ${XMLDIR}/catalog.xml
+	${MKDIR} ${STAGEDIR}${XMLDIR}
+	${INSTALL_DATA} ${WRKSRC}/*.ent \
+		${FILESDIR}/catalog ${FILESDIR}/catalog.xml ${STAGEDIR}${XMLDIR}
 
 .include <bsd.port.mk>



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