openbsd-ports/devel/fox/Makefile
espie 1acbae9ab6 minor tweaks:
- fix includes, since we have float math functions.
- use system libtool
2005-05-07 12:59:13 +00:00

34 lines
786 B
Makefile

# $OpenBSD: Makefile,v 1.4 2005/05/07 12:59:13 espie Exp $
COMMENT='C++ toolkit for GUI'
CATEGORIES=devel
DISTNAME=fox-1.4.12
PKGNAME=${DISTNAME}p0
MASTER_SITES=${HOMEPAGE}/ftp/
HOMEPAGE=http://www.fox-toolkit.org/
MAINTAINER=Marc Espie <espie@openbsd.org>
CONFIGURE_STYLE=gnu
LIB_DEPENDS=bz2::archivers/bzip2 \
jpeg::graphics/jpeg \
png::graphics/png \
tiff::graphics/tiff
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
USE_LIBTOOL= Yes
WANTLIB= GL GLU X11 Xext c m stdc++ z pthread
.include <bsd.port.mk>