summaryrefslogtreecommitdiff
path: root/devel/apel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/apel/Makefile')
-rw-r--r--devel/apel/Makefile15
1 files changed, 13 insertions, 2 deletions
diff --git a/devel/apel/Makefile b/devel/apel/Makefile
index 49571e7d9d8..6f252b9e3f5 100644
--- a/devel/apel/Makefile
+++ b/devel/apel/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2001/10/21 09:54:19 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2002/09/14 02:44:36 uebayasi Exp $
DISTNAME= apel-10.3
CATEGORIES= devel
@@ -8,7 +8,18 @@ MAINTAINER= tech-pkg-ja@jp.netbsd.org
HOMEPAGE= http://www.kanji.zinbun.kyoto-u.ac.jp/~tomo/elisp/APEL/
COMMENT= Portable Emacs Library
-DEPENDS+= emacs-20.7:../../editors/emacs
+.include "../../mk/emacs.mk"
+
+.if ${EMACS_FLAVOR} == "emacs"
+ALL_TARGET= elc
+INSTALL_TARGET= install
+PLIST_SRC= ${PKGDIR}/PLIST.emacs
+.else # ${EMACS_FLAVOR} == "xemacs"
+ALL_TARGET= package
+INSTALL_TARGET= install-package
+PLIST_SRC= ${PKGDIR}/PLIST.xemacs
+MAKEFLAGS+= PACKAGEDIR=${EMACS_LISPPREFIX:C|/lisp$||}
+.endif
DOCDIR= ${PREFIX}/share/doc/apel