Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Feb 2014 13:44:37 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r343741 - head/textproc/docbook-xml-450
Message-ID:  <201402111344.s1BDibtL009263@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Tue Feb 11 13:44:36 2014
New Revision: 343741
URL: http://svnweb.freebsd.org/changeset/ports/343741
QAT: https://qat.redports.org/buildarchive/r343741/

Log:
  - Stage support

Modified:
  head/textproc/docbook-xml-450/Makefile

Modified: head/textproc/docbook-xml-450/Makefile
==============================================================================
--- head/textproc/docbook-xml-450/Makefile	Tue Feb 11 13:44:09 2014	(r343740)
+++ head/textproc/docbook-xml-450/Makefile	Tue Feb 11 13:44:36 2014	(r343741)
@@ -40,7 +40,6 @@ ENT_FILES=	isoamsa.ent isoamsb.ent isoam
 		isogrk3.ent isogrk4.ent isolat1.ent isolat2.ent \
 		isonum.ent isopub.ent isotech.ent
 
-NO_STAGE=	yes
 pre-install:
 	@${RM} -f ${PLIST}
 .for F in ${ENT_FILES}
@@ -52,28 +51,21 @@ pre-install:
 .endfor
 	@${ECHO_CMD} "@dirrm ${DTDDIR}" >> ${PLIST}
 	@${ECHO_CMD} "@dirrmtry ${XMLCATBASE}/${DTD_NAME}" >> ${PLIST}
-.ifndef NOPORTDOCS
 .for F in ${DOC_FILES}
 	@${ECHO_CMD} "${DOCSDIR:S!^${PREFIX}/!!}/${F}.${PORTVERSION}" >> ${PLIST}
 .endfor
 	@${ECHO_CMD} "@dirrmtry ${DOCSDIR:S!^${PREFIX}/!!}" >> ${PLIST}
-.endif
 	@${ECHO_CMD} "@exec ${XMLCATMGR} ${REGIST_CAT_FLAGS_XML}" >> ${PLIST}
 	@${ECHO_CMD} "@unexec ${XMLCATMGR} ${UNREGIST_CAT_FLAGS_XML}" >> ${PLIST}
 
 do-install:
-	${MKDIR} ${PREFIX}/${DTDDIR}
-	${INSTALL_DATA} ${DTD_FILES:S!^!${WRKSRC}/!} ${PREFIX}/${DTDDIR}
-	${MKDIR} ${PREFIX}/${ENTDIR}
-	${INSTALL_DATA} ${ENT_FILES:S!^!${WRKSRC}/ent/!} ${PREFIX}/${ENTDIR}
-.ifndef NOPORTDOCS
-	${MKDIR} ${DOCSDIR}
+	${MKDIR} ${STAGEDIR}${PREFIX}/${DTDDIR}
+	${INSTALL_DATA} ${DTD_FILES:S!^!${WRKSRC}/!} ${STAGEDIR}${PREFIX}/${DTDDIR}
+	${MKDIR} ${STAGEDIR}${PREFIX}/${ENTDIR}
+	${INSTALL_DATA} ${ENT_FILES:S!^!${WRKSRC}/ent/!} ${STAGEDIR}${PREFIX}/${ENTDIR}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for F in ${DOC_FILES}
-	${INSTALL_DATA} ${WRKSRC}/${F} ${DOCSDIR}/${F}.${PORTVERSION}
+	${INSTALL_DATA} ${WRKSRC}/${F} ${STAGEDIR}${DOCSDIR}/${F}.${PORTVERSION}
 .endfor
-.endif
-
-post-install:
-	-${XMLCATMGR} ${REGIST_CAT_FLAGS_XML}
 
 .include <bsd.port.mk>



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