2000-12-27 01:54:33 -05:00
|
|
|
# New ports collection makefile for: mmosaic
|
|
|
|
# Date created: 2000-12-26
|
|
|
|
# Whom: trevor
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= mmosaic
|
2001-02-13 17:18:09 -05:00
|
|
|
PORTVERSION= 3.7.2
|
2004-04-14 03:12:47 -04:00
|
|
|
PORTREVISION?= 1
|
2000-12-27 01:54:33 -05:00
|
|
|
CATEGORIES= www
|
2001-05-01 21:10:51 -04:00
|
|
|
MASTER_SITES= ftp://ftp.enst.fr/pub/mbone/mMosaic/ \
|
2001-06-01 15:08:22 -04:00
|
|
|
ftp://ftp.uni-koeln.de/net/inet/WWW/mosaic/unix/ \
|
|
|
|
ftp://ftp.netsw.org/netsw/InfoSys/WWW/ClientSide/Browser/mosaic/ \
|
|
|
|
ftp://ftp.icm.edu.pl/vol/rzm0/mMosaic/
|
2000-12-27 01:54:33 -05:00
|
|
|
DISTNAME= mMosaic-${PORTVERSION}
|
|
|
|
|
2004-04-07 09:41:20 -04:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-01 09:34:33 -05:00
|
|
|
COMMENT= Web browser based on Mosaic, but with many modernizations
|
2000-12-27 01:54:33 -05:00
|
|
|
|
2004-04-08 23:24:13 -04:00
|
|
|
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
|
|
|
|
png.5:${PORTSDIR}/graphics/png
|
2000-12-27 01:54:33 -05:00
|
|
|
|
2004-04-07 09:40:23 -04:00
|
|
|
NO_CDROM="academic, research and internal business purposes only, without a fee"
|
2000-12-27 01:54:33 -05:00
|
|
|
NO_PACKAGE= "must cause any work...derived...to be licensed as a whole...under...this License"
|
|
|
|
PLIST= ${WRKDIR}/pkg-plist
|
|
|
|
USE_MOTIF= yes
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
WRKSRC= ${WRKDIR}/mMosaic-src-${PORTVERSION}
|
|
|
|
|
2003-01-17 07:44:07 -05:00
|
|
|
post-patch:
|
|
|
|
.for ii in libhtmlw/HTML-PSformat.c libhtmlw/HTML.c libhtmlw/HTMLcolors.c \
|
|
|
|
libmc/mc_obj.c libnut/list.c src/proxy-dialogs.c
|
|
|
|
${MV} ${WRKSRC}/${ii} ${WRKSRC}/${ii}.orig
|
|
|
|
${GREP} -v malloc.h ${WRKSRC}/${ii}.orig > ${WRKSRC}/${ii}
|
|
|
|
.endfor
|
|
|
|
|
2000-12-27 01:54:33 -05:00
|
|
|
pre-install:
|
2002-01-29 07:08:37 -05:00
|
|
|
${ECHO_CMD} bin/mmosaic > ${PLIST}
|
2004-04-14 03:12:47 -04:00
|
|
|
.if !defined(NOPORTDOCS)
|
2003-11-13 07:54:57 -05:00
|
|
|
cd ${WRKSRC}/Copyrights; for i in `${FIND} * -type f`; do \
|
2004-04-14 03:12:47 -04:00
|
|
|
${ECHO_CMD} %%DOCSDIR%%/$${i} >> ${PLIST}; \
|
2000-12-27 01:54:33 -05:00
|
|
|
done
|
2004-04-14 03:12:47 -04:00
|
|
|
${ECHO_CMD} @dirrm %%DOCSDIR%% >> ${PLIST}
|
|
|
|
.endif
|
2000-12-27 01:54:33 -05:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/mMosaic ${PREFIX}/bin/mmosaic
|
2004-04-14 03:12:47 -04:00
|
|
|
# ${INSTALL_DATA} ${WRKSRC}/app-def/app-defaults.color ${PREFIX}/lib/X11/app-defaults/mMosaic
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/Copyrights/* ${DOCSDIR}/
|
|
|
|
.endif
|
2000-12-27 01:54:33 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|