summaryrefslogtreecommitdiff
path: root/graphics/opendx/Makefile
blob: fc6bdef3c1a6571a6f01edce947cd1e7ac209495 (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
# New ports collection makefile for:	opendx
# Version required:	4.0.7
# Date created:		27 May 1999
# Whom:			Thomas Gellekum <tg@FreeBSD.org>
#
# $FreeBSD$
#

DISTNAME=	dx-4.0.7
PKGNAME=	opendx-4.0.7
CATEGORIES=	graphics math
MASTER_SITES=	http://opendx.npaci.edu/source/

MAINTAINER=	ports@FreeBSD.org

LIB_DEPENDS=	GL.14:${PORTSDIR}/graphics/Mesa3

USE_XLIB=	yes
REQUIRES_MOTIF=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	CFLAGS="${CFLAGS} -Dfreebsd" \
		CXXFLAGS="${CFLAGS} -Dfreebsd"
NO_MTREE=	yes
PLIST_SUB=	ARCH=${MACHINE_ARCH}

post-patch:
	@find ${WRKSRC} -name Makefile.in | \
	  xargs /usr/bin/perl -pi -e 's/-lXm /\$${MOTIFLIB} /g'

.include <bsd.port.mk>