aboutsummaryrefslogtreecommitdiff
path: root/databases/lsdb
diff options
context:
space:
mode:
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>