Add lesstif 0.82 port.
This commit is contained in:
parent
ae2ef36df9
commit
9163e59772
64
x11/lesstif/Makefile
Normal file
64
x11/lesstif/Makefile
Normal file
@ -0,0 +1,64 @@
|
||||
# OpenBSD makefile for: lesstif
|
||||
# Version required: 0.82
|
||||
# Date created: December 1, 1997
|
||||
# Whom: Angelos D. Keromytis
|
||||
#
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 1997/12/03 04:05:23 angelos Exp $
|
||||
#
|
||||
|
||||
DISTNAME= lesstif-0.82
|
||||
CATEGORIES= x11
|
||||
MASTER_SITES= ftp://ftp.lesstif.org/pub/hungry/lesstif/ \
|
||||
ftp://ftp.hungry.com/pub/hungry/lesstif/
|
||||
|
||||
MAINTAINER= angelos@openbsd.org
|
||||
|
||||
# see below for shared lib version information
|
||||
|
||||
MANUAL_PACKAGE_BUILD= do not want to install during interactive build
|
||||
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
|
1
x11/lesstif/files/md5
Normal file
1
x11/lesstif/files/md5
Normal file
@ -0,0 +1 @@
|
||||
MD5 (lesstif-0.82.tar.gz) = c612c843030c622fea626a73de340dd0
|
20
x11/lesstif/patches/patch-aa
Normal file
20
x11/lesstif/patches/patch-aa
Normal file
@ -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=82
|
||||
+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=""
|
15
x11/lesstif/patches/patch-ab
Normal file
15
x11/lesstif/patches/patch-ab
Normal file
@ -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
|
8
x11/lesstif/patches/patch-ac
Normal file
8
x11/lesstif/patches/patch-ac
Normal file
@ -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
|
18
x11/lesstif/patches/patch-ad
Normal file
18
x11/lesstif/patches/patch-ad
Normal file
@ -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}
|
10
x11/lesstif/patches/patch-ae
Normal file
10
x11/lesstif/patches/patch-ae
Normal file
@ -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
|
||||
|
1
x11/lesstif/pkg/COMMENT
Normal file
1
x11/lesstif/pkg/COMMENT
Normal file
@ -0,0 +1 @@
|
||||
API compatible clone of the Motif toolkit.
|
3
x11/lesstif/pkg/DESCR
Normal file
3
x11/lesstif/pkg/DESCR
Normal file
@ -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.
|
141
x11/lesstif/pkg/PLIST
Normal file
141
x11/lesstif/pkg/PLIST
Normal file
@ -0,0 +1,141 @@
|
||||
bin/mwm
|
||||
bin/mxmkmf
|
||||
bin/uil
|
||||
bin/xmbind
|
||||
include/Mrm/MrmAppl.h
|
||||
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
|
Loading…
x
Reference in New Issue
Block a user