diff options
author | danfe <danfe@FreeBSD.org> | 2014-01-29 21:03:16 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2014-01-29 21:03:16 +0800 |
commit | 89e33ab873345902625b4ae4019155168d69a30b (patch) | |
tree | faa51b6b24195f73631d78c5da0a45ffc55a41bb /databases | |
parent | 12bcd2126b288b759274aa6df14d6f72f825a808 (diff) | |
download | freebsd-ports-gnome-89e33ab873345902625b4ae4019155168d69a30b.tar.gz freebsd-ports-gnome-89e33ab873345902625b4ae4019155168d69a30b.tar.zst freebsd-ports-gnome-89e33ab873345902625b4ae4019155168d69a30b.zip |
- Stagify, reword COMMENT, drop ONLY_FOR_ARCHS: for broken cases, the port
should be marked accordingly instead
- Clean up Makefile and port description text while here
Diffstat (limited to 'databases')
-rw-r--r-- | databases/metakit/Makefile | 30 | ||||
-rw-r--r-- | databases/metakit/pkg-descr | 8 |
2 files changed, 19 insertions, 19 deletions
diff --git a/databases/metakit/Makefile b/databases/metakit/Makefile index 91f3364124f5..8af0d296007a 100644 --- a/databases/metakit/Makefile +++ b/databases/metakit/Makefile @@ -8,20 +8,19 @@ CATEGORIES= databases MASTER_SITES= http://www.equi4.com/pub/mk/ MAINTAINER= ports@FreeBSD.org -COMMENT= C++ embedded database engine, supports Python and Tcl +COMMENT= C++ embedded database engine with Python and Tcl support LICENSE= MIT -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/builds GNU_CONFIGURE= yes CONFIGURE_SCRIPT= ../unix/configure USE_LDCONFIG= yes -ONLY_FOR_ARCHS= i386 alpha amd64 + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/builds OPTIONS_DEFINE= PYTHON TCL DOCS OPTIONS_DEFAULT= PYTHON -NO_STAGE= yes .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MPYTHON} @@ -67,24 +66,25 @@ post-build: ${WRKSRC}/../python .endif +pre-install: + @${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR} + post-install: - @${INSTALL_PROGRAM} ${WRKSRC}/libmk4.so \ - ${PREFIX}/lib/libmk4.so.0 - @${LN} -sf libmk4.so.0 ${PREFIX}/lib/libmk4.so -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/libmk4.so \ + ${STAGEDIR}${PREFIX}/lib/libmk4.so.0 + ${LN} -sf libmk4.so.0 ${STAGEDIR}${PREFIX}/lib/libmk4.so + @${MKDIR} ${STAGEDIR}${DOCSDIR} ${TAR} -C ${WRKSRC}/../doc --exclude "*CVS" -cf - . | \ - ${TAR} -C ${DOCSDIR} --unlink -xf - + ${TAR} -C ${STAGEDIR}${DOCSDIR} --unlink -xf - ${INSTALL_DATA} ${WRKSRC}/../Metakit.html ${WRKSRC}/../CHANGES \ - ${WRKSRC}/../README ${DOCSDIR}/ -.endif + ${WRKSRC}/../README ${STAGEDIR}${DOCSDIR} test: - (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \ - ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} test) + @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \ + ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} test) .if defined(USE_TCL) @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \ - ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} test-tcl) + ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} test-tcl) .endif .include <bsd.port.mk> diff --git a/databases/metakit/pkg-descr b/databases/metakit/pkg-descr index 13eb24a327c5..cac79635ee1b 100644 --- a/databases/metakit/pkg-descr +++ b/databases/metakit/pkg-descr @@ -1,7 +1,7 @@ METAKIT is a curious mix of flatfile, relational and OODBMS features with a -small footprint and a big following. For those who don't need a heavy-duty SQL -solution, it's tight and fast for <100,000 items, with a snazzy ability to -dynamically change data structures on the fly. Interfaces are available for -Tcl and Python, with Perl promised soon. +small footprint, and a big following. For those who don't need a heavy-duty +SQL solution, it is tight and fast for <100,000 items, with a snazzy ability +to dynamically change data structures on the fly. Interfaces are available +for Tcl and Python, with Perl support promised soon. WWW: http://www.equi4.com/metakit/ |