pkgsrc/mail/elm/Makefile

50 lines
1.3 KiB
Makefile
Raw Normal View History

2016-02-25 16:00:50 +01:00
# $NetBSD: Makefile,v 1.50 2016/02/25 15:00:50 jperkin Exp $
1998-01-23 13:19:45 +01:00
DISTNAME= elm2.5.8
PKGNAME= elm-2.5.8
PKGREVISION= 4
CATEGORIES= mail
2009-06-13 00:56:03 +02:00
MASTER_SITES= http://www.instinct.org/elm/files/tarballs/
1998-01-23 13:19:45 +01:00
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.instinct.org/elm/
COMMENT= ELM Mail User Agent (without ME extensions)
1998-01-23 13:19:45 +01:00
MAKE_JOBS_SAFE= no
2005-08-22 15:15:05 +02:00
DEPENDS+= metamail>=2.7:../../mail/metamail
CONFLICTS+= mm-[0-9]*
CONFLICTS+= elm-me-[0-9]*
HAS_CONFIGURE= YES
CONFIGURE_SCRIPT= ./Configure
CONFIGURE_ARGS+= -d
CONFIGURE_ENV+= DESTDIR=${DESTDIR}
USE_TOOLS+= nroff
1999-10-25 16:38:39 +02:00
2007-04-04 15:01:23 +02:00
INSTALLATION_DIRS= share/nls/C
2016-02-25 16:00:50 +01:00
OPSYSVARS+= LIBC
LIBC.Darwin= /usr/lib/libSystem.dylib
LIBC.*= /usr/lib/libc.so
SPECIAL_PERMS+= bin/elm ${ROOT_USER} mail 2755
pre-configure:
${CP} ${FILESDIR}/config.sh ${WRKSRC}/config.sh.orig
${SED} -e 's:@PREFIX@:${PREFIX}:g' \
-e 's:@DESTDIR@:${DESTDIR}:g' \
-e 's:@LOCALBASE@:${LOCALBASE}:g' \
-e 's:@LIBC@:${LIBC}:g' \
2006-01-19 15:51:38 +01:00
${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
1998-01-23 13:19:45 +01:00
post-install:
${LN} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/frm.1 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/nfrm.1
2004-04-21 06:58:19 +02:00
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"