openbsd-ports/x11/lesstif/Makefile

63 lines
1.8 KiB
Makefile
Raw Normal View History

2005-12-26 13:45:10 -05:00
# $OpenBSD: Makefile,v 1.52 2005/12/26 18:45:10 naddy Exp $
1999-03-20 23:04:24 -05:00
# $FreeBSD: Makefile,v 1.17 1998/03/28 14:12:55 steve Exp $
1997-12-02 23:05:23 -05:00
2005-12-26 13:45:10 -05:00
COMMENT= "API-compatible clone of the Motif toolkit"
2001-01-21 21:43:34 -05:00
DISTNAME= lesstif-0.92.6
2005-12-26 13:45:10 -05:00
PKGNAME= ${DISTNAME}p0
SHARED_LIBS= Mrm 1.2 \
Uil 1.2 \
Xm 1.2
MODGNU_SHARED_LIBS= Mrm '' \
Uil '' \
Xm ''
1997-12-02 23:05:23 -05:00
CATEGORIES= x11
2000-06-30 02:01:26 -04:00
MASTER_SITES= ftp://ftp.lesstif.org/pub/hungry/lesstif/srcdist/ \
ftp://ftp.hungry.com/pub/hungry/lesstif/srcdist/ \
ftp://linux.mathematik.tu-darmstadt.de/pub/linux/mirrors/misc/lesstif/srcdist/
2000-07-08 18:42:34 -04:00
HOMEPAGE= http://www.lesstif.org/
# GPL/LGPL
2000-03-11 20:11:48 -05:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= ICE Xt c X11 SM Xext
2000-02-12 03:02:07 -05:00
2001-01-21 21:43:34 -05:00
USE_X11= Yes
USE_GMAKE= Yes
2005-12-26 13:45:10 -05:00
USE_LIBTOOL= Yes
1999-06-14 02:23:23 -04:00
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= gnu
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC} ${WRKSRC}/lib/Xlt ${WRKSRC}/lib/Xbae
1999-03-20 23:04:24 -05:00
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
1999-12-18 14:41:39 -05:00
CONFIGURE_ARGS+=--enable-static --enable-production --enable-build-12 \
2001-01-21 21:43:34 -05:00
--disable-build-20 --disable-build-21 --enable-default-12 \
--disable-build-Xbae --disable-build-Xlt --disable-debug \
--with-editres
1999-09-13 17:28:37 -04:00
2001-01-21 21:43:34 -05:00
.if defined(HAVE_MOTIF) && ${HAVE_MOTIF:L} == "yes"
2000-03-11 20:11:48 -05:00
IS_INTERACTIVE= Yes
1999-12-18 14:41:39 -05:00
pre-install:
1999-12-18 14:41:39 -05: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-12-02 23:05:23 -05:00
@(read ans; \
case x"$$ans" in \
xy*|xY*) \
return 0; \
;; \
*) \
1999-12-18 14:41:39 -05:00
echo "Okay, I won't install it then...."; \
echo "(Don't worry about the following \"*** Error code 1\"s)"; \
1997-12-02 23:05:23 -05:00
return 1; \
;; \
esac)
.endif
.include <bsd.port.mk>