1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/databases/metakit/Makefile
Maxim Sobolev 289b236303 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.
2000-07-31 08:38:54 +00:00

39 lines
961 B
Makefile

# New ports collection makefile for: metakit
# Date created: 25 December 1999
# Whom: Russell L. Carter <rcarter@pinyon.org>
#
# $FreeBSD$
#
PORTNAME= metakit
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
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>