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.2 KiB
Makefile
42 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.4 2001/09/27 23:18:20 jlam Exp $
|
|
# FreeBSD: Makefile,v 1.42 1997/12/24 01:21:07 alex Exp
|
|
#
|
|
|
|
DISTNAME= elm-2.4ME+93
|
|
PKGNAME= elm-me-2.4.93
|
|
CATEGORIES= mail
|
|
MASTER_SITES= ftp://ftp.ozone.fmi.fi/KEH/ \
|
|
ftp://ftp.funet.fi/pub/unix/mail/elm/elm-2.4ME+/ \
|
|
ftp://ftp.ibp.fr/pub/unix/mail/elm-me/
|
|
|
|
MAINTAINER= packages@netbsd.org
|
|
HOMEPAGE= http://www.instinct.org/elm/
|
|
COMMENT= ELM Mail User Agent with ME extensions
|
|
|
|
CONFLICTS= elm-[0-9]*
|
|
|
|
USE_BUILDLINK_ONLY= YES
|
|
HAS_CONFIGURE= YES
|
|
CONFIGURE_SCRIPT= ksh ./Configure
|
|
CONFIGURE_ENV= PREFIX="${PREFIX}" RUN_AS_BATCH=yes
|
|
CONFIGURE_ARGS= -S
|
|
|
|
WRKSRC= ${WRKDIR}/elm2.4.ME+.93
|
|
|
|
pre-configure:
|
|
${CP} ${FILESDIR}/config.sh ${WRKSRC}/
|
|
${MV} ${WRKSRC}/nls/LANGS ${WRKSRC}/nls/LANGS.tmpl
|
|
${SED} -e 's:__PREFIX:'${PREFIX}':g'< ${WRKSRC}/nls/LANGS.tmpl > ${WRKSRC}/nls/LANGS
|
|
|
|
post-install:
|
|
cd ${WRKSRC}/nls; ${MAKE} install
|
|
if [ -f ${PREFIX}/lib/elm.mimetypes ] ; then \
|
|
${INSTALL_DATA} \
|
|
${FILESDIR}/elm.mimetypes ${PREFIX}/lib/elm.mimetypes-dist; \
|
|
else \
|
|
${INSTALL_DATA} \
|
|
${FILESDIR}/elm.mimetypes ${PREFIX}/lib; \
|
|
fi
|
|
|
|
.include "../../devel/gettext-lib/buildlink.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|