mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
7112ba2b40
USE_MOTIF and generates a LIB_DEPENDS to x11-toolkits/open-motif. As before, it implies USE_XPM (and therefore USE_XLIB). Motif-dummy is removed from PKG_IGNORE_DEPENDS, whose sole resident is now XFree86-3. Most of the simple ".if defined(HAVE_MOTIF)"s are removed to always have USE_MOTIF. ftp/moxftp will define USE_MOTIF unless WANT_ATHENA_VERSION (new variable) is defined. I merged the X cases in cad/mars, so USE_MOTIF is used iff WITHOUT_X11 is not defined. I will remove x11-toolkits/Motif-dummy (which has been repo copied to open-motif) in a few days.
35 lines
783 B
Makefile
35 lines
783 B
Makefile
# New ports collection makefile for: opendx
|
|
# Date created: 27 May 1999
|
|
# Whom: Thomas Gellekum <tg@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= opendx
|
|
PORTVERSION= 4.1.0
|
|
CATEGORIES= graphics math
|
|
MASTER_SITES= http://opendx.npaci.edu/source/
|
|
DISTNAME= dx-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
LIB_DEPENDS= netcdf.1:${PORTSDIR}/math/netcdf
|
|
|
|
USE_XLIB= yes
|
|
USE_MESA= yes
|
|
USE_MOTIF= yes
|
|
USE_NEWGCC= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= CFLAGS="${CFLAGS} -Dfreebsd -I${PREFIX}/include" \
|
|
CPPFLAGS="-I${PREFIX}/include" \
|
|
CXXFLAGS="${CFLAGS} -Dfreebsd -I${PREFIX}/include" \
|
|
LDFLAGS="-L${PREFIX}/lib"
|
|
NO_MTREE= yes
|
|
PLIST_SUB= ARCH=${MACHINE_ARCH}
|
|
|
|
post-patch:
|
|
@find ${WRKSRC} -name Makefile.in | \
|
|
xargs ${PERL} -pi -e 's/-lXm /\$${MOTIFLIB} /g'
|
|
|
|
.include <bsd.port.mk>
|