aboutsummaryrefslogtreecommitdiffstats
path: root/databases/py-MySQLdb-devel/Makefile
blob: ea9e767dbbb1b7d4850efafaf57bdacb7a41fe61 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# New ports collection makefile for:    py-MySQLdb
# Date created:             04 April 2000
# Whom:                         Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   py-MySQLdb
PORTVERSION=    1.0.0
CATEGORIES= databases python
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= mysql-python
DISTNAME=   MySQL-python-${PORTVERSION}

MAINTAINER= clement@FreeBSD.org
COMMENT=    Access a MySQL database through Python

USE_PYTHON=     yes
USE_PYDISTUTILS=    yes
USE_MYSQL=      yes

PORTDOCS=       MANIFEST README

.if !defined(NOPORTDOCS)
post-install:
    @${MKDIR} ${DOCSDIR}
.for FILE in ${PORTDOCS}
    @${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>