aboutsummaryrefslogtreecommitdiffstats
path: root/math/drgeo/Makefile
blob: 36bddf1f0378146f891edc27d4a1815deaf688c2 (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
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$

PORTNAME=   drgeo
PORTVERSION=    1.1.0
PORTREVISION=   17
CATEGORIES= math
MASTER_SITES=   SF/ofset/${PORTNAME}/${PORTVERSION}

MAINTAINER= amdmi3@FreeBSD.org
COMMENT=    GTK interactive geometry software

LIB_DEPENDS=    libguile.so:${PORTSDIR}/lang/guile

GNU_CONFIGURE=  yes
USES=       gettext gmake pkgconfig pathfix
USE_GNOME=  gnomeprefix intlhack libglade2
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
USE_GCC=    yes # segfaults when built with clang

PORTDATA=   *

post-patch:
    @${REINPLACE_CMD} -e 's|#!/bin/bash|#!/bin/sh|g' \
        ${WRKSRC}/plugin/drgeo/progs/tm_drgeo

.include <bsd.port.mk>