diff options
author | Gabor Kovesdan <gabor@FreeBSD.org> | 2009-02-25 19:16:55 +0000 |
---|---|---|
committer | Gabor Kovesdan <gabor@FreeBSD.org> | 2009-02-25 19:16:55 +0000 |
commit | aae0490af71fa1ccb79a0358b64c468e75c8f1b1 (patch) | |
tree | c1c35aff51fced8b8e4e9f6bb78a1016056fe638 /textproc/docbook-450 | |
parent | 2666b54c71ff283304d29f6691f8c8af8e5240ef (diff) |
Notes
Diffstat (limited to 'textproc/docbook-450')
-rw-r--r-- | textproc/docbook-450/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/textproc/docbook-450/Makefile b/textproc/docbook-450/Makefile index bd07c547bd8a..3c5bda408fa9 100644 --- a/textproc/docbook-450/Makefile +++ b/textproc/docbook-450/Makefile @@ -39,7 +39,7 @@ DTDDIR= ${SGMLCATBASE}/${DTD_NAME}/${DTD_VERSION} DTD_FILES= calstblx.dtd catalog.xml dbcentx.mod dbgenent.mod \ dbhierx.mod dbnotnx.mod dbpoolx.mod docbook.cat docbook.dcl \ docbook.dtd docbookx.dtd htmltblx.mod soextblx.dtd catalog -DOCSDIR= ${PREFIX}/share/${PORTNAME}/${PORTVERSION} +DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}/${PORTVERSION} post-extract: ${CP} ${WRKSRC}/docbook.cat ${WRKSRC}/catalog @@ -58,6 +58,8 @@ pre-install: ${ECHO_CMD} "${DOCSDIR:S,^${PREFIX}/,,}/$${F}"; \ done;\ ${ECHO_CMD} "@dirrm ${DOCSDIR:S,^${PREFIX}/,,}" ) >> ${PLIST} + ${ECHO_CMD} "@dirrm ${DOCSDIR:S!^${PREFIX}/!!:S!${PORTVERSION}!!}" >> ${PLIST} + ${ECHO_CMD} "@dirrmtry ${DOCSDIR:S!^${PREFIX}/!!:S!${PORTNAME}${PORTVERSION}!!}" >> ${PLIST} .endif ${ECHO_CMD} "@exec ${XMLCATMGR} ${REGIST_CAT_FLAGS_SGML}" >> ${PLIST} ${ECHO_CMD} "@unexec ${XMLCATMGR} ${UNREGIST_CAT_FLAGS_SGML}" >> ${PLIST} |