pkgsrc/www/Mosaic/Makefile
wiz 9cb80da944 Convert to bl3 and make compile with gcc3.
Convert patches to standard format.
2004-05-03 23:30:00 +00:00

49 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.40 2004/05/03 23:30:00 wiz Exp $
# FreeBSD Id: Makefile,v 1.15 1998/05/27 08:44:56 dburr Exp
#
DISTNAME= Mosaic-src-2.7b5
PKGNAME= mosaic-2.7b5
PKGREVISION= 1
CATEGORIES= www
MASTER_SITES= ftp://ftp.ncsa.uiuc.edu/Web/Mosaic/Unix/source/
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.ncsa.uiuc.edu/SDG/Software/Mosaic/
COMMENT= World Wide Web browser
LICENSE= mosaic-license
NOT_FOR_PLATFORM= *-*-alpha #LP64 problems
WRKSRC= ${WRKDIR}/Mosaic-src
USE_BUILDLINK3= YES
USE_X11BASE= YES
USE_MOTIF12= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --with-jpegdir=${BUILDLINK_PREFIX.jpeg}
CONFIGURE_ARGS+= --with-pngdir=${BUILDLINK_PREFIX.png}
CONFIGURE_ARGS+= --with-zdir=${BUILDLINK_PREFIX.zlib}
CPPFLAGS+= -Dunix -I${LOCALBASE}/LessTif/Motif1.2/include
LDFLAGS+= -L${LOCALBASE}/LessTif/Motif1.2/lib
LDFLAGS+= -Wl,-R${LOCALBASE}/LessTif/Motif1.2/lib
post-configure:
@${ECHO} '' >>${WRKSRC}/config.h
@${ECHO} '#define PREFIX "${PREFIX}"' >>${WRKSRC}/config.h
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_DIR} ${PREFIX}/share/mosaic
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/xpm/buildlink3.mk"
.include "../../mk/motif.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"