1997-01-09 09:07:31 +00:00
|
|
|
# New ports collection makefile for: lesstif
|
2000-01-18 22:08:08 +00:00
|
|
|
# Version required: 0.89.9
|
1997-01-09 09:07:31 +00:00
|
|
|
# Date created: December 10, 1996
|
|
|
|
# Whom: 1wardd@airmail.net
|
|
|
|
#
|
1999-08-31 03:04:38 +00:00
|
|
|
# $FreeBSD$
|
1997-01-09 09:07:31 +00:00
|
|
|
#
|
|
|
|
|
2000-01-18 22:08:08 +00:00
|
|
|
DISTNAME= lesstif-0.89.9
|
1998-08-07 22:56:48 +00:00
|
|
|
CATEGORIES= x11-toolkits
|
1998-03-17 11:58:20 +00:00
|
|
|
MASTER_SITES= ftp://ftp.lesstif.org/pub/hungry/lesstif/srcdist/ \
|
1999-01-16 10:17:33 +00:00
|
|
|
ftp://ftp.hungry.com/pub/hungry/lesstif/srcdist/ \
|
|
|
|
ftp://ftp.fu-berlin.de/unix/X11/gui/lesstif/srcdist/ \
|
|
|
|
ftp://ftp.win.or.jp/pub/X11/misc/lesstif/srcdist/
|
1997-05-24 08:45:06 +00:00
|
|
|
|
1999-07-14 04:43:58 +00:00
|
|
|
MAINTAINER= kargl@troutmask.apl.washington.edu
|
1997-05-24 08:45:06 +00:00
|
|
|
|
1997-11-22 01:24:30 +00:00
|
|
|
MANUAL_PACKAGE_BUILD= do not want to install during interactive build
|
1999-07-14 03:58:27 +00:00
|
|
|
|
1998-08-05 09:31:52 +00:00
|
|
|
USE_X_PREFIX= yes
|
1999-07-14 03:58:27 +00:00
|
|
|
GNU_CONFIGURE= yes
|
1999-11-10 13:42:26 +00:00
|
|
|
CONFIGURE_ARGS+=--enable-static --enable-shared --disable-build-Xlt \
|
|
|
|
--enable-production --disable-debug --disable-build-Xbae
|
1999-07-14 03:58:27 +00:00
|
|
|
|
|
|
|
MAN1 = lesstif.1 mwm.1 xmbind.1
|
1997-01-09 09:07:31 +00:00
|
|
|
|
2000-01-18 22:08:08 +00:00
|
|
|
MAN3 = LessTifInternals.3 \
|
|
|
|
XmArrowButton.3 \
|
1999-07-14 03:58:27 +00:00
|
|
|
XmArrowButtonGadget.3 XmBulletinBoard.3 XmCascadeButton.3 \
|
|
|
|
XmCascadeButtonGadget.3 XmClipboard.3 XmComboBox.3 XmCommand.3 \
|
|
|
|
XmDesktop.3 XmDialogShell.3 XmDialogShellExt.3 XmDisplay.3 \
|
|
|
|
XmDragContext.3 XmDragIcon.3 XmDragOverShell.3 XmDrawingArea.3 \
|
|
|
|
XmDrawnButton.3 XmDropSiteManager.3 XmDropTransfer.3 \
|
|
|
|
XmFileSelectionBox.3 XmForm.3 XmFrame.3 XmGadget.3 XmGrabShell.3 \
|
|
|
|
XmIconGadget.3 XmLabel.3 XmLabelGadget.3 XmList.3 XmMainWindow.3 \
|
|
|
|
XmManager.3 XmMenuShell.3 XmMessageBox.3 XmNotebook.3 \
|
|
|
|
XmPanedWindow.3 XmPrimitive.3 XmProtocol.3 XmPushButton.3 \
|
|
|
|
XmPushButtonGadget.3 XmRowColumn.3 XmSash.3 XmScale.3 XmScreen.3 \
|
|
|
|
XmScrollBar.3 XmScrolledWindow.3 XmSelectionBox.3 XmSeparator.3 \
|
|
|
|
XmSeparatorGadget.3 XmSpinBox.3 XmTearOffButton.3 XmText.3 \
|
|
|
|
XmTextField.3 XmToggleButton.3 XmToggleButtonGadget.3 XmVendorShell.3 \
|
1999-11-10 13:42:26 +00:00
|
|
|
XmWorld.3
|
1999-07-14 03:58:27 +00:00
|
|
|
|
|
|
|
MAN5 = mwmrc.5
|
1998-07-01 11:35:34 +00:00
|
|
|
|
1999-07-20 23:40:03 +00:00
|
|
|
.if defined(HAVE_MOTIF) && !defined(PARALLEL_PACKAGE_BUILD)
|
1999-06-28 00:06:21 +00:00
|
|
|
IS_INTERACTIVE= yes
|
1998-12-01 09:35:13 +00:00
|
|
|
pre-extract:
|
1998-03-28 14:12:59 +00:00
|
|
|
@${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) ==> "
|
1997-01-09 09:07:31 +00:00
|
|
|
@(read ans; \
|
|
|
|
case x"$$ans" in \
|
|
|
|
xy*|xY*) \
|
1999-06-28 00:06:21 +00:00
|
|
|
return 0; \
|
|
|
|
;; \
|
1997-01-09 09:07:31 +00:00
|
|
|
*) \
|
1999-06-28 00:06:21 +00:00
|
|
|
${ECHO} "Okay, I won't install it then...."; \
|
|
|
|
${ECHO} "(Don't worry about the following \"*** Error code 1's)"; \
|
|
|
|
return 1; \
|
|
|
|
;; \
|
|
|
|
esac)
|
1997-01-09 09:07:31 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
1999-11-10 13:42:26 +00:00
|
|
|
${RM} -f ${PREFIX}/LessTif/TODO
|
|
|
|
${RM} -f ${PREFIX}/LessTif/INSTALL
|
|
|
|
${RM} -rf ${PREFIX}/LessTif/doc
|
1999-07-14 03:58:27 +00:00
|
|
|
${RM} -f ${PREFIX}/lib/libXm.so.2
|
|
|
|
${RM} -f ${PREFIX}/lib/libMrm.so.2
|
|
|
|
.if defined(MOTIF2)
|
|
|
|
${LN} -sf ${PREFIX}/LessTif/Motif2.0/include/Xm ${PREFIX}/include
|
|
|
|
${LN} -sf ${PREFIX}/LessTif/Motif2.0/include/Mrm ${PREFIX}/include
|
|
|
|
${LN} -sf ${PREFIX}/LessTif/Motif2.0/lib/libXm.so.1 ${PREFIX}/lib/libXm.so.1
|
|
|
|
${LN} -sf ${PREFIX}/lib/libXm.so.1 ${PREFIX}/lib/libXm.so
|
|
|
|
${LN} -sf ${PREFIX}/LessTif/Motif2.0/lib/libXm.a ${PREFIX}/lib/libXm.a
|
|
|
|
${LN} -sf ${PREFIX}/LessTif/Motif2.0/lib/libXm.la ${PREFIX}/lib/libXm.la
|
|
|
|
${LN} -sf ${PREFIX}/LessTif/Motif2.0/lib/libMrm.so.1 ${PREFIX}/lib/libMrm.so.1
|
1999-06-29 02:50:48 +00:00
|
|
|
${LN} -sf ${PREFIX}/lib/libMrm.so.1 ${PREFIX}/lib/libMrm.so
|
1999-07-14 03:58:27 +00:00
|
|
|
${LN} -sf ${PREFIX}/LessTif/Motif2.0/lib/libMrm.a ${PREFIX}/lib/libMrm.a
|
|
|
|
${LN} -sf ${PREFIX}/LessTif/Motif2.0/lib/libMrm.la ${PREFIX}/lib/libMrm.la
|
|
|
|
.else
|
|
|
|
${LN} -sf ${PREFIX}/LessTif/Motif1.2/include/Xm ${PREFIX}/include
|
|
|
|
${LN} -sf ${PREFIX}/LessTif/Motif1.2/include/Mrm ${PREFIX}/include
|
|
|
|
${LN} -sf ${PREFIX}/LessTif/Motif1.2/lib/libXm.so.1 ${PREFIX}/lib/libXm.so.1
|
1999-06-29 02:50:48 +00:00
|
|
|
${LN} -sf ${PREFIX}/lib/libXm.so.1 ${PREFIX}/lib/libXm.so
|
1999-07-14 03:58:27 +00:00
|
|
|
${LN} -sf ${PREFIX}/LessTif/Motif1.2/lib/libXm.a ${PREFIX}/lib/libXm.a
|
|
|
|
${LN} -sf ${PREFIX}/LessTif/Motif1.2/lib/libXm.la ${PREFIX}/lib/libXm.la
|
|
|
|
${LN} -sf ${PREFIX}/LessTif/Motif1.2/lib/libMrm.so.1 ${PREFIX}/lib/libMrm.so.1
|
|
|
|
${LN} -sf ${PREFIX}/lib/libMrm.so.1 ${PREFIX}/lib/libMrm.so
|
|
|
|
${LN} -sf ${PREFIX}/LessTif/Motif1.2/lib/libMrm.a ${PREFIX}/lib/libMrm.a
|
|
|
|
${LN} -sf ${PREFIX}/LessTif/Motif1.2/lib/libMrm.la ${PREFIX}/lib/libMrm.la
|
|
|
|
.endif
|
1998-09-19 19:06:42 +00:00
|
|
|
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
|
1999-06-12 05:31:02 +00:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
1997-01-09 09:07:31 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|