aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/diacanvas2/Makefile
blob: d27826c64e95a88209ee6b723a21e3c748d68c06 (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
# ex:ts=8
# Ports collection makefile for:    diacanvas2
# Date created:         Feb 9, 2003
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   diacanvas2
PORTVERSION=    0.15.4
PORTREVISION=   2
CATEGORIES= graphics gnome
MASTER_SITES=   SF/diacanvas/DiaCanvas2/${PORTVERSION}
DISTNAME=   ${PORTNAME}_${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    A general drawing canvas from dia dialog editor

USE_GNOME=  gnomehack gnometarget pygnome2
USE_PYTHON= 2.2+
USE_GMAKE=  yes
USE_AUTOTOOLS=  libtool:22
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"
USE_LDCONFIG=   yes
USE_DISPLAY=    yes

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}

post-patch:
    @${REINPLACE_CMD} -e \
        's|unit_tests doc|unit_tests|g' ${WRKSRC}/Makefile.in

.include <bsd.port.mk>