aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--textproc/openjade/Makefile5
-rw-r--r--textproc/openjade/pkg-plist1
2 files changed, 2 insertions, 4 deletions
diff --git a/textproc/openjade/Makefile b/textproc/openjade/Makefile
index 89a9786b4987..fb1854a63afd 100644
--- a/textproc/openjade/Makefile
+++ b/textproc/openjade/Makefile
@@ -26,10 +26,8 @@ PLIST_SUB= XMLCATMGR=${XMLCATMGR} \
CATALOG_PORTS_SGML= ${PREFIX}/share/sgml/catalog.ports
XMLCATMGR= ${LOCALBASE}/bin/xmlcatmgr
-MAN1= openjade.1
DATADIR= ${PREFIX}/share/sgml/openjade
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|<iostream.h>|<iostream>|' ${WRKSRC}/style/MultiLineInlineNote.cxx
@@ -40,9 +38,8 @@ post-install:
${AWK} '/^@comment INSTALL_DATA:/ \
{printf "if ! ${GREP} -q \"%s\" ${PLIST}; then ${ECHO_CMD} \"%s\" >> %s; fi; %s %s/%s %s/%s\n", \
$$4, $$4, "${TMPPLIST}", "${INSTALL_DATA}", \
- "${WRKSRC}", $$3, "${PREFIX}", $$4}' | \
+ "${WRKSRC}", $$3, "${STAGEDIR}${PREFIX}", $$4}' | \
${SH}
- @${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG openjade/catalog
.include <bsd.port.pre.mk>
diff --git a/textproc/openjade/pkg-plist b/textproc/openjade/pkg-plist
index cb8ec9754156..86760d86f195 100644
--- a/textproc/openjade/pkg-plist
+++ b/textproc/openjade/pkg-plist
@@ -48,3 +48,4 @@ lib/libostyle.so.0
@comment INSTALL_DATA: dsssl/spsanch.sgml %%DATADIR%%/spsanch.sgml
@comment INSTALL_DATA: dsssl/style-sheet.dtd %%DATADIR%%/style-sheet.dtd
@exec %%XMLCATMGR%% -sc %%CATALOG_PORTS_SGML%% add CATALOG openjade/catalog
+man/man1/openjade.1.gz