summaryrefslogtreecommitdiffstats
path: root/math/drgeo/Makefile
blob: e0c0313b160138986e40c3db1d376f75248188f8 (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:    drgenius
# Date created:             11 January 2003
# Whom:                 Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   drgeo
PORTVERSION=    1.1.0
PORTREVISION=   3
CATEGORIES= math
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ofset

MAINTAINER= amdmi3@amdmi3.ru
COMMENT=    A GTK interactive geometry sofware

LIB_DEPENDS=    guile.15:${PORTSDIR}/lang/guile

USE_X_PREFIX=   yes
USE_GETTEXT=    yes
USE_GNOME=  gnomehack gnomeprefix gnometarget intlhack libglade2
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

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

.include <bsd.port.mk>