summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorjlam <jlam>2000-07-25 08:33:58 +0000
committerjlam <jlam>2000-07-25 08:33:58 +0000
commit6c9ddbecea1f157b5442928172a8e63c2dc3e58a (patch)
tree95df50864774117348877aae37aba30c22b038c0 /math
parent00e694f3557e754aa4c4f8bf2313928ccb31969c (diff)
downloadpkgsrc-6c9ddbecea1f157b5442928172a8e63c2dc3e58a.tar.gz
Find xpm headers correctly if xpkgwedge is installed.
Diffstat (limited to 'math')
-rw-r--r--math/xmgr/Makefile58
1 files changed, 31 insertions, 27 deletions
diff --git a/math/xmgr/Makefile b/math/xmgr/Makefile
index 16d4947f1d9..0a1267c6ccb 100644
--- a/math/xmgr/Makefile
+++ b/math/xmgr/Makefile
@@ -1,32 +1,36 @@
-# $NetBSD: Makefile,v 1.5 1999/11/23 17:55:11 dmcmahill Exp $
+# $NetBSD: Makefile,v 1.6 2000/07/25 08:33:58 jlam Exp $
# FreeBSD Id: Makefile,v 1.13 1998/12/12 22:27:21 jseger Exp
#
-DISTNAME= xmgr-4.1.2
-CATEGORIES= math
-MASTER_SITES= ftp://plasma-gate.weizmann.ac.il/pub/xmgr4/src/ \
- ftp://plasma-gate.weizmann.ac.il/pub/xmgr4/src/old/ \
- ftp://fire.mpi-stuttgart.mpg.de/pub/mirrors/xmgr4/src/ \
- ftp://fire.mpi-stuttgart.mpg.de/pub/mirrors/xmgr4/src/old/ \
- ftp://wauug.erols.com/pub/X-Windows/xmgr4/src/ \
- ftp://wauug.erols.com/pub/X-Windows/xmgr4/src/old/
-
-MAINTAINER= packages@NetBSD.org
-HOMEPAGE= http://plasma-gate.weizmann.ac.il/Xmgr/
-
-DEPENDS+= xpm-3.4k:../../graphics/xpm
-DEPENDS+= netcdf-3.4:../../devel/netcdf
-BUILD_DEPENDS= ${LOCALBASE}/bin/bison:../../devel/bison
-
-USE_FORTRAN= YES
-USE_X11= YES
-USE_MOTIF= YES
-GNU_CONFIGURE= YES
-CONFIGURE_ARGS= --enable-acegr-home=${PREFIX} \
- --enable-extra-incpath=${X11BASE}/include/X11:${LOCALBASE}/include \
- --enable-extra-ldpath=${LOCALBASE}/lib
-
-ALL_TARGET=
-INSTALL_TARGET= install
+DISTNAME= xmgr-4.1.2
+CATEGORIES= math
+MASTER_SITES= ftp://plasma-gate.weizmann.ac.il/pub/xmgr4/src/ \
+ ftp://plasma-gate.weizmann.ac.il/pub/xmgr4/src/old/ \
+ ftp://fire.mpi-stuttgart.mpg.de/pub/mirrors/xmgr4/src/ \
+ ftp://fire.mpi-stuttgart.mpg.de/pub/mirrors/xmgr4/src/old/ \
+ ftp://wauug.erols.com/pub/X-Windows/xmgr4/src/ \
+ ftp://wauug.erols.com/pub/X-Windows/xmgr4/src/old/
+
+MAINTAINER= packages@NetBSD.org
+HOMEPAGE= http://plasma-gate.weizmann.ac.il/Xmgr/
+
+BUILD_DEPENDS= bison:../../devel/bison
+DEPENDS+= xpm-3.4k:../../graphics/xpm
+DEPENDS+= netcdf-3.4:../../devel/netcdf
+
+USE_FORTRAN= # defined
+USE_X11= # defined
+USE_MOTIF= # defined
+
+GNU_CONFIGURE= # defined
+CONFIGURE_ARGS+= --enable-acegr-home="${PREFIX}"
+CONFIGURE_ARGS+= --enable-extra-incpath="${EXTRA_INCDIRS}"
+CONFIGURE_ARGS+= --enable-extra-ldpath="${LOCALBASE}/lib"
+
+EVAL_PREFIX+= XPMDIR=xpm
+EXTRA_INCDIRS= ${XPMDIR}/include/X11:${LOCALBASE}/include
+
+ALL_TARGET= # empty
+INSTALL_TARGET= install
.include "../../mk/bsd.pkg.mk"