2009-08-06 03:44:45 +02:00
|
|
|
# $NetBSD: Makefile,v 1.12 2009/08/06 01:44:54 minskim Exp $
|
2002-11-27 04:29:47 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= rmail-mime-1.13.0
|
2005-08-28 06:25:28 +02:00
|
|
|
PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME}
|
2009-08-06 03:44:45 +02:00
|
|
|
PKGREVISION= 2
|
2002-11-27 04:29:47 +01:00
|
|
|
CATEGORIES= mail
|
|
|
|
MASTER_SITES= ftp://ftp.m17n.org/pub/mule/semi/rmail-mime/
|
|
|
|
|
2009-03-17 22:40:44 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2002-11-27 04:29:47 +01:00
|
|
|
COMMENT= MIME-capabilities for RMAIL in Emacs
|
|
|
|
|
2005-12-05 21:49:47 +01:00
|
|
|
DEPENDS+= ${EMACS_PKGNAME_PREFIX}semi>=1.14.4:../../devel/semi
|
2002-11-27 04:29:47 +01:00
|
|
|
|
2008-03-04 18:57:17 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2008-10-11 11:31:54 +02:00
|
|
|
.include "../../editors/emacs/modules.mk"
|
2002-11-27 04:29:47 +01:00
|
|
|
|
2002-12-10 20:21:56 +01:00
|
|
|
SITE_LISP= ${EMACS_LISPPREFIX:C|^${PREFIX}/||}
|
2005-12-05 21:49:47 +01:00
|
|
|
PLIST_SUBST+= SITE_LISP=${SITE_LISP:Q}
|
2002-11-27 04:29:47 +01:00
|
|
|
|
|
|
|
do-build:
|
2002-12-10 20:21:56 +01:00
|
|
|
cd ${WRKSRC}; ${EMACS_BIN} --no-init-file --no-site-file -batch \
|
2002-12-13 16:03:11 +01:00
|
|
|
-f batch-byte-compile rmail-mime.el
|
2002-11-27 04:29:47 +01:00
|
|
|
|
|
|
|
do-install:
|
2008-03-04 18:57:17 +01:00
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/${SITE_LISP}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/rmail-mime.el ${DESTDIR}${EMACS_LISPPREFIX}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/rmail-mime.elc ${DESTDIR}${EMACS_LISPPREFIX}
|
2002-11-27 04:29:47 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|