aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2014-02-17 08:10:03 +0000
committerMartin Wilke <miwi@FreeBSD.org>2014-02-17 08:10:03 +0000
commit0d2aaae816a8e6108fc1abcd824484bc9cff9cc3 (patch)
tree1bcbba736ad863fc06ab90c8ab9d47e141a4f08b
parent364b6f2417b394ac5761d28235462acb1daf0a9d (diff)
downloadports-0d2aaae816a8e6108fc1abcd824484bc9cff9cc3.tar.gz
ports-0d2aaae816a8e6108fc1abcd824484bc9cff9cc3.zip
- Stage support
Notes
Notes: svn path=/head/; revision=344707
-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