2004-12-03 16:14:50 +01:00
|
|
|
# $NetBSD: Makefile,v 1.11 2004/12/03 15:14:54 wiz Exp $
|
2001-02-20 09:33:59 +01:00
|
|
|
|
2003-09-01 16:51:00 +02:00
|
|
|
DISTNAME= apel-10.6
|
2001-02-20 09:33:59 +01:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= ftp://ftp.m17n.org/pub/mule/apel/
|
|
|
|
|
2003-07-17 23:21:03 +02:00
|
|
|
MAINTAINER= tech-pkg-ja@jp.NetBSD.org
|
2001-02-20 09:33:59 +01:00
|
|
|
HOMEPAGE= http://www.kanji.zinbun.kyoto-u.ac.jp/~tomo/elisp/APEL/
|
|
|
|
COMMENT= Portable Emacs Library
|
|
|
|
|
2003-01-11 10:28:47 +01:00
|
|
|
#CONFLICTS+= apel-*
|
|
|
|
#CONFLICTS+= xemacs-apel-*
|
|
|
|
|
2004-03-25 04:16:25 +01:00
|
|
|
PLIST_SRC= ${PKGDIR}/PLIST.${EMACS_FLAVOR}
|
|
|
|
|
2003-01-11 10:28:47 +01:00
|
|
|
MAKE_FLAGS+= EMACS=${EMACS_FLAVOR}
|
|
|
|
MAKE_FLAGS+= LISPDIR=${EMACS_LISPPREFIX}
|
|
|
|
MAKE_FLAGS+= VERSION_SPECIFIC_LISPDIR=${EMACS_LISPPREFIX}
|
|
|
|
|
2004-05-08 15:35:20 +02:00
|
|
|
EMACS_VERSIONS_ACCEPTED= emacs21 emacs21nox emacs20 xemacs214 xemacs215
|
2003-08-18 15:12:47 +02:00
|
|
|
|
|
|
|
.include "../../mk/emacs.mk"
|
2003-01-11 10:28:47 +01:00
|
|
|
|
2002-09-14 04:44:36 +02:00
|
|
|
.if ${EMACS_FLAVOR} == "emacs"
|
2004-12-03 16:14:50 +01:00
|
|
|
BUILD_TARGET= elc
|
2002-09-14 04:44:36 +02:00
|
|
|
INSTALL_TARGET= install
|
|
|
|
.else # ${EMACS_FLAVOR} == "xemacs"
|
2004-12-03 16:14:50 +01:00
|
|
|
BUILD_TARGET= package
|
2002-09-14 04:44:36 +02:00
|
|
|
INSTALL_TARGET= install-package
|
2003-01-11 10:28:47 +01:00
|
|
|
MAKE_FLAGS+= PACKAGEDIR=${EMACS_LISPPREFIX:C|/lisp$||}
|
2002-09-14 04:44:36 +02:00
|
|
|
.endif
|
2001-02-20 09:33:59 +01:00
|
|
|
|
2001-10-21 11:54:19 +02:00
|
|
|
DOCDIR= ${PREFIX}/share/doc/apel
|
|
|
|
|
2003-01-11 10:28:47 +01:00
|
|
|
.if ${EMACS_FLAVOR} == "emacs"
|
2001-10-21 11:54:19 +02:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${DOCDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.en ${DOCDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.ja ${DOCDIR}
|
2003-01-11 10:28:47 +01:00
|
|
|
.endif
|
2001-10-21 11:54:19 +02:00
|
|
|
|
2001-02-20 09:33:59 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|