51 lines
1.5 KiB
Makefile
51 lines
1.5 KiB
Makefile
# $NetBSD: Makefile,v 1.13 2002/05/04 02:32:05 jtb Exp $
|
|
|
|
DISTNAME= vm-7.04
|
|
CATEGORIES= mail
|
|
MASTER_SITES= ftp://ftp.uni-mainz.de/pub/gnu/vm/ \
|
|
ftp://tug.org/vm/ \
|
|
ftp://ftp.uu.net/networking/mail/vm/ \
|
|
ftp://psg.com/pub/vm/ \
|
|
ftp://sunsite.cnlab-switch.ch/mirror/vm/
|
|
|
|
MAINTAINER= packages@netbsd.org
|
|
HOMEPAGE= http://www.wonderworks.com/vm/
|
|
COMMENT= VM (View Mail) is an advanced mail user agent for Emacs
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if defined(USE_XEMACS)
|
|
DEPENDS+= xemacs>=19.14:../../editors/xemacs
|
|
MAKE_ENV+= EMACS=xemacs
|
|
LISPDIR= ${PREFIX}/lib/xemacs/xemacs-packages/lisp/vm
|
|
INFODIR= ${PREFIX}/lib/xemacs/xemacs-packages/info
|
|
PIXMAPDIR= ${PREFIX}/lib/xemacs/xemacs-packages/etc/vm
|
|
BINDIR= ${PREFIX}/bin
|
|
PLIST_SRC= ${PKGDIR}/PLIST.xemacs
|
|
.else
|
|
DEPENDS+= emacs>=19.34:../../editors/emacs
|
|
MAKE_ENV+= EMACS=emacs
|
|
LISPDIR= ${PREFIX}/share/emacs/site-lisp/vm
|
|
INFODIR= ${PREFIX}/info
|
|
PIXMAPDIR= ${PREFIX}/share/emacs/site-lisp/vm/pixmaps
|
|
BINDIR= ${PREFIX}/bin
|
|
INFO_FILES= vm.info
|
|
PLIST_SRC= ${PKGDIR}/PLIST.emacs
|
|
.endif
|
|
|
|
MAKE_ENV+= LISPDIR=${LISPDIR}
|
|
MAKE_ENV+= INFODIR=${INFODIR}
|
|
MAKE_ENV+= PIXMAPDIR=${PIXMAPDIR}
|
|
MAKE_ENV+= BINDIR=${BINDIR}
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${LISPDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} *.el* ${LISPDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/*.info* ${INFODIR}
|
|
${INSTALL_DATA_DIR} ${PIXMAPDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/pixmaps/*.x[pb]m ${PIXMAPDIR}
|
|
cd ${WRKSRC} && ${INSTALL_PROGRAM} qp-decode qp-encode \
|
|
base64-decode base64-encode ${BINDIR}
|
|
|
|
.include "../../mk/texinfo.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|