summaryrefslogtreecommitdiff
path: root/databases/metakit/Makefile
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-07-31 08:38:54 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-07-31 08:38:54 +0000
commit289b23630362aca22699301b45b19d137f228788 (patch)
tree57625fb2f9089c53995abc94ac602b1c73e851a6 /databases/metakit/Makefile
parentMake xmms better than ever before: (diff)
Update to 2.01.
Other improvements: - make USE_LIBTOOL actually working; - enable building of python module and make python the secondary category; - install api documentation; - reshape PLIST to fully use screen estate; - replace ugly ${FILESDIR}/patch.Makefile with normal patch.
Diffstat (limited to 'databases/metakit/Makefile')
-rw-r--r--databases/metakit/Makefile27
1 files changed, 19 insertions, 8 deletions
diff --git a/databases/metakit/Makefile b/databases/metakit/Makefile
index 03fda73a355e..90e5569c4822 100644
--- a/databases/metakit/Makefile
+++ b/databases/metakit/Makefile
@@ -6,22 +6,33 @@
#
PORTNAME= metakit
-PORTVERSION= 2.0
-CATEGORIES= databases
+PORTVERSION= 2.01
+CATEGORIES= databases python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= rcarter@pinyon.org
+BUILD_DEPENDS= python:${PORTSDIR}/lang/python
+RUN_DEPENDS= python:${PORTSDIR}/lang/python
+
WRKSRC= ${WRKDIR}/${DISTNAME}/builds
+
USE_LIBTOOL= yes
+CONFIGURE_SCRIPT= ../unix/configure
+LIBTOOLFILES= ${CONFIGURE_SCRIPT}
INSTALLS_SHLIB= yes
-LIBTOOLFILES= ../unix/aclocal.m4
-CONFIGURE_SCRIPT= ../unix/configure
-MAKE_ARGS= CXXFLAGS="-Dq4_STD ${CFLAGS}"
-post-configure:
- @cd ${WRKSRC} ; \
- ${PATCH} < ${FILESDIR}/patch.Makefile
+CONFIGURE_ARGS= --enable-python
+MAKE_ARGS= CXXFLAGS="-Dq4_STD ${CFLAGS} -fpermissive"
+ALL_TARGET= all Mk4py.so
+
+post-install:
+ @${INSTALL_PROGRAM} ${WRKSRC}/Mk4py.so ${PREFIX}/lib/python1.5/site-packages
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/metakit
+ (cd ${WRKSRC}/../doc && ${TAR} -c -f - .) \
+ | (cd ${PREFIX}/share/doc/metakit && ${TAR} --unlink -x -f -)
+.endif
.include <bsd.port.mk>