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.
29 lines
886 B
Makefile
29 lines
886 B
Makefile
# $NetBSD: Makefile,v 1.20 2001/09/27 23:18:20 jlam Exp $
|
|
|
|
DISTNAME= elm2.5.5
|
|
PKGNAME= elm-2.5.5
|
|
CATEGORIES= mail
|
|
MASTER_SITES= ftp://ftp.virginia.edu/pub/elm/
|
|
|
|
MAINTAINER= packages@netbsd.org
|
|
HOMEPAGE= http://www.instinct.org/elm/
|
|
COMMENT= ELM Mail User Agent (without ME extensions)
|
|
|
|
CONFLICTS+= mm-[0-9]*
|
|
CONFLICTS+= elm-me-[0-9]*
|
|
|
|
HAS_CONFIGURE= YES
|
|
CONFIGURE_SCRIPT= ./Configure
|
|
CONFIGURE_ARGS+= -d
|
|
|
|
pre-configure:
|
|
${CP} ${FILESDIR}/config.sh ${WRKSRC}/config.sh.orig
|
|
${SED} -e 's:PREFIX:'${PREFIX}':g' \
|
|
${WRKSRC}/config.sh.orig > ${WRKSRC}/config.sh.tmp
|
|
${SED} -e 's:LOCALBASE:'${LOCALBASE}':g' \
|
|
${WRKSRC}/config.sh.tmp > ${WRKSRC}/config.sh
|
|
${MV} ${WRKSRC}/nls/LANGS ${WRKSRC}/nls/LANGS.tmpl
|
|
${SED} -e 's:__PREFIX:'${PREFIX}':g' < ${WRKSRC}/nls/LANGS.tmpl > ${WRKSRC}/nls/LANGS
|
|
|
|
.include "../../devel/gettext-lib/buildlink.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|