mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-05 22:43:24 +00:00
fc74f2e3ae
via Python. PR: 13583 Submitted by: Dominik Rothert <dr@domix.de>
37 lines
945 B
Makefile
37 lines
945 B
Makefile
# New ports collection makefile for: py-MySQL
|
|
# Version required: 1.4
|
|
# Date created: 05 September 1999
|
|
# Whom: Dominik Rothert <dr@domix.de>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
DISTNAME= MySQLmodule-1.4
|
|
PKGNAME= py-MySQL-1.4
|
|
CATEGORIES= databases python
|
|
MASTER_SITES= http://www.mysql.com/Contrib/
|
|
|
|
MAINTAINER= dr@domix.de
|
|
|
|
BUILD_DEPENDS= python:${PORTSDIR}/lang/python
|
|
LIB_DEPENDS= mysqlclient.6:${PORTSDIR}/databases/mysql322-client
|
|
RUN_DEPENDS= python:${PORTSDIR}/lang/python
|
|
|
|
pre-build:
|
|
${CP} ${FILESDIR}/Makefile ${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/MySQLmodule.so ${PREFIX}/lib/python1.5/site-packages
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${PREFIX}/share/doc/py-MySQL
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/py-MySQL
|
|
.endif
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${ECHO} "share/doc/py-MySQL/README" >> ${TMPPLIST}
|
|
${ECHO} "@dirrm share/doc/py-MySQL" >> ${TMPPLIST}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|