summaryrefslogtreecommitdiff
path: root/databases/metakit/Makefile
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2005-09-07 15:28:37 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2005-09-07 15:28:37 +0000
commitd799908a5ea0f9f47b726bf391268696beb6536d (patch)
treece0d49eba6c93df299921a7def82d14ecee53577 /databases/metakit/Makefile
parentAdd a link to the web site in pkg-descr (diff)
Actually convert *all* defined(METAKIT_WITH_PYTHON) instanced to
!defined(METAKIT_WITHOUT_PYTHON). Previous commit obviously totally untested by: me
Notes
Notes: svn path=/head/; revision=142173
Diffstat (limited to 'databases/metakit/Makefile')
-rw-r--r--databases/metakit/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/databases/metakit/Makefile b/databases/metakit/Makefile
index f43f1ba61c6d..972f07c53762 100644
--- a/databases/metakit/Makefile
+++ b/databases/metakit/Makefile
@@ -10,7 +10,6 @@ PORTVERSION= 2.4.9.3
PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= http://www.equi4.com/pub/mk/
-DISTNAME= ${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= C++ embedded database engine, supports Python and Tcl
@@ -72,7 +71,7 @@ pre-patch:
-e "s/= tclsh/=tclsh${TCL_V}/" -e "s/tcl8.4/tcl${TCL_V}/" \
${WRKSRC}/../unix/Makefile.in
.endif
-.if defined(METAKIT_WITH_PYTHON)
+.if !defined(METAKIT_WITHOUT_PYTHON)
${REINPLACE_CMD} -e "s=python2.[0-9]=${PYTHON_VERSION}=" \
${WRKSRC}/../unix/Makefile.in ${WRKSRC}/../unix/configure
.endif
@@ -88,7 +87,7 @@ post-install:
${PREFIX}/lib/libmk4.so.0
@${LN} -sf libmk4.so.0 ${PREFIX}/lib/libmk4.so
@${MV} ${PREFIX}/lib/libmk4.al ${PREFIX}/lib/libmk4.a
-.if defined(METAKIT_WITH_PYTHON)
+.if !defined(METAKIT_WITHOUT_PYTHON)
@${INSTALL_PROGRAM} ${WRKSRC}/.libs/libmk4py.a ${PREFIX}/lib
@${INSTALL_PROGRAM} ${WRKSRC}/.libs/libmk4py.so ${PREFIX}/lib
.endif