freebsd-ports/databases/py-MySQL/Makefile
Dirk Froemberg 88d74bc517 Switch from mysql322-{client,server} to mysql323-{client,server}.
mysql323-client installs libmysqlclient.so.10 (instead of
libmysqlclient.so.6).

mysql323-{client,server} are production quality, now (according to
MySQL AB at least).
2001-01-21 15:40:47 +00:00

37 lines
942 B
Makefile

# New ports collection makefile for: py-MySQL
# Date created: 05 September 1999
# Whom: Dominik Rothert <dr@domix.de>
#
# $FreeBSD$
#
PORTNAME= py-MySQL
PORTVERSION= 1.4
CATEGORIES= databases python
MASTER_SITES= http://www.mysql.com/Contrib/
DISTNAME= MySQLmodule-${PORTVERSION}
MAINTAINER= dr@domix.de
LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
USE_PYTHON= yes
ALL_TARGET= MySQLmodule.so
pre-configure:
${CP} ${FILESDIR}/Setup ${WRKSRC}/Setup
${LN} -s ${LOCALBASE}/lib/${PYTHON_VERSION}/config/Makefile.pre.in ${WRKSRC}/
do-configure:
cd ${WRKSRC} && ${MAKE} -f Makefile.pre.in boot
.if !defined(NOPORTDOCS)
post-install:
@${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}
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>