aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authoryoichi <yoichi@FreeBSD.org>2007-07-27 11:54:50 +0800
committeryoichi <yoichi@FreeBSD.org>2007-07-27 11:54:50 +0800
commitf34f1dbefeb9a638cab6f226f2217b2af0702a14 (patch)
treed08b30aee394bfa46dfae327d684713271558a79 /databases
parentb3b89698b27857d268f9057f721d1d0b47a8e9c5 (diff)
downloadfreebsd-ports-gnome-f34f1dbefeb9a638cab6f226f2217b2af0702a14.tar.gz
freebsd-ports-gnome-f34f1dbefeb9a638cab6f226f2217b2af0702a14.tar.zst
freebsd-ports-gnome-f34f1dbefeb9a638cab6f226f2217b2af0702a14.zip
Arrange condition to select DEPPORT_SUFFIX.
Submitted by: ume
Diffstat (limited to 'databases')
-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>