Welcome the new x11-tookits/Xmt port.

Xmt is a Motif Tools library, introduced in the book Motif Tools
(ISBN 1-56592-044-9). The Xmt Motif Tools library provides developers
of user interfaces tools that make Motif easier to use.  Xmt consists
of the core library of additional widgets, utility programs, docs,
tutorials, and example code.

WWW: http://motiftools.sourceforge.net/
This commit is contained in:
Cy Schubert 2016-03-28 06:10:10 +00:00
parent 9067491cb6
commit f42e890516
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=412033
9 changed files with 422 additions and 0 deletions

View file

@ -5,6 +5,7 @@
SUBDIR += SoXt
SUBDIR += Xaw3d
SUBDIR += Xmt
SUBDIR += attica
SUBDIR += bakery
SUBDIR += blt

24
x11-toolkits/Xmt/Makefile Normal file
View file

@ -0,0 +1,24 @@
# $FreeBSD$
PORTNAME= Xmt
PORTVERSION= 4.0.0
CATEGORIES= x11-toolkits
MASTER_SITES= SF/${PORTNAME}/Xmt/Xmt400
DISTNAME= xmt400
MAINTAINER= cy@FreeBSD.org
COMMENT= Xmt is a Motif Tools library
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
WRKSRC= ${WRKDIR}/xmt400
USES= motif imake tar:tgz
USE_LDCONFIG= yes
MAKE_ENV= LANG=C
post-patch:
${TOUCH} ${WRKSRC}/clients/mockup.man
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
SHA256 (xmt400.tgz) = f6d322fab6435676bd3ca6f6eccfa3576feec0a4cb8726d565ad9902652229ec
SIZE (xmt400.tgz) = 571615

View file

@ -0,0 +1,8 @@
--- Imakefile.orig 2001-07-14 15:40:16.000000000 -0700
+++ Imakefile 2016-03-26 23:12:38.339575000 -0700
@@ -63,4 +63,4 @@
/*
* target to install Xmt.tmpl in /usr/lib/X11/config
*/
-InstallNonExec(Xmt.tmpl, $(IRULESRC))
+InstallNonExec(Xmt.tmpl,$(IRULESRC))

View file

@ -0,0 +1,44 @@
--- Xmt.tmpl.orig 2001-09-25 19:47:00.000000000 -0700
+++ Xmt.tmpl 2016-03-26 22:28:27.571053000 -0700
@@ -13,7 +13,7 @@
* set to YES.
*/
#define DoNormalLib YES
-#define DoSharedLib NO
+#define DoSharedLib YES
#define DoDebugLib NO
#define DoProfileLib NO
@@ -35,10 +35,10 @@
* the make install and make install.man from the Xmt and man
* subdirectories, respectively.
*/
- XMTLIBDIR = /usr/lib
- XMTINCDIR = /usr/include
- XMTMANDIR = /usr/man/man3
- XMTMANSUFFIX = 3x
+ XMTLIBDIR = /usr/local/lib
+ XMTINCDIR = /usr/local/include
+ XMTMANDIR = /usr/local/man/man3
+ XMTMANSUFFIX = 3
/*
* These variables specify where the compiler should look for your
* installed Motif and Xt libraries and header files. They are
@@ -51,13 +51,13 @@
* files, but not all sites have those templates installed properly,
* so Xmt requires that you explicitly specify the information here.)
*/
- XMTXTLIB = -L/usr/X11R6/lib
- XMTXTINC = -I/usr/X11R6/include
- XMTXMLIB = -L/usr/X11R6/Motif1.2/lib
- XMTXMINC = -I/usr/X11R6/Motif1.2/include
+ XMTXTLIB = -L${LOCALBASE}/lib
+ XMTXTINC = -I${LOCALBASE}/include
+ XMTXMLIB = -L${LOCALBASE}/lib
+ XMTXMINC = -I${LOCALBASE}/include
/*
XMTXMLIB = -L/usr/X11R6/LessTif/Motif1.2/lib
XMTXMINC = -I/usr/X11R6/LessTif/Motif1.2/include
*/
/*

View file

@ -0,0 +1,11 @@
--- Xmt/Layout.c.orig 2001-07-06 18:38:33.000000000 -0700
+++ Xmt/Layout.c 2016-03-26 11:28:48.423314000 -0700
@@ -1497,7 +1497,7 @@
Dimension width, height, border_width;
if (XtIsShell(w)) {
- return;
+ return(0);
}
/* this is case 2 described above */

