diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2003-08-04 07:27:34 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2003-08-04 07:27:34 +0000 |
commit | e5ffc131acd816a73452c2b26e9a35b2a7e27ad0 (patch) | |
tree | 070c2d57bf19fd4568b79a271f3e9017a7ebd786 /databases | |
parent | 9a4f0bcaf2c499fa99afdb2a88a2cc54d1b7e808 (diff) | |
download | ports-e5ffc131acd816a73452c2b26e9a35b2a7e27ad0.tar.gz ports-e5ffc131acd816a73452c2b26e9a35b2a7e27ad0.zip |
Notes
Diffstat (limited to 'databases')
-rw-r--r-- | databases/metakit/Makefile | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/databases/metakit/Makefile b/databases/metakit/Makefile index dc1483edb78a..547f100ee5af 100644 --- a/databases/metakit/Makefile +++ b/databases/metakit/Makefile @@ -32,6 +32,7 @@ ONLY_FOR_ARCHS= i386 alpha .if defined(METAKIT_WITH_PYTHON) USE_PYTHON= yes +PYTHON_VERSION?= python2.2 CONFIGURE_ARGS+= --with-python=${LOCALBASE} CATEGORIES+= python PLIST_SUB+= WITH_PYTHON="" @@ -68,16 +69,24 @@ pre-patch: ${SED} -e "s=doc/==" \ ${WRKSRC}/../MetaKit.html.sed > ${WRKSRC}/../MetaKit.html .if defined(METAKIT_WITH_TCL83) || defined(METAKIT_WITH_TCL84) - @${MV} ${WRKSRC}/../unix/Makefile.in ${WRKSRC}/../unix/Makefile.in.sed + @${CP} ${WRKSRC}/../unix/Makefile.in ${WRKSRC}/../unix/Makefile.in.sed ${SED} -e "s/= tclsh/=tclsh${TCL_V}/" -e "s/tcl8.4/tcl${TCL_V}/" \ ${WRKSRC}/../unix/Makefile.in.sed \ > ${WRKSRC}/../unix/Makefile.in .endif .if defined(METAKIT_WITH_PYTHON) - @${MV} ${WRKSRC}/../unix/Makefile.in ${WRKSRC}/../unix/Makefile.in.sed + @${CP} ${WRKSRC}/../unix/Makefile.in ${WRKSRC}/../unix/Makefile.in.sed ${SED} -e "s=python2.2=${PYTHON_VERSION}=" \ ${WRKSRC}/../unix/Makefile.in.sed \ > ${WRKSRC}/../unix/Makefile.in + @${CP} ${WRKSRC}/../unix/configure ${WRKSRC}/../unix/configure.sed + ${SED} -e "s=python2.2=${PYTHON_VERSION}=" \ + ${WRKSRC}/../unix/configure.sed \ + > ${WRKSRC}/../unix/configure +.endif + +post-install: +.if defined(METAKIT_WITH_PYTHON) .endif post-install: |