2013-02-05 17:41:35 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.44 2013/02/05 22:41:35 sthen Exp $
|
2001-03-25 14:17:45 -05:00
|
|
|
|
2007-09-15 16:04:18 -04:00
|
|
|
COMMENT= Fast-Light Tool Kit
|
1999-12-08 14:40:09 -05:00
|
|
|
|
2012-08-04 14:07:03 -04:00
|
|
|
VER= 1.3.0
|
|
|
|
DISTNAME= fltk-${VER}-source
|
|
|
|
PKGNAME= fltk-${VER}
|
2012-12-13 11:34:47 -05:00
|
|
|
REVISION= 0
|
2010-07-30 02:58:57 -04:00
|
|
|
|
1999-12-08 14:40:09 -05:00
|
|
|
CATEGORIES= x11
|
2012-08-04 14:07:03 -04:00
|
|
|
SHARED_LIBS= fltk 7.0 \
|
|
|
|
fltk_forms 7.0 \
|
|
|
|
fltk_gl 7.0 \
|
|
|
|
fltk_images 7.0
|
1999-12-08 14:40:09 -05:00
|
|
|
|
2000-07-31 18:33:15 -04:00
|
|
|
HOMEPAGE= http://www.fltk.org/
|
|
|
|
|
2012-08-04 14:07:03 -04:00
|
|
|
# LGPLv2 with exceptions (see COPYING)
|
2000-02-21 18:45:38 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2010-07-30 07:29:44 -04:00
|
|
|
|
2012-08-04 14:07:03 -04:00
|
|
|
WANTLIB += X11 Xau Xdmcp Xext Xft Xinerama c fontconfig jpeg m
|
|
|
|
WANTLIB += png pthread stdc++ z
|
2006-10-19 05:41:32 -04:00
|
|
|
|
2013-02-05 17:41:35 -05:00
|
|
|
MASTER_SITES= http://ftp.funet.fi/pub/mirrors/ftp.easysw.com/pub/fltk/${VER}/ \
|
2006-10-19 05:41:32 -04:00
|
|
|
http://ftp.easysw.com/pub/fltk/${VER}/ \
|
2013-02-05 17:41:35 -05:00
|
|
|
ftp://ftp.easysw.com/pub/fltk/${VER}/
|
2000-08-06 22:32:42 -04:00
|
|
|
|
2010-11-22 03:36:47 -05:00
|
|
|
LIB_DEPENDS= graphics/jpeg \
|
|
|
|
graphics/png
|
2001-07-09 13:10:49 -04:00
|
|
|
|
2002-08-10 15:57:20 -04:00
|
|
|
NO_REGRESS= Yes
|
2006-10-19 05:41:32 -04:00
|
|
|
CONFIGURE_STYLE=autoconf no-autoheader
|
2010-09-22 08:47:45 -04:00
|
|
|
AUTOCONF_VERSION=2.59
|
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
|
|
|
--enable-threads
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/libpng" \
|
2002-08-10 15:57:20 -04:00
|
|
|
CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
|
|
|
CXXFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
|
2005-12-25 15:23:18 -05:00
|
|
|
LIBS="-L${LOCALBASE}/lib" \
|
2012-08-04 14:07:03 -04:00
|
|
|
LIBfltk_VERSION="${LIBfltk_VERSION}"
|
2005-12-25 15:23:18 -05:00
|
|
|
.for n v in ${SHARED_LIBS}
|
|
|
|
MAKE_ENV+= LIB$n_VERSION=${LIB$n_VERSION}
|
|
|
|
.endfor
|
2001-11-20 20:29:48 -05:00
|
|
|
|
2012-08-04 14:07:03 -04:00
|
|
|
WRKDIST= ${WRKDIR}/fltk-${VER}
|
|
|
|
|
2003-08-28 06:56:02 -04:00
|
|
|
pre-build:
|
2012-08-04 14:07:03 -04:00
|
|
|
${SUBST_CMD} ${WRKSRC}/src/Fl_Preferences.cxx
|
2003-08-28 06:56:02 -04:00
|
|
|
|
1999-12-08 14:40:09 -05:00
|
|
|
.include <bsd.port.mk>
|