4c2c6626a9
(which doesn't work on solaris).
34 lines
1 KiB
Makefile
34 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.23 2002/10/27 15:33:23 bouyer 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)
|
|
|
|
USE_BUILDLINK2= YES
|
|
|
|
CONFLICTS+= mm-[0-9]* metamail-[0-9]*
|
|
CONFLICTS+= elm-me-[0-9]*
|
|
|
|
USE_BUILDLINK2= YES
|
|
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.tmp2
|
|
${SED} -e 's:@CC@:'${BUILDLINK_CC}':g' \
|
|
${WRKSRC}/config.sh.tmp2 > ${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/buildlink2.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|