diff options
Diffstat (limited to 'textproc/gmat/Makefile')
-rw-r--r-- | textproc/gmat/Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/textproc/gmat/Makefile b/textproc/gmat/Makefile index 7b7472cc7b73..73e012249a6f 100644 --- a/textproc/gmat/Makefile +++ b/textproc/gmat/Makefile @@ -14,6 +14,16 @@ MASTER_SITES= ftp://ftp.ora.com/pub/gmat/ MAINTAINER= grog RUN_DEPENDS= ${LOCALBASE}/bin/nsgmls:${PORTSDIR}/textproc/sp \ - ${LOCALBASE}/bin/procmail:${PORTSDIR}/mail/procmail + ${LOCALBASE}/bin/procmail:${PORTSDIR}/mail/procmail \ + ${LOCALBASE}/share/sgml/docbook/3.1/docbook.dtd:${PORTSDIR}/textproc/docbook-310 \ + ${LOCALBASE}/bin/ghostview:${PORTSDIR}/print/ghostview +post-install: + (cd ${WRKSRC}; tar cf - test) | (cd ${LOCALBASE}/share/gmat; tar xvf -) +# Change the pathnames in CATALOG + (cd ${WRKSRC}/test; \ + sed < CATALOG "s:/usr/local/prod/sgml/DocBook:${LOCALBASE}/share/sgml/docbook:g; \ + s:/usr/local/prod:${LOCALBASE}/share/gmat:g" \ + > ${LOCALBASE}/share/gmat/test/CATALOG ) + .include <bsd.port.mk> |