aboutsummaryrefslogtreecommitdiffstats
path: root/devel/veepee/Makefile
blob: d794cf4f1a0312eb95e904b31e3f1c4be6dcbb19 (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
37
38
39
40
41
# Ports collection Makefile for:    veepee
# Date created:             2 August 2000
# Whom:                 Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   veepee
PORTVERSION=    0.2
CATEGORIES= devel python gnome
MASTER_SITES=   http://www.river-bank.demon.co.uk/software/
DISTNAME=   VeePee-${PORTVERSION}

MAINTAINER= sobomax@FreeBSD.org

BUILD_DEPENDS=  python:${PORTSDIR}/lang/python
LIB_DEPENDS=    gnome.4:${PORTSDIR}/x11/gnomelibs \
        gd.1:${PORTSDIR}/graphics/gd
RUN_DEPENDS=    python:${PORTSDIR}/lang/python

USE_XLIB=   yes
USE_LIBTOOL=    yes

CONFIGURE_ARGS= --with-gd-includes=${LOCALBASE}/include/gd \
        --disable-kde

post-extract:
    @${PERL} -pi -e 's|-lpthread|-pthread|g' \
        ${WRKSRC}/configure

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${PREFIX}/share/doc/veepee
    ${MKDIR} ${PREFIX}/share/examples/veepee
    cd ${WRKSRC}/doc && \
        ${INSTALL_DATA} GNOMEapi.txt controls.txt ${PREFIX}/share/doc/veepee
    cd ${WRKSRC}/examples && \
        ${INSTALL_SCRIPT} *.py ${PREFIX}/share/examples/veepee
.endif

.include <bsd.port.mk>