openbsd-ports/x11/fltk/Makefile

44 lines
1.1 KiB
Makefile
Raw Normal View History

2004-12-17 10:18:31 -05:00
# $OpenBSD: Makefile,v 1.29 2004/12/17 15:18:32 alek Exp $
2001-03-25 14:17:45 -05:00
COMMENT= "Fast-Light Tool Kit"
2003-12-26 09:18:30 -05:00
VER= 1.1.4
DISTNAME= fltk-${VER}
CATEGORIES= x11
HOMEPAGE= http://www.fltk.org/
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
2004-12-17 10:18:31 -05:00
WANTLIB= X11 Xext c m stdc++ z
2000-02-21 18:45:38 -05:00
DISTFILES= ${DISTNAME}-source${EXTRACT_SUFX}
MASTER_SITES= ftp://ftp.easysw.com/pub/fltk/${VER}/ \
ftp://ftp2.easysw.com/pub/fltk/${VER}/ \
ftp://ftp.funet.fi/pub/mirrors/ftp.easysw.com/pub/fltk/${VER}/ \
ftp://gd.tuwien.ac.at/hci/fltk/${VER}/
2000-08-06 22:32:42 -04:00
LIB_DEPENDS= jpeg.62::graphics/jpeg \
png.2::graphics/png
2001-07-09 13:10:49 -04:00
NO_REGRESS= Yes
USE_X11= Yes
CONFIGURE_STYLE=autoconf dest no-autoheader
AUTOCONF_VERSION=2.54
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
CXXFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
2001-11-20 20:29:48 -05:00
pre-build:
perl -pi -e "s,%%SYSCONFDIR%%,${SYSCONFDIR}," \
${WRKSRC}/src/Fl_Preferences.cxx
.include <bsd.port.mk>