View file

@ -0,0 +1,14 @@
--- clients/Imakefile.orig 2001-02-10 05:52:34.000000000 -0800
+++ clients/Imakefile 2016-03-27 22:42:40.102281000 -0700
@@ -24,7 +24,7 @@
#endif
ComplexProgramTarget(mockup)
-InstallProgram(checkres, $(BINDIR))
-InstallProgram(ad2c, $(BINDIR))
-InstallProgram(xbm2res, $(BINDIR))
-InstallProgram(xpm2res, $(BINDIR))
+InstallNamedProg(checkres,checkres,$(BINDIR))
+InstallNamedProg(ad2c,ad2c,$(BINDIR))
+InstallNamedProg(xbm2res,xbm2res,$(BINDIR))
+InstallNamedProg(xpm2res,xpm2res,$(BINDIR))

View file

@ -0,0 +1,7 @@
Xmt is a Motif Tools library, introduced in the book Motif Tools
(ISBN 1-56592-044-9). The Xmt Motif Tools library provides developers
of user interfaces tools that make Motif easier to use. Xmt consists
of the core library of additional widgets, utility programs, docs,
tutorials, and example code.
WWW: http://motiftools.sourceforge.net/

311
x11-toolkits/Xmt/pkg-plist Normal file
View file

@ -0,0 +1,311 @@
bin/ad2c
bin/checkres
bin/mockup
bin/xbm2res
bin/xpm2res
include/Xmt/All.h
include/Xmt/AppRes.h
include/Xmt/AppResP.h
include/Xmt/Chooser.h
include/Xmt/ChooserP.h
include/Xmt/Cli.h
include/Xmt/CliP.h
include/Xmt/Color.h
include/Xmt/Converters.h
include/Xmt/ConvertersP.h
include/Xmt/Create.h
include/Xmt/Dialog.h
include/Xmt/DialogP.h
include/Xmt/Dialogs.h
include/Xmt/DialogsP.h
include/Xmt/Hash.h
include/Xmt/Help.h
include/Xmt/HelpBox.h
include/Xmt/HelpBoxP.h
include/Xmt/HelpBrowser.h
include/Xmt/HelpBrowserP.h
include/Xmt/Icon.h
include/Xmt/Include.h
include/Xmt/InputField.h
include/Xmt/InputFieldP.h
include/Xmt/Layout.h
include/Xmt/LayoutG.h
include/Xmt/LayoutGP.h
include/Xmt/LayoutP.h
include/Xmt/Lexer.h
include/Xmt/LookupP.h
include/Xmt/Menu.h
include/Xmt/MenuP.h
include/Xmt/MsgLine.h
include/Xmt/MsgLineP.h
include/Xmt/Pixmap.h
include/Xmt/Procedures.h
include/Xmt/ProceduresP.h
include/Xmt/Progress.h
include/Xmt/ProgressP.h
include/Xmt/QuarksP.h
include/Xmt/ScreenP.h
include/Xmt/SetValue.h
include/Xmt/Symbols.h
include/Xmt/Template.h
include/Xmt/Util.h
include/Xmt/WidgetType.h
include/Xmt/WorkingBox.h
include/Xmt/WorkingBoxP.h
include/Xmt/Xbm.h
include/Xmt/Xmt.h
include/Xmt/XmtP.h
include/Xmt/Xpm.h
lib/X11/config
lib/libXmt.a
lib/libXmt.so
lib/libXmt.so.4
man/man1/mockup.1.gz
man/man3/XmtAddDeleteCallback.3.gz
man/man3/XmtAddSaveYourselfCallback.3.gz
man/man3/XmtAllocColor.3.gz
man/man3/XmtAllocWidgetColor.3.gz
man/man3/XmtAskForBoolean.3.gz
man/man3/XmtAskForDouble.3.gz
man/man3/XmtAskForFile.3.gz
man/man3/XmtAskForFilename.3.gz
man/man3/XmtAskForInteger.3.gz
man/man3/XmtAskForItem.3.gz
man/man3/XmtAskForItemNumber.3.gz
man/man3/XmtAskForString.3.gz
man/man3/XmtAssertWidgetClass.3.gz
man/man3/XmtBlock.3.gz
man/man3/XmtBuildApplication.3.gz
man/man3/XmtBuildDialog.3.gz
man/man3/XmtBuildQueryApplication.3.gz
man/man3/XmtBuildQueryDialog.3.gz
man/man3/XmtBuildToplevel.3.gz
man/man3/XmtCheckPrintfFormat.3.gz
man/man3/XmtChooser.3.gz
man/man3/XmtChooserGetState.3.gz
man/man3/XmtChooserGetValue.3.gz
man/man3/XmtChooserLookupItemName.3.gz
man/man3/XmtChooserLookupItemValue.3.gz
man/man3/XmtChooserSetState.3.gz
man/man3/XmtCli.3.gz
man/man3/XmtCliFlush.3.gz
man/man3/XmtCliGets.3.gz
man/man3/XmtCliPrintf.3.gz
man/man3/XmtCliPuts.3.gz
man/man3/XmtConvertStringToBitmap.3.gz
man/man3/XmtConvertStringToBitmask.3.gz
man/man3/XmtConvertStringToCallback.3.gz
man/man3/XmtConvertStringToColorTable.3.gz
man/man3/XmtConvertStringToPixel.3.gz
man/man3/XmtConvertStringToPixmap.3.gz
man/man3/XmtConvertStringToPixmapList.3.gz
man/man3/XmtConvertStringToStringList.3.gz
man/man3/XmtConvertStringToWidget.3.gz
man/man3/XmtConvertStringToXmFontList.3.gz
man/man3/XmtConvertStringToXmString.3.gz
man/man3/XmtConvertStringToXmtMenuItems.3.gz
man/man3/XmtCreateChild.3.gz
man/man3/XmtCreateChildren.3.gz
man/man3/XmtCreateChooser.3.gz
man/man3/XmtCreateCli.3.gz
man/man3/XmtCreateColorTable.3.gz
man/man3/XmtCreateHelpBox.3.gz
man/man3/XmtCreateHelpDialog.3.gz
man/man3/XmtCreateInputField.3.gz
man/man3/XmtCreateLayout.3.gz
man/man3/XmtCreateLayoutBox.3.gz
man/man3/XmtCreateLayoutCol.3.gz
man/man3/XmtCreateLayoutDialog.3.gz
man/man3/XmtCreateLayoutPixmap.3.gz
man/man3/XmtCreateLayoutRow.3.gz
man/man3/XmtCreateLayoutSeparator.3.gz
man/man3/XmtCreateLayoutSpace.3.gz
man/man3/XmtCreateLayoutString.3.gz
man/man3/XmtCreateMenuPane.3.gz
man/man3/XmtCreateMenubar.3.gz
man/man3/XmtCreateMsgLine.3.gz
man/man3/XmtCreateOptionMenu.3.gz
man/man3/XmtCreatePixmapFromXmtImage.3.gz
man/man3/XmtCreatePixmapIcon.3.gz
man/man3/XmtCreatePopupMenu.3.gz
man/man3/XmtCreateProgress.3.gz
man/man3/XmtCreateQueryChild.3.gz
man/man3/XmtCreateQueryChildren.3.gz
man/man3/XmtCreateQueryListChild.3.gz
man/man3/XmtCreateQueryListChildren.3.gz
man/man3/XmtCreateScrolledCli.3.gz
man/man3/XmtCreateWidgetType.3.gz
man/man3/XmtCreateWorkingBox.3.gz
man/man3/XmtCreateWorkingDialog.3.gz
man/man3/XmtCreateXImageFromXmtImage.3.gz
man/man3/XmtCreateXmString.3.gz
man/man3/XmtDestroyColorTable.3.gz
man/man3/XmtDestroyPixmapIcon.3.gz
man/man3/XmtDialogBindResourceList.3.gz
man/man3/XmtDialogDo.3.gz
man/man3/XmtDialogDoSync.3.gz
man/man3/XmtDialogGetDefaultValues.3.gz
man/man3/XmtDialogGetDialogValues.3.gz
man/man3/XmtDialogOkayCallback.3.gz
man/man3/XmtDialogPosition.3.gz
man/man3/XmtDialogResetCallback.3.gz
man/man3/XmtDialogSetDialogValues.3.gz
man/man3/XmtDialogSetReturnValue.3.gz
man/man3/XmtDiscardButtonEvents.3.gz
man/man3/XmtDiscardKeyPressEvents.3.gz
man/man3/XmtDisplayBusyCursor.3.gz
man/man3/XmtDisplayCursor.3.gz
man/man3/XmtDisplayDefaultCursor.3.gz
man/man3/XmtDisplayError.3.gz
man/man3/XmtDisplayErrorAndAsk.3.gz
man/man3/XmtDisplayErrorMsg.3.gz
man/man3/XmtDisplayErrorMsgAndWait.3.gz
man/man3/XmtDisplayInformation.3.gz
man/man3/XmtDisplayInformationMsg.3.gz
man/man3/XmtDisplayMessage.3.gz
man/man3/XmtDisplayMessageAndWait.3.gz
man/man3/XmtDisplayMessageVaList.3.gz
man/man3/XmtDisplayWarning.3.gz
man/man3/XmtDisplayWarningAndAsk.3.gz
man/man3/XmtDisplayWarningMsg.3.gz
man/man3/XmtDisplayWarningMsgAndWait.3.gz
man/man3/XmtDisplayWorkingDialog.3.gz
man/man3/XmtErrorMsg.3.gz
man/man3/XmtFindFile.3.gz
man/man3/XmtFocusShell.3.gz
man/man3/XmtFreeColor.3.gz
man/man3/XmtFreeWidgetColor.3.gz
man/man3/XmtGetApplicationValues.3.gz
man/man3/XmtGetBitmap.3.gz
man/man3/XmtGetHomeDir.3.gz
man/man3/XmtGetPixmap.3.gz
man/man3/XmtGetShell.3.gz
man/man3/XmtGetTopLevelShell.3.gz
man/man3/XmtHSLToRGB.3.gz
man/man3/XmtHashTableCreate.3.gz
man/man3/XmtHashTableDelete.3.gz
man/man3/XmtHashTableDestroy.3.gz
man/man3/XmtHashTableForEach.3.gz
man/man3/XmtHashTableLookup.3.gz
man/man3/XmtHashTableStore.3.gz
man/man3/XmtHelpBox.3.gz
man/man3/XmtHelpDoContextHelp.3.gz
man/man3/XmtHelpGetContextHelp.3.gz
man/man3/XmtHelpInstallContextHelp.3.gz
man/man3/XmtHideWorkingDialog.3.gz
man/man3/XmtIconifyShell.3.gz
man/man3/XmtInitialize.3.gz
man/man3/XmtInitializeApplicationShell.3.gz
man/man3/XmtInputField.3.gz
man/man3/XmtInputFieldGetString.3.gz
man/man3/XmtInputFieldSetString.3.gz
man/man3/XmtIntroduction.3.gz
man/man3/XmtLayout.3.gz
man/man3/XmtLayoutBox.3.gz
man/man3/XmtLayoutConvertSizeToPixels.3.gz
man/man3/XmtLayoutDisableLayout.3.gz
man/man3/XmtLayoutEnableLayout.3.gz
man/man3/XmtLayoutPixmap.3.gz
man/man3/XmtLayoutSeparator.3.gz
man/man3/XmtLayoutSpace.3.gz
man/man3/XmtLayoutString.3.gz
man/man3/XmtLoadResourceFile.3.gz
man/man3/XmtLoadResourceFileList.3.gz
man/man3/XmtLocalize2.3.gz
man/man3/XmtLocalizeWidget.3.gz
man/man3/XmtLookupColorName.3.gz
man/man3/XmtLookupPixmap.3.gz
man/man3/XmtLookupSimplePixmap.3.gz
man/man3/XmtLookupWidgetPixmap.3.gz
man/man3/XmtLookupWidgetType.3.gz
man/man3/XmtLowerShell.3.gz
man/man3/XmtMenu.3.gz
man/man3/XmtMenuActivateProcedure.3.gz
man/man3/XmtMenuGetMenuItem.3.gz
man/man3/XmtMenuInactivateProcedure.3.gz
man/man3/XmtMenuItemGetState.3.gz
man/man3/XmtMenuItemGetSubmenu.3.gz
man/man3/XmtMenuItemGetWidget.3.gz
man/man3/XmtMenuItemSetSensitivity.3.gz
man/man3/XmtMenuItemSetState.3.gz
man/man3/XmtMenuPopupHandler.3.gz
man/man3/XmtMoveShellToPointer.3.gz
man/man3/XmtMsgLine.3.gz
man/man3/XmtMsgLineGetString.3.gz
man/man3/XmtMsgLineGetUnsigned.3.gz
man/man3/XmtMsgLinePush.3.gz
man/man3/XmtMsgLineSet.3.gz
man/man3/XmtMsgLineSetInput.3.gz
man/man3/XmtNameToWidget.3.gz
man/man3/XmtParseCommandLine.3.gz
man/man3/XmtParseXpmData.3.gz
man/man3/XmtParseXpmFile.3.gz
man/man3/XmtPatchVisualInheritance.3.gz
man/man3/XmtProgress.3.gz
man/man3/XmtProgressClear.3.gz
man/man3/XmtProgressGet.3.gz
man/man3/XmtProgressSet.3.gz
man/man3/XmtRGBToHSL.3.gz
man/man3/XmtRaiseShell.3.gz
man/man3/XmtRegisterAll.3.gz
man/man3/XmtRegisterBitmapConverter.3.gz
man/man3/XmtRegisterBitmaskConverter.3.gz
man/man3/XmtRegisterCallbackConverter.3.gz
man/man3/XmtRegisterChooser.3.gz
man/man3/XmtRegisterColor.3.gz
man/man3/XmtRegisterColorTableConverter.3.gz
man/man3/XmtRegisterColors.3.gz
man/man3/XmtRegisterEnumConverter.3.gz
man/man3/XmtRegisterImage.3.gz
man/man3/XmtRegisterImprovedIcons.3.gz
man/man3/XmtRegisterInputField.3.gz
man/man3/XmtRegisterLayoutParser.3.gz
man/man3/XmtRegisterMenuItemsConverter.3.gz
man/man3/XmtRegisterMotifWidgets.3.gz
man/man3/XmtRegisterPixel.3.gz
man/man3/XmtRegisterPixelConverter.3.gz
man/man3/XmtRegisterPixmapConverter.3.gz
man/man3/XmtRegisterPixmapListConverter.3.gz
man/man3/XmtRegisterProcedures.3.gz
man/man3/XmtRegisterStandardColors.3.gz
man/man3/XmtRegisterStringListConverter.3.gz
man/man3/XmtRegisterStyle.3.gz
man/man3/XmtRegisterTemplate.3.gz
man/man3/XmtRegisterUnixProcedures.3.gz
man/man3/XmtRegisterWidgetClass.3.gz
man/man3/XmtRegisterWidgetConstructor.3.gz
man/man3/XmtRegisterWidgetConverter.3.gz
man/man3/XmtRegisterWidgetTypes.3.gz
man/man3/XmtRegisterXbmData.3.gz
man/man3/XmtRegisterXmFontListConverter.3.gz
man/man3/XmtRegisterXmScale.3.gz
man/man3/XmtRegisterXmScrolledText.3.gz
man/man3/XmtRegisterXmStringConverter.3.gz
man/man3/XmtRegisterXmText.3.gz
man/man3/XmtRegisterXmTextField.3.gz
man/man3/XmtRegisterXmToggleButton.3.gz
man/man3/XmtRegisterXmtProcedures.3.gz
man/man3/XmtRegisterXmtWidgets.3.gz
man/man3/XmtRegisterXtProcedures.3.gz
man/man3/XmtReleasePixmap.3.gz
man/man3/XmtSetApplicationValues.3.gz
man/man3/XmtSetFocusToShell.3.gz
man/man3/XmtSetInitialFocus.3.gz
man/man3/XmtSetValue.3.gz
man/man3/XmtStoreColor.3.gz
man/man3/XmtStoreWidgetColor.3.gz
man/man3/XmtSymbolAddCallback.3.gz
man/man3/XmtSymbolRemoveCallback.3.gz
man/man3/XmtSymbolSetValue.3.gz
man/man3/XmtTemplateInstantiate.3.gz
man/man3/XmtVaRegisterCallbackProcedures.3.gz
man/man3/XmtVaRegisterColors.3.gz
man/man3/XmtVaRegisterSymbols.3.gz
man/man3/XmtVaRegisterWidgetClasses.3.gz
man/man3/XmtVaRegisterWidgetConstructors.3.gz
man/man3/XmtWaitUntilMapped.3.gz
man/man3/XmtWarningMsg.3.gz
man/man3/XmtWarpToShell.3.gz
man/man3/XmtWorkingBox.3.gz
man/man3/XmtWorkingBoxHandleEvents.3.gz
man/man3/XmtWorkingBoxSetScaleValue.3.gz