pkgsrc/mail/elm/Makefile
2009-06-30 00:07:09 +00:00

45 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.44 2009/06/30 00:07:19 joerg Exp $
DISTNAME= elm2.5.8
PKGNAME= elm-2.5.8
PKGREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://www.instinct.org/elm/files/tarballs/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.instinct.org/elm/
COMMENT= ELM Mail User Agent (without ME extensions)
MAKE_JOBS_SAFE= no
DEPENDS+= metamail>=2.7:../../mail/metamail
CONFLICTS+= mm-[0-9]*
CONFLICTS+= elm-me-[0-9]*
HAS_CONFIGURE= YES
CONFIGURE_SCRIPT= ./Configure
CONFIGURE_ARGS+= -d
USE_TOOLS= nroff
INSTALLATION_DIRS= share/nls/C
.include "../../mk/bsd.prefs.mk"
.if (${OPSYS} == Darwin)
LIBC= /usr/lib/libSystem.dylib
.else
LIBC= /usr/lib/libc.so
.endif
pre-configure:
${CP} ${FILESDIR}/config.sh ${WRKSRC}/config.sh.orig
${SED} -e 's:PREFIX:${PREFIX}:g' \
-e 's:LOCALBASE:${LOCALBASE}:g' \
-e 's:LIBC:${LIBC}:g' \
${WRKSRC}/config.sh.orig > ${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/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"