pkgsrc/mail/elm/Makefile

36 lines
1 KiB
Makefile
Raw Normal View History

2003-07-17 23:41:05 +02:00
# $NetBSD: Makefile,v 1.28 2003/07/17 21:45:54 grant Exp $
1998-01-23 13:19:45 +01:00
DISTNAME= elm2.5.5
2003-07-13 15:50:19 +02:00
PKGREVISION= 2
PKGNAME= elm-2.5.5
CATEGORIES= mail
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
HOMEPAGE= http://www.instinct.org/elm/
COMMENT= ELM Mail User Agent (without ME extensions)
1998-01-23 13:19:45 +01:00
CONFLICTS+= mm-[0-9]*
CONFLICTS+= elm-me-[0-9]*
DEPENDS+= metamail>=2.7:../../mail/metamail
2002-10-22 00:10:04 +02:00
USE_BUILDLINK2= YES
HAS_CONFIGURE= YES
CONFIGURE_SCRIPT= ./Configure
CONFIGURE_ARGS+= -d
1999-10-25 16:38:39 +02:00
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
1998-01-23 13:19:45 +01:00
2002-10-22 00:10:04 +02:00
.include "../../devel/gettext-lib/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"