aboutsummaryrefslogtreecommitdiff
path: root/databases/lsdb
diff options
context:
space:
mode:
authorYoichi NAKAYAMA <yoichi@FreeBSD.org>2007-07-27 03:54:50 +0000
committerYoichi NAKAYAMA <yoichi@FreeBSD.org>2007-07-27 03:54:50 +0000
commit986caac4804281a01397ec354a6e16a0a0152039 (patch)
tree49afd1ab7b2755f185647e6b2aee22299e1550ad /databases/lsdb
parenta4adb6665f97a793de92e224ee62532f20685a8e (diff)
downloadports-986caac4804281a01397ec354a6e16a0a0152039.tar.gz
ports-986caac4804281a01397ec354a6e16a0a0152039.zip
Arrange condition to select DEPPORT_SUFFIX.
Submitted by: ume
Notes
Notes: svn path=/head/; revision=196361
Diffstat (limited to 'databases/lsdb')
-rw-r--r--databases/lsdb/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/databases/lsdb/Makefile b/databases/lsdb/Makefile
index 5b1bc26c0b13..4a6c870e1f94 100644
--- a/databases/lsdb/Makefile
+++ b/databases/lsdb/Makefile
@@ -18,11 +18,13 @@ COMMENT= Lovely Sister Database
BUILD_DEPENDS= ${LOCALBASE}/share/flim/${FLIM_COOKIE}:${PORTSDIR}/editors/flim${DEPPORT_SUFFIX}
USE_EMACS= yes
-EMACS_PORT_NAME?= emacs21
-.if (${EMACS_PORT_NAME} == emacs21)
-DEPPORT_SUFFIX=
-.else
+
+.include <bsd.port.pre.mk>
+
+.if ${EMACS_PORT_NAME} == emacs20
DEPPORT_SUFFIX= -${EMACS_PORT_NAME}
+.else
+DEPPORT_SUFFIX=
.endif
SFJP_RELEASE_ID= 1494
@@ -40,4 +42,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>