- Stage support
- Remove infozip dependency
This commit is contained in:
parent
e2680f9ab2
commit
709279fe7f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=343153
1 changed files with 12 additions and 20 deletions
|
@ -6,16 +6,16 @@ PORTVERSION= 4.4
|
||||||
PORTREVISION= 1
|
PORTREVISION= 1
|
||||||
CATEGORIES= textproc
|
CATEGORIES= textproc
|
||||||
MASTER_SITES= http://www.oasis-open.org/docbook/xml/${PORTVERSION}/
|
MASTER_SITES= http://www.oasis-open.org/docbook/xml/${PORTVERSION}/
|
||||||
|
PKGNAMESUFFIX= 44
|
||||||
|
EXTRACT_SUFX= .zip
|
||||||
|
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
COMMENT= DocBook/XML DTD V4.4, designed for technical documentation
|
COMMENT= DocBook/XML DTD V4.4, designed for technical documentation
|
||||||
|
|
||||||
RUN_DEPENDS= ${XMLCATMGR}:${PORTSDIR}/textproc/xmlcatmgr
|
RUN_DEPENDS= ${XMLCATMGR}:${PORTSDIR}/textproc/xmlcatmgr
|
||||||
|
|
||||||
USE_ZIP= yes
|
|
||||||
NO_BUILD= yes
|
NO_BUILD= yes
|
||||||
NO_WRKSUBDIR= yes
|
NO_WRKSUBDIR= yes
|
||||||
PKGNAMESUFFIX= ${PORTVERSION:S/.//}
|
|
||||||
PLIST= ${WRKSRC}/pkg-plist
|
PLIST= ${WRKSRC}/pkg-plist
|
||||||
|
|
||||||
XMLCATBASE= share/xml
|
XMLCATBASE= share/xml
|
||||||
|
@ -40,9 +40,9 @@ ENT_FILES= isoamsa.ent isoamsb.ent isoamsc.ent isoamsn.ent \
|
||||||
isocyr2.ent isodia.ent isogrk1.ent isogrk2.ent \
|
isocyr2.ent isodia.ent isogrk1.ent isogrk2.ent \
|
||||||
isogrk3.ent isogrk4.ent isolat1.ent isolat2.ent \
|
isogrk3.ent isogrk4.ent isolat1.ent isolat2.ent \
|
||||||
isonum.ent isopub.ent isotech.ent
|
isonum.ent isopub.ent isotech.ent
|
||||||
#DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}/${PORTVERSION}
|
|
||||||
|
|
||||||
NO_STAGE= yes
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
pre-install:
|
pre-install:
|
||||||
@${RM} -f ${PLIST}
|
@${RM} -f ${PLIST}
|
||||||
.for F in ${ENT_FILES}
|
.for F in ${ENT_FILES}
|
||||||
|
@ -54,29 +54,21 @@ pre-install:
|
||||||
.endfor
|
.endfor
|
||||||
@${ECHO_CMD} "@dirrm ${DTDDIR}" >> ${PLIST}
|
@${ECHO_CMD} "@dirrm ${DTDDIR}" >> ${PLIST}
|
||||||
@${ECHO_CMD} "@dirrmtry ${XMLCATBASE}/${DTD_NAME}" >> ${PLIST}
|
@${ECHO_CMD} "@dirrmtry ${XMLCATBASE}/${DTD_NAME}" >> ${PLIST}
|
||||||
.ifndef NOPORTDOCS
|
|
||||||
.for F in ${DOC_FILES}
|
.for F in ${DOC_FILES}
|
||||||
@${ECHO_CMD} "${DOCSDIR:S!^${PREFIX}/!!}/${F}.${PORTVERSION}" >> ${PLIST}
|
@${ECHO_CMD} "%%PORTDOCS%%${DOCSDIR:S!^${PREFIX}/!!}/${F}.${PORTVERSION}" >> ${PLIST}
|
||||||
.endfor
|
.endfor
|
||||||
@${ECHO_CMD} "@dirrmtry ${DOCSDIR:S!^${PREFIX}/!!}" >> ${PLIST}
|
@${ECHO_CMD} "%%PORTDOCS%%@dirrmtry ${DOCSDIR:S!^${PREFIX}/!!}" >> ${PLIST}
|
||||||
@${ECHO_CMD} "@dirrmtry ${DOCSDIR:S!^${PREFIX}/!!:S!${PORTNAME}!!}" >> ${PLIST}
|
|
||||||
.endif
|
|
||||||
@${ECHO_CMD} "@exec ${XMLCATMGR} ${REGIST_CAT_FLAGS_XML}" >> ${PLIST}
|
@${ECHO_CMD} "@exec ${XMLCATMGR} ${REGIST_CAT_FLAGS_XML}" >> ${PLIST}
|
||||||
@${ECHO_CMD} "@unexec ${XMLCATMGR} ${UNREGIST_CAT_FLAGS_XML}" >> ${PLIST}
|
@${ECHO_CMD} "@unexec ${XMLCATMGR} ${UNREGIST_CAT_FLAGS_XML}" >> ${PLIST}
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${MKDIR} ${PREFIX}/${DTDDIR}
|
${MKDIR} ${STAGEDIR}${PREFIX}/${DTDDIR}
|
||||||
${INSTALL_DATA} ${DTD_FILES:S!^!${WRKSRC}/!} ${PREFIX}/${DTDDIR}
|
${INSTALL_DATA} ${DTD_FILES:S!^!${WRKSRC}/!} ${STAGEDIR}${PREFIX}/${DTDDIR}
|
||||||
${MKDIR} ${PREFIX}/${ENTDIR}
|
${MKDIR} ${STAGEDIR}${PREFIX}/${ENTDIR}
|
||||||
${INSTALL_DATA} ${ENT_FILES:S!^!${WRKSRC}/ent/!} ${PREFIX}/${ENTDIR}
|
${INSTALL_DATA} ${ENT_FILES:S!^!${WRKSRC}/ent/!} ${STAGEDIR}${PREFIX}/${ENTDIR}
|
||||||
.ifndef NOPORTDOCS
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
${MKDIR} ${DOCSDIR}
|
|
||||||
.for F in ${DOC_FILES}
|
.for F in ${DOC_FILES}
|
||||||
${INSTALL_DATA} ${WRKSRC}/${F} ${DOCSDIR}/${F}.${PORTVERSION}
|
${INSTALL_DATA} ${WRKSRC}/${F} ${STAGEDIR}${DOCSDIR}/${F}.${PORTVERSION}
|
||||||
.endfor
|
.endfor
|
||||||
.endif
|
|
||||||
|
|
||||||
post-install:
|
|
||||||
-${XMLCATMGR} ${REGIST_CAT_FLAGS_XML}
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
Loading…
Reference in a new issue