diff options
author | trevor <trevor@FreeBSD.org> | 2000-12-27 14:54:33 +0800 |
---|---|---|
committer | trevor <trevor@FreeBSD.org> | 2000-12-27 14:54:33 +0800 |
commit | baf39bb47404ef285eca62b40fdc468edbf1ac41 (patch) | |
tree | 2c6b21505a385af9d2a52a3720505ece50ce17a2 | |
parent | 944a93d8f684dc324a93e61c6cb5d4964dd29583 (diff) | |
download | freebsd-ports-gnome-baf39bb47404ef285eca62b40fdc468edbf1ac41.tar.gz freebsd-ports-gnome-baf39bb47404ef285eca62b40fdc468edbf1ac41.tar.zst freebsd-ports-gnome-baf39bb47404ef285eca62b40fdc468edbf1ac41.zip |
Add new port of mMosaic, a Web browser based partly on NCSA Mosaic,
but with many modernizations.
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/mmosaic/Makefile | 41 | ||||
-rw-r--r-- | www/mmosaic/distinfo | 1 | ||||
-rw-r--r-- | www/mmosaic/files/patch-Makefile | 147 | ||||
-rw-r--r-- | www/mmosaic/pkg-comment | 1 | ||||
-rw-r--r-- | www/mmosaic/pkg-descr | 16 |
6 files changed, 207 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index 9c2b7a95fe76..15778e249f0a 100644 --- a/www/Makefile +++ b/www/Makefile @@ -96,6 +96,7 @@ SUBDIR += marc-search SUBDIR += mathopd SUBDIR += mhonarc + SUBDIR += mmosaic SUBDIR += mod_access_referer SUBDIR += mod_auth_mysql SUBDIR += mod_dav diff --git a/www/mmosaic/Makefile b/www/mmosaic/Makefile new file mode 100644 index 000000000000..f0cf592fdb6b --- /dev/null +++ b/www/mmosaic/Makefile @@ -0,0 +1,41 @@ +# New ports collection makefile for: mmosaic +# Date created: 2000-12-26 +# Whom: trevor +# +# $FreeBSD$ +# + +PORTNAME= mmosaic +PORTVERSION= 3.7.1 +CATEGORIES= www +MASTER_SITES= ftp://ftp.enst.fr/pub/mbone/mMosaic/ +DISTNAME= mMosaic-${PORTVERSION} + +MAINTAINER= trevor@FreeBSD.org + +LIB_DEPENDS= png.4:${PORTSDIR}/graphics/png + +NO_CDROM= "academic, research and internal business purposes only, without a fee" +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} + +post-patch: + ${PERL} -pi -e "s:LOCALBASE:${LOCALBASE}:g" ${WRKSRC}/Makefile + ${PERL} -pi -e "s:X11BASE:${X11BASE}:g" ${WRKSRC}/Makefile + +pre-install: + ${ECHO} bin/mmosaic > ${PLIST} + cd ${WRKSRC}/Copyrights; for i in `find * -type f`; do \ + ${ECHO} share/doc/mmosaic/$${i} >> ${PLIST}; \ + done + +do-install: + ${MKDIR} ${PREFIX}/share/doc/mmosaic/ + ${INSTALL_DATA} ${WRKSRC}/Copyrights/* ${PREFIX}/share/doc/mmosaic/ +# ${INSTALL_DATA} ${WRKSRC}/app-def/app-defaults.color ${PREFIX}/lib/X11/app-defaults/mMosaic + ${INSTALL_PROGRAM} ${WRKSRC}/src/mMosaic ${PREFIX}/bin/mmosaic + +.include <bsd.port.mk> diff --git a/www/mmosaic/distinfo b/www/mmosaic/distinfo new file mode 100644 index 000000000000..da03dc47b1e4 --- /dev/null +++ b/www/mmosaic/distinfo @@ -0,0 +1 @@ +MD5 (mMosaic-3.7.1.tar.gz) = 788478783817fb26aa136fe4cfb4e42f diff --git a/www/mmosaic/files/patch-Makefile b/www/mmosaic/files/patch-Makefile new file mode 100644 index 000000000000..2d72221aac51 --- /dev/null +++ b/www/mmosaic/files/patch-Makefile @@ -0,0 +1,147 @@ +--- Makefile.orig Fri Dec 8 08:00:44 2000 ++++ Makefile Tue Dec 26 22:01:42 2000 +@@ -21,7 +21,7 @@ + ## + + #CC = gcc +-CC = cc ++CC ?= cc + #CC = CC + + ## +@@ -49,7 +49,7 @@ + # SGI Mipspro + #prereleaseflags = -g -n32 -Xcpluscomm -woff 1009,1014,1048,1110,1116,1185,1188,1204,1230,1233 + # Sun Workshop C Compiler +-prereleaseflags = -v -g -xstrconst ++#prereleaseflags = -v -g -xstrconst + # Sun Workshop C++ Compiler + #prereleaseflags = +w -g + +@@ -61,9 +61,9 @@ + ## + + # Linux, NetBSD, FreeBSD, BSDI, OSF1, SunOS4this +-#RANLIB = ranlib ++RANLIB = ranlib + # SVR4, Irix, AIX, Qnx, Solaris 2.x +-RANLIB = /bin/true ++#RANLIB = /bin/true + + ## + ## System configuration flags +@@ -84,13 +84,13 @@ + # Qnx + #sysconfigflags = -DQNX + # FreeBSD +-#sysconfigflags = -DFreeBSD ++sysconfigflags = -DFreeBSD + # NetBSD + #sysconfigflags = -DNETBSD + # Irix + #sysconfigflags = -DSVR4 -DIRIX + # Solaris2.5 & 2.5.1 +-sysconfigflags = -DSOLARIS -DSVR4 ++#sysconfigflags = -DSOLARIS -DSVR4 + + # Use Motif 1.2.x + sysconfigflags += -DMOTIF1_2 +@@ -122,7 +122,7 @@ + # Irix + #syslibs = -lPW + # Solaris 2.x, Motorola SVR4 +-syslibs = -lsocket -lnsl -ldl ++#syslibs = -lsocket -lnsl -ldl + + ## + ## X11 includes +@@ -133,13 +133,13 @@ + #xinc = -I/usr/include/X11 + #xinc = -I/usr/X11/include + # Linux, FreeBSD +-#xinc = -I/usr/X11R6/include ++xinc = -I/X11BASE/include + # Irix + #xinc = -I/usr/include + # Solaris 2.x + #xinc = -I/usr/openwin/include -I/usr/dt/include + #solaris8 +-xinc = -I/usr/openwin/include -I/usr/dt/include -DMOTIF12_HEADERS ++#xinc = -I/usr/openwin/include -I/usr/dt/include -DMOTIF12_HEADERS + + + ## +@@ -159,16 +159,16 @@ + # QNX + #xlibs = -L/usr/X11/lib -lXm_s -lXt_s -lX11_s -lXqnx_s -lXt -lXmu -lXext + # Linux, FreeBSD, NetBSD with Lesstif +-#xlibs = -L/usr/X11R6/lib -lXm -lXmu -lXt -lXext -lX11 -lm ++xlibs = -L/X11BASE/lib -lXm -lXmu -lXt -lXext -lX11 -lm + # some distrib. of Linux require -lSM -lICE + # Linux Red Hat 6.1 lesstif-0.88.1-3 kernel 2.2.12-20 + #xlibs = -L/usr/X11R6/lib -lXm -lXmu -lXt -lXext -lX11 -lm -lSM -lICE + # Irix + #xlibs = -L/usr/lib32 -lXm -lXmu -lXt -lXext -lX11 -lm + # Solaris 2.x +-xlibs = -L/usr/openwin/lib -R/usr/openwin/lib -L/usr/dt/lib -R/usr/dt/lib ++#xlibs = -L/usr/openwin/lib -R/usr/openwin/lib -L/usr/dt/lib -R/usr/dt/lib + #xlibs += -lXm -lXmu -lXt -lXext -lX11 -lm +-xlibs += -lXm12 -lXmu -lXt -lXext -lX11 -lm ++#xlibs += -lXm12 -lXmu -lXt -lXext -lX11 -lm + + # + # private +@@ -185,11 +185,11 @@ + #pnginc = /usr/local/include + #pnglibs = /usr/local/lib/libpng.a /usr/lib32/libz.a + # FreeBSD +-#pnginc = /usr/local/include +-#pnglibs = /usr/local/lib/libpng.a /usr/lib/libz.a +-# Solaris +-pnginc = /usr/local/include +-pnglibs = /usr/local/lib/libpng.a /usr/local/lib/libz.a ++pnginc = LOCALBASE/include ++pnglibs = LOCALBASE/lib/libpng.a /usr/lib/libz.a ++# Solaris ++#pnginc = /usr/local/include ++#pnglibs = /usr/local/lib/libpng.a /usr/local/lib/libz.a + + # To disable PNG support comment this. + +@@ -249,20 +249,20 @@ + ## OBJECT dynamique plugin support (new and experimental) + ## + +-plugflags = -DOBJECT ++#plugflags = -DOBJECT + + # to compile plugins given as examples +-PLUGINCDIR = $(PWD)/libhtmlw +-PLUGINC = -I$(PLUGINCDIR) +-INSTALL_PLUG_DIR = /usr/local/mMosaic/plugins +-explugdir = $(PWD)/plugins/examples ++#PLUGINCDIR = $(PWD)/libhtmlw ++#PLUGINC = -I$(PLUGINCDIR) ++#INSTALL_PLUG_DIR = /usr/local/mMosaic/plugins ++#explugdir = $(PWD)/plugins/examples + # for gcc + #explugccflag = -fpic + #explugldflag = -shared + # + # for Solaris cc workshop +-explugccflag = -I$(plugdir) -KPIC +-explugldflag = -G ++#explugccflag = -I$(plugdir) -KPIC ++#explugldflag = -G + + ## + ## Customization flags +@@ -295,7 +295,7 @@ + ## + + ARCHIVEDIR = /enst/ftp/pub/mbone/mMosaic +-CFLAGS = $(sysconfigflags) $(prereleaseflags) $(mcflag) $(plugflags) $(customflags) ++CFLAGS += $(sysconfigflags) $(prereleaseflags) $(mcflag) $(plugflags) $(customflags) + + all: libhtmlw libnut $(mclib) $(explugdir) src + @echo \*\*\* Welcome to mMosaic. diff --git a/www/mmosaic/pkg-comment b/www/mmosaic/pkg-comment new file mode 100644 index 000000000000..71498344a9ac --- /dev/null +++ b/www/mmosaic/pkg-comment @@ -0,0 +1 @@ +Web browser based in part on Mosaic, but with many modernizations diff --git a/www/mmosaic/pkg-descr b/www/mmosaic/pkg-descr new file mode 100644 index 000000000000..d18aa417033b --- /dev/null +++ b/www/mmosaic/pkg-descr @@ -0,0 +1,16 @@ +This is a Web browser based partly on NCSA Mosaic. It supports +multiple windows, tables, PNG and JPEG images, and frames. + +In this port, IPv6 does not work, nor do X resources. + +Its components are licensed variously. It may be used internally +in a business, but may not be sold. Once compiled, the program +must not be distributed, because conflicts among the licenses. +Its source cannot be distributed if it is needed for a product +being sold by the person doing the distributing. See +http://perso.enst.fr/~dauphin/mMosaic/copyrights/index.html . + +WWW: http://www.enst.fr/~dauphin/mMosaic/ + +Trevor Johnson +trevor@jpj.net |