aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-02-17 16:10:03 +0800
committermiwi <miwi@FreeBSD.org>2014-02-17 16:10:03 +0800
commit6d6b0d8d36080de129107e351fc37231291c9eb8 (patch)
tree1bcbba736ad863fc06ab90c8ab9d47e141a4f08b
parentda4e79687b7faaf743c139020c5b6a477c2892bf (diff)
downloadfreebsd-ports-gnome-6d6b0d8d36080de129107e351fc37231291c9eb8.tar.gz
freebsd-ports-gnome-6d6b0d8d36080de129107e351fc37231291c9eb8.tar.zst
freebsd-ports-gnome-6d6b0d8d36080de129107e351fc37231291c9eb8.zip
- Stage support
-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