cc96d2e0cc
- Correct permission of font files by using BSD_INSTALL_*. - Use symlinks instead of copying the same file with different names. Bump PKGREVISION.
43 lines
1 KiB
Makefile
43 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.30 2004/06/17 20:56:56 minskim Exp $
|
|
|
|
DISTNAME= mm2.7
|
|
PKGNAME= metamail-2.7
|
|
PKGREVISION= 6
|
|
CATEGORIES= mail
|
|
MASTER_SITES= ftp://thumper.bellcore.com/pub/nsb/
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
COMMENT= Implementation of MIME, the Multipurpose Internet Mail Extensions
|
|
|
|
CONFLICTS+= elm>=2.5.5 mm-2.7
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
|
USE_BUILDLINK3= YES
|
|
USE_PKGINSTALL= YES
|
|
|
|
CFLAGS+= -DPKG_SYSCONFDIR='\\\"${PKG_SYSCONFDIR}\\\"'
|
|
CFLAGS.Linux+= -DLINUX
|
|
CFLAGS.SunOS+= -DSYSV
|
|
MAKE_ENV+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR} CHMOD=${CHMOD} SED=${SED}
|
|
|
|
EGDIR= ${PREFIX}/share/examples/metamail
|
|
CONF_FILES= ${EGDIR}/mailcap ${PKG_SYSCONFDIR}/mailcap
|
|
|
|
INSTALLATION_DIRS= bin man/man1 man/man4
|
|
|
|
SUBST_CLASSES+= awk
|
|
SUBST_STAGE.awk= post-patch
|
|
SUBST_MESSAGE.awk= Adjusting the path to awk
|
|
SUBST_FILES.awk= bin/sun2mime
|
|
SUBST_SED.awk= -e "s|/bin/nawk|${AWK}|"
|
|
|
|
post-patch:
|
|
${RM} -f ${WRKDIR}/mm2.7/src/bin/*.orig
|
|
|
|
pre-install:
|
|
${INSTALL_DATA_DIR} ${EGDIR}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|