aboutsummaryrefslogtreecommitdiffstats
path: root/math/drgenius/Makefile
blob: cdd2383e622886e4491c43ab4a289d65de547438 (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=   drgenius
PORTVERSION=    0.8.3
CATEGORIES= math
MASTER_SITES=   http://www.ofset.org/drgenius/

MAINTAINER= ports@FreeBSD.org
COMMENT=    The Gnome Interactive Geometry Sofware

BUILD_DEPENDS=  gob:${PORTSDIR}/x11-toolkits/gob
LIB_DEPENDS=    guile.15:${PORTSDIR}/lang/guile

USE_X_PREFIX=   yes
USE_REINPLACE=  yes
USE_GMAKE=  yes
USE_GNOME=  gnomeprefix gnomehack libglade
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LIBS="-L${LOCALBASE}/lib"
CONFIGURE_TARGET=   --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}

post-patch:
    @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
         s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure

.include <bsd.port.mk>