aboutsummaryrefslogtreecommitdiffstats
path: root/databases/gadfly/Makefile
blob: 48b1347749da3f4256d0be2f7dbfc4c8b5139be8 (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
33
34
35
36
# New ports collection makefile for:    gadfly
# Date created:         30 October 1998
# Whom:                 Thomas Gellekum <tg@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   gadfly
PORTVERSION=    1.0.0
PORTREVISION=   2
CATEGORIES= databases
MASTER_SITES=   SF

MAINTAINER= ports@FreeBSD.org
COMMENT=    An SQL database written in Python

RUN_DEPENDS=    ${PYTHON_SITELIBDIR}/kjbuckets.so:${PORTSDIR}/devel/py-kjbuckets

USE_PYTHON= yes
USE_PYDISTUTILS=yes

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    @${INSTALL_DATA} ${WRKSRC}/COPYRIGHT.txt ${DOCSDIR}
    @${INSTALL_DATA} ${WRKSRC}/CHANGES.txt ${DOCSDIR}
    @${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${DOCSDIR}
    @${INSTALL_DATA} ${WRKSRC}/doc/build_html.py ${DOCSDIR}
.endif
.if !defined(NOPORTEXAMPLES)
    @${MKDIR} ${EXAMPLESDIR}/kjParsing
    @${INSTALL_DATA} ${WRKSRC}/doc/demo/kjParsing/*.py \
        ${EXAMPLESDIR}/kjParsing
.endif

.include <bsd.port.mk>