summaryrefslogtreecommitdiff
path: root/textproc/sp/Makefile
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>1999-03-13 13:57:40 +0000
committerrh <rh@pkgsrc.org>1999-03-13 13:57:40 +0000
commitedefd85474afaa0cf1d20049e5a4d6811a0160ba (patch)
tree7db49e3a79ad35ad7a9c71d5d9599ed645092884 /textproc/sp/Makefile
parent41e25a0c4855b336b44bd35078f699379fe64199 (diff)
downloadpkgsrc-edefd85474afaa0cf1d20049e5a4d6811a0160ba.tar.gz
Initial import of sp-1.3, an SGML system conforming to ISO-8879 as
provided by Martin Laubach (with a few modifications to work under NetBSD-1.3.3 as well as -current) -- thanks!
Diffstat (limited to 'textproc/sp/Makefile')
-rw-r--r--textproc/sp/Makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/textproc/sp/Makefile b/textproc/sp/Makefile
new file mode 100644
index 00000000000..5e24c8e5b0c
--- /dev/null
+++ b/textproc/sp/Makefile
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/03/13 13:57:40 rh Exp $
+#
+
+DISTNAME= sp-1.3
+CATEGORIES= textproc
+MASTER_SITES= ftp://ftp.jclark.com/pub/sp/ \
+ ftp://ftp.funet.fi/pub/mirrors/ftp.jclark.com/pub/sp/ \
+ ftp://ftp.tu-darmstadt.de/pub/text/sgml/sp/ \
+ ftp://ftp.mch.sni.de/pub/infosystems/www/misc/SP/ \
+ ftp://ftp.mc.hik.se/pub/unix/webtools/sgml/ \
+ ftp://ftp.u-aizu.ac.jp/pub/lang/sgml/sp/ \
+ ftp://ftp.oce.nl/pub/Internet/sgml/sp/
+
+MAINTAINER= mjl@emsi.priv.at
+HOMEPAGE= http://www.jclark.com/sp/
+
+MAKE_ENV+= INSTALL="${INSTALL}"
+
+post-install:
+ ${MKDIR} ${PREFIX}/share/doc/sp ${PREFIX}/share/sp/dtd
+ cd ${WRKSRC}/doc; for n in *.htm ; do ${INSTALL_DATA} $$n ${PREFIX}/share/doc/sp/$n ; done
+ cd ${WRKSRC}/pubtext; for n in * ; do ${INSTALL_DATA} $$n ${PREFIX}/share/sp/dtd/$n ; done
+ ${ECHO} "CATALOG ${PREFIX}/share/sp/dtd/html.soc" > ${PREFIX}/share/sp/catalog
+
+GCC_VERSION!= ${CC} --version
+
+post-patch:
+.if (${GCC_VERSION:C/-.*$$//} == egcs)
+ @cd ${WRKSRC};
+ for FILE in ${PATCHDIR}/egcs-patch-*; do \
+ ${PATCH} ${PATCH_ARGS} <$$FILE; \
+ done
+.endif
+
+.include "../../mk/bsd.pkg.mk"