2007-04-08 12:33:41 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.13 2007/04/08 16:33:41 sturm Exp $
|
2003-11-13 13:50:39 -05:00
|
|
|
|
2007-02-27 05:46:00 -05:00
|
|
|
COMMENT= 'C++ toolkit for GUI'
|
|
|
|
CATEGORIES= devel
|
2003-11-13 13:50:39 -05:00
|
|
|
|
2007-02-27 05:46:00 -05:00
|
|
|
DISTNAME= fox-1.6.21
|
2007-04-08 12:33:41 -04:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
2007-02-27 05:46:00 -05:00
|
|
|
SHARED_LIBS += FOX-1.6 0.0 # .0.21
|
|
|
|
SHARED_LIBS += CHART-1.6 0.0 # .0.21
|
|
|
|
MASTER_SITES= ${HOMEPAGE}/ftp/
|
|
|
|
HOMEPAGE= http://www.fox-toolkit.org/
|
|
|
|
MAINTAINER= Marc Espie <espie@openbsd.org>
|
2003-11-13 13:50:39 -05:00
|
|
|
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
|
2007-02-27 05:46:00 -05:00
|
|
|
LIB_DEPENDS= bz2::archivers/bzip2 \
|
|
|
|
jpeg::graphics/jpeg \
|
|
|
|
png::graphics/png \
|
|
|
|
tiff::graphics/tiff
|
2003-11-13 13:50:39 -05:00
|
|
|
|
|
|
|
CONFIGURE_ENV+= \
|
|
|
|
CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/libpng" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
CONFIGURE_ARGS+= \
|
|
|
|
--x-includes=${X11BASE}/include \
|
|
|
|
--x-libraries=${X11BASE}/lib
|
|
|
|
# LGPL or looser
|
|
|
|
PERMIT_DISTFILES_FTP=Yes
|
|
|
|
PERMIT_DISTFILES_CDROM=Yes
|
|
|
|
PERMIT_PACKAGE_FTP=Yes
|
|
|
|
PERMIT_PACKAGE_CDROM=Yes
|
2005-05-07 08:59:13 -04:00
|
|
|
USE_LIBTOOL= Yes
|
2006-11-11 16:04:27 -05:00
|
|
|
USE_X11= Yes
|
2005-05-07 08:59:13 -04:00
|
|
|
|
2007-02-27 05:46:00 -05:00
|
|
|
FOX= fox-1.6
|
|
|
|
SUBST_VARS= FOX
|
|
|
|
|
2007-04-08 12:33:41 -04:00
|
|
|
WANTLIB= GL GLU X11 Xau Xcursor Xdmcp Xext Xfixes Xrender Xrandr c m \
|
|
|
|
stdc++ z pthread
|
|
|
|
|
2003-11-13 13:50:39 -05:00
|
|
|
.include <bsd.port.mk>
|