summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruebayasi <uebayasi>2007-10-29 12:55:43 +0000
committeruebayasi <uebayasi>2007-10-29 12:55:43 +0000
commit3059bf69e56de8f58bb5c1083cfd156254c4705b (patch)
tree71aeecebe04c37f46c9d38873ab8a29aa1ab3039
parent2e94616fc9b49b281d930f48ce868ce3a34d1a5e (diff)
downloadpkgsrc-3059bf69e56de8f58bb5c1083cfd156254c4705b.tar.gz
Buildlink3'ify. Sort definitions.
No functional change intended.
-rw-r--r--devel/flim/Makefile31
1 files changed, 16 insertions, 15 deletions
diff --git a/devel/flim/Makefile b/devel/flim/Makefile
index a0bedfe12c6..931067cc527 100644
--- a/devel/flim/Makefile
+++ b/devel/flim/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2007/02/20 12:42:37 uebayasi Exp $
+# $NetBSD: Makefile,v 1.26 2007/10/29 12:55:43 uebayasi Exp $
DISTNAME= flim-1.14.7
PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME}
@@ -10,28 +10,26 @@ MAINTAINER= tech-pkg-ja@jp.NetBSD.org
HOMEPAGE= http://www.m17n.org/FLIM/
COMMENT= Emacs lisp library for message representation/encoding
-EMACS_VERSIONS_ACCEPTED= emacs22 emacs22nox emacs21 emacs21nox emacs20 xemacs214 xemacs215
-EMACS_MODULES= base
-
-.include "../../mk/emacs.mk"
-
BUILD_DEPENDS+= qkc-[0-9]*:../../converters/qkc
-.if ${EMACS_FLAVOR} == "emacs"
-DEPENDS+= ${EMACS_PKGNAME_PREFIX}apel>=9.22:../../devel/apel
-BUILD_TARGET= elc
-INSTALL_TARGET= install
-.else # ${EMACS_FLAVOR} == "xemacs"
-BUILD_TARGET= package
-INSTALL_TARGET= install-package
-MAKEFLAGS+= PACKAGEDIR=${EMACS_LISPPREFIX:C|/lisp$||}
-.endif
+BUILD_TARGET= ${BUILD_TARGET.${EMACS_TYPE}}
+INSTALL_TARGET= ${INSTALL_TARGET.${EMACS_TYPE}}
+MAKEFLAGS= ${MAKEFLAGS.${EMACS_TYPE}}
EVAL_PREFIX+= QKC_PREFIX=qkc
USE_TOOLS+= makeinfo
INFO_FILES= # PLIST
TEXINFO_REQD= 4.5
+BUILD_TARGET.emacs= elc
+BUILD_TARGET.xemacs= package
+INSTALL_TARGET.emacs= install
+INSTALL_TARGET.xemacs= install-package
+MAKEFLAGS.emacs+=
+MAKEFLAGS.xemacs+= PACKAGEDIR=${EMACS_LISPPREFIX:C|/lisp$||}
+
+EMACS_MODULES= base
+
post-build:
@cd ${WRKSRC}; for i in mime-en mime-ja; do \
${RM} -f $${i}.info*; \
@@ -46,4 +44,7 @@ post-install:
${INSTALL_DATA} "$$f" ${EMACS_INFOPREFIX}; \
done
+.include "../../mk/emacs.mk"
+
+.include "../../devel/apel/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"