f79573370a
foo-* to foo-[0-9]*. This is to cause the dependencies to match only the packages whose base package name is "foo", and not those named "foo-bar". A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net. Also change dependency examples in Packages.txt to reflect this.
42 lines
1.3 KiB
Makefile
42 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.9 2001/09/27 23:18:47 jlam Exp $
|
|
#
|
|
|
|
DISTNAME= sp-1.3.4
|
|
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/
|
|
COMMENT= SGML System Conforming to International Standard ISO 8879
|
|
|
|
CONFLICTS+= jade-[0-9]*
|
|
CONFLICTS+= opensp-[0-9]*
|
|
|
|
MAKE_ENV+= INSTALL="${INSTALL}"
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/sp ${PREFIX}/share/sgml/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/sgml/dtd/$n ; done
|
|
cd ${WRKSRC}/lib; ${INSTALL_DATA} libsp.a ${PREFIX}/lib/libsp.a
|
|
${ECHO} "CATALOG ${PREFIX}/share/sgml/dtd/html.soc" > ${PREFIX}/share/sgml/catalog
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
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"
|