2000-01-05 04:41:19 +01:00
|
|
|
# New ports collection makefile for: metakit
|
|
|
|
# Date created: 25 December 1999
|
|
|
|
# Whom: Russell L. Carter <rcarter@pinyon.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-09 00:49:07 +02:00
|
|
|
PORTNAME= metakit
|
2000-07-31 10:38:54 +02:00
|
|
|
PORTVERSION= 2.01
|
|
|
|
CATEGORIES= databases python
|
2000-06-14 15:21:38 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2000-01-05 04:41:19 +01:00
|
|
|
|
|
|
|
MAINTAINER= rcarter@pinyon.org
|
|
|
|
|
2000-09-08 14:24:00 +02:00
|
|
|
BUILD_DEPENDS= python1.5:${PORTSDIR}/lang/python15
|
|
|
|
RUN_DEPENDS= python1.5:${PORTSDIR}/lang/python15
|
2000-07-31 10:38:54 +02:00
|
|
|
|
2000-01-05 04:41:19 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/builds
|
2000-07-31 10:38:54 +02:00
|
|
|
|
2000-01-05 04:41:19 +01:00
|
|
|
USE_LIBTOOL= yes
|
2000-07-31 10:38:54 +02:00
|
|
|
CONFIGURE_SCRIPT= ../unix/configure
|
|
|
|
LIBTOOLFILES= ${CONFIGURE_SCRIPT}
|
2000-06-16 23:52:40 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
2000-01-05 04:41:19 +01:00
|
|
|
|
2000-07-31 10:38:54 +02:00
|
|
|
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
|
2000-01-05 04:41:19 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|