2007-04-01 13:48:42 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.34 2007/04/01 17:48:42 martynas Exp $
|
2001-03-25 14:17:45 -05:00
|
|
|
|
|
|
|
COMMENT= "Fast-Light Tool Kit"
|
1999-12-08 14:40:09 -05:00
|
|
|
|
2006-10-19 05:41:32 -04:00
|
|
|
VER= 1.1.7
|
2002-03-30 16:27:24 -05:00
|
|
|
DISTNAME= fltk-${VER}
|
2007-04-01 13:48:42 -04:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
1999-12-08 14:40:09 -05:00
|
|
|
CATEGORIES= x11
|
2006-10-19 05:41:32 -04:00
|
|
|
SHARED_LIBS= fltk 6.0 \
|
|
|
|
fltk_forms 6.0 \
|
|
|
|
fltk_gl 6.0 \
|
|
|
|
fltk_images 6.0
|
1999-12-08 14:40:09 -05:00
|
|
|
|
2000-07-31 18:33:15 -04:00
|
|
|
HOMEPAGE= http://www.fltk.org/
|
|
|
|
|
2002-08-10 15:57:20 -04:00
|
|
|
MAINTAINER= Peter Stromberg <wilfried@openbsd.org>
|
|
|
|
|
2002-05-11 19:59:35 -04:00
|
|
|
# LGPL
|
2000-02-21 18:45:38 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2007-04-01 13:48:42 -04:00
|
|
|
WANTLIB= X11 Xau Xdmcp Xext c m stdc++ z
|
2000-02-21 18:45:38 -05:00
|
|
|
|
2002-03-30 16:27:24 -05:00
|
|
|
DISTFILES= ${DISTNAME}-source${EXTRACT_SUFX}
|
2006-10-19 05:41:32 -04:00
|
|
|
|
|
|
|
MASTER_SITES= ftp://ftp.funet.fi/pub/mirrors/ftp.easysw.com/pub/fltk/${VER}/ \
|
|
|
|
ftp://ftp.rz.tu-bs.de/pub/mirror/ftp.easysw.com/ftp/pub/fltk/${VER}/ \
|
|
|
|
http://mirror.nu6.org//ftp.easysw.com/pub/fltk/${VER}/ \
|
|
|
|
http://ftp.funet.fi/pub/mirrors/ftp.easysw.com/pub/fltk/${VER}/ \
|
|
|
|
http://ftp.rz.tu-bs.de/pub/mirror/ftp.easysw.com/ftp/pub/fltk/${VER}/ \
|
|
|
|
http://ftp.easysw.com/pub/fltk/${VER}/ \
|
|
|
|
ftp://ftp.easysw.com/pub/fltk/${VER}/ \
|
|
|
|
ftp://ftp3.easysw.com/pub/fltk/${VER}/
|
2000-08-06 22:32:42 -04:00
|
|
|
|
2006-08-03 20:10:42 -04:00
|
|
|
LIB_DEPENDS= jpeg.>=62::graphics/jpeg \
|
|
|
|
png.>=2::graphics/png
|
2001-07-09 13:10:49 -04:00
|
|
|
|
2002-08-10 15:57:20 -04:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
USE_X11= Yes
|
2006-10-19 05:41:32 -04:00
|
|
|
CONFIGURE_STYLE=autoconf no-autoheader
|
2004-03-04 12:49:26 -05:00
|
|
|
AUTOCONF_VERSION=2.54
|
2002-03-30 16:27:24 -05:00
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
|
2002-08-10 15:57:20 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
|
|
|
CXXFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
|
2005-12-25 15:23:18 -05:00
|
|
|
LIBS="-L${LOCALBASE}/lib" \
|
|
|
|
FL_MAJOR_VERSION=${LIBfltk_VERSION:R} \
|
|
|
|
FL_MINOR_VERSION=${LIBfltk_VERSION:E} \
|
|
|
|
FL_PATCH_VERSION=0
|
|
|
|
.for n v in ${SHARED_LIBS}
|
|
|
|
MAKE_ENV+= LIB$n_VERSION=${LIB$n_VERSION}
|
|
|
|
.endfor
|
2001-11-20 20:29:48 -05:00
|
|
|
|
2003-08-28 06:56:02 -04:00
|
|
|
pre-build:
|
|
|
|
perl -pi -e "s,%%SYSCONFDIR%%,${SYSCONFDIR}," \
|
|
|
|
${WRKSRC}/src/Fl_Preferences.cxx
|
|
|
|
|
1999-12-08 14:40:09 -05:00
|
|
|
.include <bsd.port.mk>
|