# $NetBSD: Makefile,v 1.2 1998/05/11 10:43:31 frueauf Exp $ # FreeBSD Id: Makefile,v 1.13 1997/09/08 08:34:13 tg Exp # DISTNAME= lesstif-current PKGNAME= lesstif-19980510 CATEGORIES= x11 MASTER_SITES= ${MASTER_SITE_LOCAL} MAINTAINER= packages@netbsd.org GNU_CONFIGURE= yes USE_X11= yes # change this for debugging CONFIGURE_ENV= CCFLAGS="-O -pipe" INSTALL_SCRIPT="${INSTALL_SCRIPT}" # this is worst case, when you're about to overwrite real Motif with Lesstif IS_INTERACTIVE= yes MAN1= lesstif.1 mwm.1 xmbind.1 MAN3= LessTifInternals.3 XmArrowButton.3 XmArrowButtonGadget.3 \ XmBulletinBoard.3 XmCascadeButton.3 XmCascadeButtonGCacheObj.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 XmIconGCacheObj.3 XmIconGadget.3 \ XmLabel.3 XmLabelGCacheObj.3 XmLabelGadget.3 XmList.3 \ XmMainWindow.3 XmManager.3 XmMenuShell.3 XmMessageBox.3 \ XmNotebook.3 XmPanedWindow.3 XmPrimitive.3 XmProtocol.3 \ XmPushButton.3 XmPushButtonGCacheObj.3 XmPushButtonGadget.3 \ XmRowColumn.3 XmSash.3 XmScale.3 XmScreen.3 XmScrollBar.3 \ XmScrolledWindow.3 XmSelectionBox.3 XmSeparator.3 \ XmSeparatorGCacheObj.3 XmSeparatorGadget.3 XmSpinBox.3 \ XmTearOffButton.3 XmText.3 XmTextField.3 XmToggleButton.3 \ XmToggleButtonGCacheObj.3 XmToggleButtonGadget.3 \ XmVendorShellExt.3 XmWorld.3 MAN5= mwmrc.5 pre-fetch: @if [ -d ${X11BASE}/include/Xm ]; then \ if [ -d ${X11BASE}/lib/X11/lesstif ]; then \ ${ECHO} "Upgrading a previous Lesstif installation"; \ return 0; \ fi; \ ${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) \ fi post-install: ${LDCONFIG} || ${TRUE} .include "../../mk/bsd.pkg.mk"