2004-01-05 12:53:39 +01:00
|
|
|
# $NetBSD: Makefile,v 1.23 2004/01/05 12:00:10 jlam Exp $
|
1997-11-19 14:03:40 +01:00
|
|
|
|
|
|
|
DISTNAME= mm2.7
|
2002-05-26 12:42:39 +02:00
|
|
|
PKGNAME= metamail-2.7
|
2003-03-23 14:39:25 +01:00
|
|
|
PKGREVISION= 1
|
2003-03-29 13:40:00 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
1997-11-19 14:03:40 +01:00
|
|
|
CATEGORIES= mail
|
|
|
|
MASTER_SITES= ftp://thumper.bellcore.com/pub/nsb/
|
|
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
|
2003-07-17 23:41:05 +02:00
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
2001-02-17 18:52:59 +01:00
|
|
|
COMMENT= Implementation of MIME, the Multipurpose Internet Mail Extensions
|
1997-11-19 14:03:40 +01:00
|
|
|
|
2002-05-26 12:42:39 +02:00
|
|
|
CONFLICTS+= elm>=2.5.5 mm-2.7
|
2001-07-19 18:22:41 +02:00
|
|
|
|
2004-01-05 12:53:39 +01:00
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
|
|
|
|
USE_BUILDLINK3= YES
|
2003-03-23 14:39:25 +01:00
|
|
|
USE_PKGINSTALL= YES
|
2002-09-23 23:01:43 +02:00
|
|
|
USE_X11= YES
|
1999-02-04 19:58:22 +01:00
|
|
|
|
2003-04-04 21:48:11 +02:00
|
|
|
CFLAGS+= -DPKG_SYSCONFDIR='\\\"${PKG_SYSCONFDIR}\\\"'
|
|
|
|
MAKE_ENV+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR}
|
2003-03-23 14:39:25 +01:00
|
|
|
|
|
|
|
EGDIR= ${PREFIX}/share/examples/metamail
|
|
|
|
CONF_FILES= ${EGDIR}/mailcap ${PKG_SYSCONFDIR}/mailcap
|
|
|
|
|
2004-01-05 12:53:39 +01:00
|
|
|
INSTALLATION_DIRS= bin man/man1 man/man4
|
|
|
|
|
1999-09-03 10:19:11 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if ${OPSYS} == "SunOS"
|
2004-01-05 12:53:39 +01:00
|
|
|
CFLAGS+= -DSYSV
|
1999-09-03 10:19:11 +02:00
|
|
|
.endif
|
|
|
|
|
1998-01-06 03:01:25 +01:00
|
|
|
post-patch:
|
1998-01-24 21:29:42 +01:00
|
|
|
${RM} -f ${WRKDIR}/mm2.7/src/bin/*.orig
|
1998-01-06 03:01:25 +01:00
|
|
|
|
2003-03-23 14:39:25 +01:00
|
|
|
pre-install:
|
|
|
|
${INSTALL_DATA_DIR} ${EGDIR}
|
|
|
|
|
1998-04-15 12:38:15 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|