aboutsummaryrefslogtreecommitdiff
path: root/editors/flim/Makefile
diff options
context:
space:
mode:
authorMANTANI Nobutaka <nobutaka@FreeBSD.org>2016-11-13 13:21:08 +0000
committerMANTANI Nobutaka <nobutaka@FreeBSD.org>2016-11-13 13:21:08 +0000
commit719ba3574db4aac9c12cd7b7d489cfd0a25100aa (patch)
tree05cb1d7e3a1f53944fc2d8cfec389547727efb8b /editors/flim/Makefile
parentcad9c5325e70f3da99fb01682eb2417c8c3ede4c (diff)
downloadports-719ba3574db4aac9c12cd7b7d489cfd0a25100aa.tar.gz
ports-719ba3574db4aac9c12cd7b7d489cfd0a25100aa.zip
Notes
Diffstat (limited to 'editors/flim/Makefile')
-rw-r--r--editors/flim/Makefile33
1 files changed, 6 insertions, 27 deletions
diff --git a/editors/flim/Makefile b/editors/flim/Makefile
index f9c4233b7459..c0f751b05de5 100644
--- a/editors/flim/Makefile
+++ b/editors/flim/Makefile
@@ -9,8 +9,8 @@ CATEGORIES= editors elisp
MASTER_SITES= http://git.chise.org/elisp/dist/flim/flim-1.14/
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
-MAINTAINER?= nobutaka@FreeBSD.org
-COMMENT?= Message representation or encoding elisp library for emacs
+MAINTAINER= nobutaka@FreeBSD.org
+COMMENT= Message representation or encoding elisp library for emacs
LICENSE= GPLv2
@@ -49,31 +49,10 @@ MAKE_ARGS+= PREFIX="${STAGEDIR}${LOCALBASE}" \
.include <bsd.port.pre.mk>
-.if defined(EMACS_PORT_NAME)
-.if (${EMACS_PORT_NAME} == "emacs25") || (${EMACS_PORT_NAME} == "emacs-nox11") || (${EMACS_PORT_NAME} == "emacs-devel")
-DEPPORT_SUFFIX=
-.else
-DEPPORT_SUFFIX= -${EMACS_PORT_NAME}
-.endif
-.if (${EMACS_PORT_NAME} == "emacs25") || (${EMACS_PORT_NAME} == "emacs-nox11") || (${EMACS_PORT_NAME} == "emacs-devel")
PLIST= ${PKGDIR}/pkg-plist.emacs21
-.endif
-# depends on apel (case of xemacs-21.x or later)
-.if defined(EMACS_PACKAGESDIR)
-BUILD_DEPENDS+= ${LOCALBASE}/${EMACS_LIBDIR}/xemacs-packages/lisp/apel/emu.el:editors/xemacs-packages
-RUN_DEPENDS+= ${LOCALBASE}/${EMACS_LIBDIR}/xemacs-packages/lisp/apel/emu.el:editors/xemacs-packages
-MAKE_ARGS+= PACKAGEDIR="${STAGEDIR}${LOCALBASE}/${EMACS_PACKAGESDIR}"
-.else
-# depends on apel (case of gnu emacsen etc...)
-BUILD_DEPENDS+= ${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}/emu/emu.el:editors/apel${DEPPORT_SUFFIX}
-RUN_DEPENDS+= ${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}/emu/emu.el:editors/apel${DEPPORT_SUFFIX}
-.endif
-.else
-.BEGIN:
- @${ECHO} "Error: Bad port."
- @${ECHO} "You must define EMACS_PORT_NAME."
- @${FALSE}
-.endif
+# depends on apel
+BUILD_DEPENDS+= apel-${EMACS_PORT_NAME}>0:editors/apel
+RUN_DEPENDS+= apel-${EMACS_PORT_NAME}>0:editors/apel
.if !defined(BUILD_INFO_BY_EMACS) || (${BUILD_INFO_BY_EMACS} == "NO")
# info files JIS to EUC
@@ -205,7 +184,7 @@ manifest-install:
@${RM} ${WRKDIR}/${MANIFEST}
@${CAT} ${PLIST} | ${GREP} -e "^%%EMACS_PACKAGESDIR%%" | \
${SED} -e "s;^%%EMACS_PACKAGESDIR%%/;;" > ${WRKDIR}/${MANIFEST}
- @${INSTALL_DATA} ${WRKDIR}/${MANIFEST} \
+ ${INSTALL_DATA} ${WRKDIR}/${MANIFEST} \
${STAGEDIR}${LOCALBASE}/${EMACS_PACKAGESDIR}/pkginfo/
pkgcookie-install: