diff options
author | hubertf <hubertf> | 1997-11-02 02:45:51 +0000 |
---|---|---|
committer | hubertf <hubertf> | 1997-11-02 02:45:51 +0000 |
commit | ff3330fe91485e717d10efd870c7b0e6cf393c61 (patch) | |
tree | 2710adf52921c078140a93944b1ebd4271f06a9c | |
parent | ec374d3bcbc5e00221e99009889c923e02d33668 (diff) | |
download | pkgsrc-ff3330fe91485e717d10efd870c7b0e6cf393c61.tar.gz |
Import Motif-clone
-rw-r--r-- | x11/lesstif/Makefile | 63 | ||||
-rw-r--r-- | x11/lesstif/files/md5 | 1 | ||||
-rw-r--r-- | x11/lesstif/patches/patch-aa | 20 | ||||
-rw-r--r-- | x11/lesstif/patches/patch-ab | 15 | ||||
-rw-r--r-- | x11/lesstif/patches/patch-ac | 8 | ||||
-rw-r--r-- | x11/lesstif/patches/patch-ad | 18 | ||||
-rw-r--r-- | x11/lesstif/patches/patch-ae | 10 | ||||
-rw-r--r-- | x11/lesstif/pkg/COMMENT | 1 | ||||
-rw-r--r-- | x11/lesstif/pkg/DESCR | 3 | ||||
-rw-r--r-- | x11/lesstif/pkg/PLIST | 140 |
10 files changed, 279 insertions, 0 deletions
diff --git a/x11/lesstif/Makefile b/x11/lesstif/Makefile new file mode 100644 index 00000000000..4224ab776f8 --- /dev/null +++ b/x11/lesstif/Makefile @@ -0,0 +1,63 @@ +# New ports collection makefile for: lesstif +# Version required: 0.81 +# Date created: December 10, 1996 +# Whom: 1wardd@airmail.net +# +# $Id: Makefile,v 1.1.1.1 1997/11/02 02:45:51 hubertf Exp $ +# + +DISTNAME= lesstif-0.81 +CATEGORIES= x11 +MASTER_SITES= ftp://ftp.lesstif.org/pub/hungry/lesstif/ \ + ftp://ftp.hungry.com/pub/hungry/lesstif/ + +MAINTAINER= ports@FreeBSD.org + +# see below for shared lib version information + +GNU_CONFIGURE= yes +USE_X11= yes +# change this and remove the strip statement in post-install for debugging +CONFIGURE_ENV= CCFLAGS="-O -pipe" + +.if defined(HAVE_MOTIF) +IS_INTERACTIVE= yes +pre-fetch: + @echo "***********************************************************" + @echo "* W a r n i n g *" + @echo "* This port will overwrite your Motif installation. *" + @echo "***********************************************************" + @echo -n "Is this ok? (y/n) ==> " + @(read ans; \ + case x"$$ans" in \ + xy*|xY*) \ + return 0; \ + ;; \ + *) \ + echo "Okay, I won't install it then...."; \ + echo "(Don't worry about the following \"*** Error code 1\"s)"; \ + return 1; \ + ;; \ + esac) +.endif + + +post-install: + ${MKDIR} ${PREFIX}/lib/X11/mwm ${PREFIX}/lib/X11/app-defaults + ${INSTALL_DATA} ${WRKSRC}/clients/Motif-1.2/mwm/system.mwmrc \ + ${PREFIX}/lib/X11/mwm + ${INSTALL_DATA} ${WRKSRC}/clients/Motif-1.2/mwm/alt.map ${PREFIX}/lib/X11/mwm + ${INSTALL_DATA} ${WRKSRC}/clients/Motif-1.2/mwm/Mwm \ + ${PREFIX}/lib/X11/app-defaults/Mwm + /usr/bin/strip ${PREFIX}/lib/libXm.so.0.1 ${PREFIX}/lib/libMrm.so.0.1 + ${LDCONFIG} -m ${PREFIX}/lib + +.include <bsd.port.mk> + + +# Shared lib versions +# dist version BSD shared lib version +# ------------ ---------------------- +# 0.78 0.0 +# 0.79 0.1 +# 0.80 0.1 diff --git a/x11/lesstif/files/md5 b/x11/lesstif/files/md5 new file mode 100644 index 00000000000..39e58b7587c --- /dev/null +++ b/x11/lesstif/files/md5 @@ -0,0 +1 @@ +MD5 (lesstif-0.81.tar.gz) = a77362a3869d5aba8868b7e3de9d496f diff --git a/x11/lesstif/patches/patch-aa b/x11/lesstif/patches/patch-aa new file mode 100644 index 00000000000..f81b82c3dca --- /dev/null +++ b/x11/lesstif/patches/patch-aa @@ -0,0 +1,20 @@ +--- configure.orig Fri Sep 5 19:47:03 1997 ++++ configure Mon Sep 8 10:07:36 1997 +@@ -2556,7 +2556,7 @@ + + + major_shared=0 +-minor_shared=81 ++minor_shared=1 + pico_version= + + +@@ -2591,7 +2591,7 @@ + + lexicographic_readdir=1 + +-CFLAGS="$debug_flag $verbose_flag $production_flag" ++CFLAGS="$CCFLAGS $verbose_flag $production_flag" + GPROF_FLAGS="-pg" + GPROF_CFLAGS="" + EXTRACFLAGS="" diff --git a/x11/lesstif/patches/patch-ab b/x11/lesstif/patches/patch-ab new file mode 100644 index 00000000000..e6db65f5f22 --- /dev/null +++ b/x11/lesstif/patches/patch-ab @@ -0,0 +1,15 @@ +--- lib/config/Makefile.in.orig Mon Apr 28 19:29:10 1997 ++++ lib/config/Makefile.in Fri May 23 01:24:36 1997 +@@ -47,10 +47,10 @@ + install: $(STUFF) + -mkdir -p ${x_config_path} + for i in ${STUFF} ; do \ +- ${INSTALL_PROGRAM} $$i ${x_config_path} ; \ ++ ${BSD_INSTALL_DATA} $$i ${x_config_path} ; \ + done + -mkdir -p ${bin_dir} +- ${INSTALL_PROGRAM} mxmkmf ${bin_dir} ++ ${BSD_INSTALL_SCRIPT} mxmkmf ${bin_dir} + + clean: + rm -f Imake.tmpl Motif.rules Motif.tmpl mxmkmf diff --git a/x11/lesstif/patches/patch-ac b/x11/lesstif/patches/patch-ac new file mode 100644 index 00000000000..ca29d6054b8 --- /dev/null +++ b/x11/lesstif/patches/patch-ac @@ -0,0 +1,8 @@ +--- lib/config/mxmkmf.in.orig Wed Feb 19 20:53:22 1997 ++++ lib/config/mxmkmf.in Tue Feb 25 11:24:59 1997 +@@ -5,4 +5,4 @@ + # Make sure to read the LessTif configuration first, to pick up + # that version of Imake.tmpl + # +-imake -DUseInstalled -I@prefix@/lib/config -I@x_lib_path@/X11/config ++imake -DUseInstalled -I@prefix@/lib/X11/lesstif -I@x_lib_path@/X11/config diff --git a/x11/lesstif/patches/patch-ad b/x11/lesstif/patches/patch-ad new file mode 100644 index 00000000000..abf424ec7a7 --- /dev/null +++ b/x11/lesstif/patches/patch-ad @@ -0,0 +1,18 @@ +--- config/free_net-bsd-shared.mk.orig Mon Apr 28 19:26:48 1997 ++++ config/free_net-bsd-shared.mk Thu May 22 22:59:55 1997 +@@ -26,15 +26,10 @@ + + ${SHARED_LIB}: $(SH_OBJS) + ld -Bshareable -o ${SHARED_LIB} ${SH_OBJS} +- chmod a+x ${SHARED_LIB} +- rm -f lib${lib_name}.so +- ln -s ${SHARED_LIB} lib${lib_name}.so + + install:: ${SHARED_LIB} + mkdir -p ${lib_dir} + ${INSTALL_DATA} ${SHARED_LIB} ${lib_dir} +- rm -f ${lib_dir}/lib${lib_name}.so +- ln -s ${lib_dir}/${SHARED_LIB} ${lib_dir}/lib${lib_name}.so + + clean:: + rm -f ${SHARED_LIB} lib${lib_name}.so ${SH_OBJS} diff --git a/x11/lesstif/patches/patch-ae b/x11/lesstif/patches/patch-ae new file mode 100644 index 00000000000..520fa2dec8a --- /dev/null +++ b/x11/lesstif/patches/patch-ae @@ -0,0 +1,10 @@ +--- clients/Motif-1.2/mwm/Makefile.in.orig Mon Apr 28 19:25:17 1997 ++++ clients/Motif-1.2/mwm/Makefile.in Mon Apr 21 10:19:32 1997 +@@ -88,6 +88,6 @@ + + mwmlex.o: y.tab.h + +-$(srcdir)/version.h: Makefile ++version.h $(srcdir)/version.h: Makefile + echo "#define VERSION \"@major_shared@.@minor_shared@\"" > $(srcdir)/version.h + diff --git a/x11/lesstif/pkg/COMMENT b/x11/lesstif/pkg/COMMENT new file mode 100644 index 00000000000..1493819b9d0 --- /dev/null +++ b/x11/lesstif/pkg/COMMENT @@ -0,0 +1 @@ +API compatible clone of the Motif toolkit. diff --git a/x11/lesstif/pkg/DESCR b/x11/lesstif/pkg/DESCR new file mode 100644 index 00000000000..92c0f1b15ee --- /dev/null +++ b/x11/lesstif/pkg/DESCR @@ -0,0 +1,3 @@ +LessTif is a API compatible clone of the Motif toolkit. Currently +LessTif is partially implemented with most of the API in place. +Saying this a lot of the internal functionality is still missing. diff --git a/x11/lesstif/pkg/PLIST b/x11/lesstif/pkg/PLIST new file mode 100644 index 00000000000..b461ed3d586 --- /dev/null +++ b/x11/lesstif/pkg/PLIST @@ -0,0 +1,140 @@ +bin/mwm +bin/mxmkmf +bin/uil +bin/xmbind +include/Mrm/MrmDecls.h +include/Mrm/MrmPrivate.h +include/Mrm/MrmPublic.h +include/Xm/ArrowB.h +include/Xm/ArrowBG.h +include/Xm/ArrowBGP.h +include/Xm/ArrowBP.h +include/Xm/AtomMgr.h +include/Xm/BaseClassP.h +include/Xm/BulletinB.h +include/Xm/BulletinBP.h +include/Xm/CacheP.h +include/Xm/CascadeB.h +include/Xm/CascadeBG.h +include/Xm/CascadeBGP.h +include/Xm/CascadeBP.h +include/Xm/Command.h +include/Xm/CommandP.h +include/Xm/CutPaste.h +include/Xm/CutPasteP.h +include/Xm/DesktopP.h +include/Xm/DialogS.h +include/Xm/DialogSEP.h +include/Xm/DialogSP.h +include/Xm/Display.h +include/Xm/DisplayP.h +include/Xm/DragC.h +include/Xm/DragCP.h +include/Xm/DragDrop.h +include/Xm/DragIcon.h +include/Xm/DragIconP.h +include/Xm/DragOverS.h +include/Xm/DragOverSP.h +include/Xm/DrawP.h +include/Xm/DrawingA.h +include/Xm/DrawingAP.h +include/Xm/DrawnB.h +include/Xm/DrawnBP.h +include/Xm/DropSMgr.h +include/Xm/DropSMgrP.h +include/Xm/DropTrans.h +include/Xm/DropTransP.h +include/Xm/ExtObjectP.h +include/Xm/FileSB.h +include/Xm/FileSBP.h +include/Xm/Form.h +include/Xm/FormP.h +include/Xm/Frame.h +include/Xm/FrameP.h +include/Xm/GadgetP.h +include/Xm/Label.h +include/Xm/LabelG.h +include/Xm/LabelGP.h +include/Xm/LabelP.h +include/Xm/List.h +include/Xm/ListP.h +include/Xm/MainW.h +include/Xm/MainWP.h +include/Xm/ManagerP.h +include/Xm/MenuShell.h +include/Xm/MenuShellP.h +include/Xm/MenuUtilP.h +include/Xm/MessageB.h +include/Xm/MessageBP.h +include/Xm/MwmUtil.h +include/Xm/PanedW.h +include/Xm/PanedWP.h +include/Xm/PrimitiveP.h +include/Xm/Protocols.h +include/Xm/ProtocolsP.h +include/Xm/PushB.h +include/Xm/PushBG.h +include/Xm/PushBGP.h +include/Xm/PushBP.h +include/Xm/RCUtilsP.h +include/Xm/RepType.h +include/Xm/RowColumn.h +include/Xm/RowColumnP.h +include/Xm/SashP.h +include/Xm/Scale.h +include/Xm/ScaleP.h +include/Xm/Screen.h +include/Xm/ScreenP.h +include/Xm/ScrollBar.h +include/Xm/ScrollBarP.h +include/Xm/ScrolledW.h +include/Xm/ScrolledWP.h +include/Xm/SelectioB.h +include/Xm/SelectioBP.h +include/Xm/SeparatoG.h +include/Xm/SeparatoGP.h +include/Xm/Separator.h +include/Xm/SeparatorP.h +include/Xm/ShellEP.h +include/Xm/TearOffBP.h +include/Xm/TearOffP.h +include/Xm/Text.h +include/Xm/TextF.h +include/Xm/TextFP.h +include/Xm/TextFSelP.h +include/Xm/TextInP.h +include/Xm/TextOutP.h +include/Xm/TextP.h +include/Xm/TextSelP.h +include/Xm/TextStrSoP.h +include/Xm/ToggleB.h +include/Xm/ToggleBG.h +include/Xm/ToggleBGP.h +include/Xm/ToggleBP.h +include/Xm/TransltnsP.h +include/Xm/VaSimpleP.h +include/Xm/VendorS.h +include/Xm/VendorSEP.h +include/Xm/VendorSP.h +include/Xm/VirtKeys.h +include/Xm/VirtKeysP.h +include/Xm/WorldP.h +include/Xm/Xm.h +include/Xm/XmAll.h +include/Xm/XmP.h +include/Xm/XmStrDefs.h +include/Xm/XmosP.h +lib/X11/app-defaults/Mwm +lib/X11/mwm/alt.map +lib/X11/mwm/system.mwmrc +lib/config/Imake.tmpl +lib/config/Motif.rules +lib/config/Motif.tmpl +lib/libMrm.so.0.1 +lib/libXm.so.0.1 +lib/libltc.a +@exec /sbin/ldconfig -m %D/lib +@dirrm lib/X11/mwm +@dirrm lib/config +@dirrm include/Xm +@dirrm include/Mrm |