summaryrefslogtreecommitdiff
path: root/www/Mosaic
diff options
context:
space:
mode:
authorjlam <jlam>2000-07-29 00:09:59 +0000
committerjlam <jlam>2000-07-29 00:09:59 +0000
commit47b44e4b75df64d3763713974df83a85be23f62b (patch)
tree6e0f06771265a028db110d81faaae61b3c1507f3 /www/Mosaic
parentdd96972632fac222df995d6fcb73a0436a11f6ad (diff)
downloadpkgsrc-47b44e4b75df64d3763713974df83a85be23f62b.tar.gz
Fix up Mosaic to find xpm if xpkgwedge is installed, and to use
USE_MOTIF12 to find Motif-1.2 headers/libraries.
Diffstat (limited to 'www/Mosaic')
-rw-r--r--www/Mosaic/Makefile24
1 files changed, 16 insertions, 8 deletions
diff --git a/www/Mosaic/Makefile b/www/Mosaic/Makefile
index 9e94f39a38d..f22a3cefaef 100644
--- a/www/Mosaic/Makefile
+++ b/www/Mosaic/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2000/07/28 17:26:48 tron Exp $
+# $NetBSD: Makefile,v 1.20 2000/07/29 00:09:59 jlam Exp $
# FreeBSD Id: Makefile,v 1.15 1998/05/27 08:44:56 dburr Exp
#
@@ -12,20 +12,27 @@ MAINTAINER= tv@netbsd.org
HOMEPAGE= http://www.ncsa.uiuc.edu/SDG/Software/Mosaic/
DEPENDS+= jpeg-6b:../../graphics/jpeg
-DEPENDS+= lesstif12-*:../../x11/lesstif12
DEPENDS+= png>=1.0.6:../../graphics/png
DEPENDS+= xpm-3.4k:../../graphics/xpm
NOT_FOR_PLATFORM= *-*-alpha #LP64 problems
-USE_X11BASE= yes
+USE_X11BASE= # defined
+USE_MOTIF12= # defined
-GNU_CONFIGURE= yes
+GNU_CONFIGURE= # defined
+CONFIGURE_ARGS+= --with-zdir=/usr
+CONFIGURE_ARGS+= --with-jpegdir=${LOCALBASE}
+CONFIGURE_ARGS+= --with-pngdir=${LOCALBASE}
+CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
-LDFLAGS+= -L${X11BASE}/LessTif/Motif1.2/lib -L${X11BASE}/lib -Wl,-R${X11BASE}/LessTif/Motif1.2/lib
+EVAL_PREFIX= XPMDIR=xpm
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/LessTif/Motif1.2/include -I${X11BASE}/include -Dunix"
-CONFIGURE_ARGS= --with-zdir=/usr --with-jpegdir=${LOCALBASE} --with-pngdir=${LOCALBASE}
+CPPFLAGS+= -I${MOTIFBASE}/include
+CPPFLAGS+= -I${X11BASE}/include
+CPPFLAGS+= -I${LOCALBASE}/include
+CPPFLAGS+= -I${XPMDIR}/include
+CPPFLAGS+= -Dunix
post-configure:
@${ECHO} '' >>${WRKSRC}/config.h
@@ -34,7 +41,8 @@ post-configure:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/Mosaic ${PREFIX}/bin
${LN} -sf Mosaic ${PREFIX}/bin/mosaic
- ${INSTALL_DATA} ${WRKSRC}/app-defaults.color ${PREFIX}/lib/X11/app-defaults/Mosaic
+ ${INSTALL_DATA} ${WRKSRC}/app-defaults.color \
+ ${PREFIX}/lib/X11/app-defaults/Mosaic
${MKDIR} ${PREFIX}/share/mosaic
.include "../../mk/bsd.pkg.mk"