2017-08-19 02:20:25 +02:00
|
|
|
# $NetBSD: Makefile,v 1.52 2017/08/19 00:20:25 jlam Exp $
|
1998-01-23 13:19:45 +01:00
|
|
|
|
2005-08-22 14:40:12 +02:00
|
|
|
DISTNAME= elm2.5.8
|
|
|
|
PKGNAME= elm-2.5.8
|
2016-05-17 12:32:06 +02:00
|
|
|
PKGREVISION= 5
|
1998-04-20 13:56:17 +02:00
|
|
|
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
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@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
|
|
|
|
2009-06-30 02:07:09 +02:00
|
|
|
MAKE_JOBS_SAFE= no
|
|
|
|
|
2005-08-22 15:15:05 +02:00
|
|
|
DEPENDS+= metamail>=2.7:../../mail/metamail
|
|
|
|
|
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
|
|
|
|
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
|
2010-04-15 08:50:46 +02:00
|
|
|
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
|
2006-02-06 15:37:43 +01:00
|
|
|
|
2016-05-17 12:32:06 +02:00
|
|
|
SPECIAL_PERMS+= bin/elm ${REAL_ROOT_USER} mail 2755
|
2010-04-15 08:50:46 +02:00
|
|
|
|
1998-04-20 13:56:17 +02:00
|
|
|
pre-configure:
|
2010-04-15 08:50:46 +02:00
|
|
|
${SED} -e 's:@PREFIX@:${PREFIX}:g' \
|
|
|
|
-e 's:@DESTDIR@:${DESTDIR}:g' \
|
|
|
|
-e 's:@LOCALBASE@:${LOCALBASE}:g' \
|
2017-08-19 02:20:25 +02:00
|
|
|
-e 's:@PKGMANDIR@:${PKGMANDIR}:g' \
|
2010-04-15 08:50:46 +02:00
|
|
|
-e 's:@LIBC@:${LIBC}:g' \
|
2017-08-19 02:20:25 +02:00
|
|
|
${FILESDIR}/config.sh > ${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
|
|
|
|
2010-04-15 08:50:46 +02: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"
|
1998-04-15 12:38:15 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|