summaryrefslogtreecommitdiffstats
path: root/editors/flim113-xemacs21-mule/Makefile
diff options
context:
space:
mode:
authorshige <shige@FreeBSD.org>2000-07-13 05:19:02 +0000
committershige <shige@FreeBSD.org>2000-07-13 05:19:02 +0000
commitfbd37084c68ad0b53f18cd8876ba782dcfd93869 (patch)
tree1da1cd04ce107dfaa7b113f8ea1014b33ee497e6 /editors/flim113-xemacs21-mule/Makefile
parent439019b61af7f05c3f573f0fec3e297b89488f15 (diff)
downloadFreeBSD-ports-fbd37084c68ad0b53f18cd8876ba782dcfd93869.zip
FreeBSD-ports-fbd37084c68ad0b53f18cd8876ba782dcfd93869.tar.gz
Convert into EMACS_PORT_NAME style port.
Diffstat (limited to 'editors/flim113-xemacs21-mule/Makefile')
-rw-r--r--editors/flim113-xemacs21-mule/Makefile20
1 files changed, 7 insertions, 13 deletions
diff --git a/editors/flim113-xemacs21-mule/Makefile b/editors/flim113-xemacs21-mule/Makefile
index dd982bd..3849d43 100644
--- a/editors/flim113-xemacs21-mule/Makefile
+++ b/editors/flim113-xemacs21-mule/Makefile
@@ -13,28 +13,22 @@ PORTCLASS= slave
MASTERDIR= ${.CURDIR}/../../editors/flim-emacs-current
# emacs port setup
-EMACS_NAME= xemacs
-EMACS_PORT= xemacs21-mule
-EMACS_VER= 21.1.10
-EMACS_CMD= ${PREFIX}/bin/${EMACS_PORT}
-EMACS_PACKAGESDIR= lib/${EMACS_NAME}/site-packages
+EMACS_PORT_NAME= xemacs21-mule
+EMACS_PACKAGESDIR= ${EMACS_LIBDIR}/site-packages
# packages-subdirectories which this port requires
EMACS_PACKAGES_SUBDIRS= info lisp man pkginfo
+SCRIPTS_ENV= EMACS_PACKAGESDIR=${EMACS_PACKAGESDIR}
+PLIST_SUB= EMACS_PACKAGESDIR=${EMACS_PACKAGESDIR}
+
# how to make and install
ALL_TARGET= package
INSTALL_TARGET= install-package
-# RUN_DEPENDS port name's suffix is '-common'.
-HAS_COMMON_PORT= YES
-
-# whether emacs has mule feature
-HAS_MULE= YES
-
# whether building info files by emacs or makeinfo
BUILD_INFO_BY_EMACS= YES
# texinfo packages
-BUILD_DEPENDS+= ${PREFIX}/${EMACS_PACKAGESDIR}/../xemacs-packages/lisp/texinfo/texinfo.el:${PORTSDIR}/editors/xemacs-sumo-packages
+BUILD_DEPENDS+= ${LOCALBASE}/${EMACS_PACKAGESDIR}/../xemacs-packages/lisp/texinfo/texinfo.el:${PORTSDIR}/editors/xemacs-sumo-packages
# use pkg/* files in ${.CURDIR}
PKGDIR= ${.CURDIR}/pkg
@@ -57,7 +51,7 @@ FLIMDOCDIR= ${EMACS_PACKAGESDIR}/lisp/flim
xemacs-package: install
@${RM} -f ${.CURDIR}/${XEMACS_PKG_TARBALL}
- @(cd ${PREFIX}/${EMACS_PACKAGESDIR} ;\
+ @(cd ${LOCALBASE}/${EMACS_PACKAGESDIR} ;\
${TAR} -zcf ${.CURDIR}/${XEMACS_PKG_TARBALL} ${XEMACS_PKG_CONTENTS} ;\
)
OpenPOWER on IntegriCloud