2000-01-14 15:00:08 +00:00
|
|
|
# New ports collection makefile for: py-MySQL
|
|
|
|
# Date created: 05 September 1999
|
|
|
|
# Whom: Dominik Rothert <dr@domix.de>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-08 22:49:07 +00:00
|
|
|
PORTNAME= py-MySQL
|
|
|
|
PORTVERSION= 1.4
|
2000-01-14 15:00:08 +00:00
|
|
|
CATEGORIES= databases python
|
|
|
|
MASTER_SITES= http://www.mysql.com/Contrib/
|
2000-04-08 22:49:07 +00:00
|
|
|
DISTNAME= MySQLmodule-${PORTVERSION}
|
2000-01-14 15:00:08 +00:00
|
|
|
|
|
|
|
MAINTAINER= dr@domix.de
|
|
|
|
|
2000-09-08 12:24:00 +00:00
|
|
|
BUILD_DEPENDS= python1.5:${PORTSDIR}/lang/python15
|
2000-01-14 15:00:08 +00:00
|
|
|
LIB_DEPENDS= mysqlclient.6:${PORTSDIR}/databases/mysql322-client
|
2000-09-08 12:24:00 +00:00
|
|
|
RUN_DEPENDS= python1.5:${PORTSDIR}/lang/python15
|
2000-01-14 15:00:08 +00:00
|
|
|
|
2000-04-23 16:24:06 +00:00
|
|
|
ALL_TARGET= MySQLmodule.so
|
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
${CP} ${FILESDIR}/Setup ${WRKSRC}/Setup
|
|
|
|
${LN} -s ${LOCALBASE}/lib/python1.5/config/Makefile.pre.in ${WRKSRC}/
|
|
|
|
|
|
|
|
do-configure:
|
|
|
|
cd ${WRKSRC} && ${MAKE} -f Makefile.pre.in boot
|
2000-01-14 15:00:08 +00:00
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
2000-04-23 16:24:06 +00:00
|
|
|
post-install:
|
2000-06-01 08:28:46 +00:00
|
|
|
@${MKDIR} ${PREFIX}/share/doc/py-MySQL
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/py-MySQL
|
|
|
|
@${ECHO} "share/doc/py-MySQL/README" >> ${TMPPLIST}
|
|
|
|
@${ECHO} "@dirrm share/doc/py-MySQL" >> ${TMPPLIST}
|
2000-01-14 15:00:08 +00:00
|
|
|
.endif
|
2000-06-01 08:28:46 +00:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
2000-01-14 15:00:08 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|