From 986caac4804281a01397ec354a6e16a0a0152039 Mon Sep 17 00:00:00 2001 From: Yoichi NAKAYAMA Date: Fri, 27 Jul 2007 03:54:50 +0000 Subject: Arrange condition to select DEPPORT_SUFFIX. Submitted by: ume --- databases/lsdb/Makefile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'databases/lsdb/Makefile') 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 + +.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 +.include -- cgit v1.2.3