2005-04-11 23:44:48 +02:00
|
|
|
# $NetBSD: Makefile,v 1.33 2005/04/11 21:46:18 tv Exp $
|
1998-01-23 13:19:45 +01:00
|
|
|
|
2005-02-05 23:16:32 +01:00
|
|
|
DISTNAME= elm2.5.7
|
|
|
|
PKGREVISION= # empty
|
|
|
|
PKGNAME= elm-2.5.7
|
1998-04-20 13:56:17 +02:00
|
|
|
CATEGORIES= mail
|
2001-07-18 22:04:11 +02:00
|
|
|
MASTER_SITES= ftp://ftp.virginia.edu/pub/elm/
|
1998-01-23 13:19:45 +01:00
|
|
|
|
2003-07-17 23:41:05 +02:00
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
2001-07-18 22:04:11 +02:00
|
|
|
HOMEPAGE= http://www.instinct.org/elm/
|
|
|
|
COMMENT= ELM Mail User Agent (without ME extensions)
|
1998-01-23 13:19:45 +01:00
|
|
|
|
2003-04-23 16:36:36 +02:00
|
|
|
CONFLICTS+= mm-[0-9]*
|
2001-09-28 01:17:41 +02:00
|
|
|
CONFLICTS+= elm-me-[0-9]*
|
2001-01-13 20:35:37 +01:00
|
|
|
|
2003-04-23 16:36:36 +02:00
|
|
|
DEPENDS+= metamail>=2.7:../../mail/metamail
|
|
|
|
|
2001-07-18 22:04:11 +02:00
|
|
|
HAS_CONFIGURE= YES
|
2000-03-27 10:54:53 +02:00
|
|
|
CONFIGURE_SCRIPT= ./Configure
|
2001-07-18 22:04:11 +02:00
|
|
|
CONFIGURE_ARGS+= -d
|
1999-10-25 16:38:39 +02:00
|
|
|
|
1998-04-20 13:56:17 +02:00
|
|
|
pre-configure:
|
2001-07-18 22:04:11 +02:00
|
|
|
${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' \
|
2002-10-27 16:33:23 +01:00
|
|
|
${WRKSRC}/config.sh.tmp > ${WRKSRC}/config.sh.tmp2
|
2004-02-08 05:03:14 +01:00
|
|
|
${SED} -e 's:@CC@:'${CC}':g' \
|
2002-10-27 16:33:23 +01:00
|
|
|
${WRKSRC}/config.sh.tmp2 > ${WRKSRC}/config.sh
|
1998-01-23 14:17:11 +01:00
|
|
|
${MV} ${WRKSRC}/nls/LANGS ${WRKSRC}/nls/LANGS.tmpl
|
2001-07-18 22:04:11 +02:00
|
|
|
${SED} -e 's:__PREFIX:'${PREFIX}':g' < ${WRKSRC}/nls/LANGS.tmpl > ${WRKSRC}/nls/LANGS
|
1998-01-23 13:19:45 +01:00
|
|
|
|
2004-04-21 06:58:19 +02:00
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
1998-04-15 12:38:15 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|