f09266b1d9
Take MAINTAINER. ok sthen@
52 lines
1.2 KiB
Makefile
52 lines
1.2 KiB
Makefile
# $OpenBSD: Makefile,v 1.46 2013/03/22 22:50:25 bcallah Exp $
|
|
|
|
COMMENT= Fast-Light Tool Kit
|
|
|
|
VER= 1.3.2
|
|
DISTNAME= fltk-${VER}-source
|
|
PKGNAME= fltk-${VER}
|
|
|
|
CATEGORIES= x11
|
|
SHARED_LIBS= fltk 7.1 \
|
|
fltk_forms 7.1 \
|
|
fltk_gl 7.1 \
|
|
fltk_images 7.1
|
|
|
|
HOMEPAGE= http://www.fltk.org/
|
|
|
|
MAINTAINER = Brian Callahan <bcallah@openbsd.org>
|
|
|
|
# LGPLv2 with exceptions (see COPYING)
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
WANTLIB += X11 Xau Xdmcp Xext Xft Xinerama c fontconfig jpeg m
|
|
WANTLIB += png pthread stdc++ z
|
|
|
|
MASTER_SITES= http://ftp.funet.fi/pub/mirrors/ftp.easysw.com/pub/fltk/${VER}/ \
|
|
http://ftp.easysw.com/pub/fltk/${VER}/ \
|
|
ftp://ftp.easysw.com/pub/fltk/${VER}/
|
|
|
|
LIB_DEPENDS= graphics/jpeg \
|
|
graphics/png
|
|
|
|
NO_TEST= Yes
|
|
CONFIGURE_STYLE=autoconf no-autoheader
|
|
AUTOCONF_VERSION=2.68
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
|
--enable-threads
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/libpng" \
|
|
CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
|
CXXFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
|
|
LIBS="-L${LOCALBASE}/lib" \
|
|
LIBfltk_VERSION="${LIBfltk_VERSION}"
|
|
.for n v in ${SHARED_LIBS}
|
|
MAKE_ENV+= LIB$n_VERSION=${LIB$n_VERSION}
|
|
.endfor
|
|
|
|
WRKDIST= ${WRKDIR}/fltk-${VER}
|
|
|
|
pre-build:
|
|
${SUBST_CMD} ${WRKSRC}/src/Fl_Preferences.cxx
|
|
|
|
.include <bsd.port.mk>
|