openbsd-ports/graphics/libgphoto2/Makefile

49 lines
1.0 KiB
Makefile
Raw Normal View History

2010-11-17 03:05:12 -05:00
# $OpenBSD: Makefile,v 1.21 2010/11/17 08:05:14 espie Exp $
2010-11-09 13:22:26 -05:00
COMMENT = digital camera library
CATEGORIES = graphics devel
2010-11-09 13:22:26 -05:00
MAINTAINER = Marc Espie <espie@openbsd.org>
2010-11-09 13:22:26 -05:00
VERSION = 2.4.7
DISTNAME = libgphoto2-${VERSION}
PKGNAME = libgphoto-${VERSION}
SHARED_LIBS += gphoto2 3.1 # 6.0
SHARED_LIBS += gphoto2_port 6.0 # 8.0
2010-11-09 13:22:26 -05:00
HOMEPAGE = http://www.gphoto.org/
2010-11-09 13:22:26 -05:00
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=gphoto/}
# LGPLv2
2010-11-09 13:22:26 -05:00
PERMIT_PACKAGE_FTP = Yes
PERMIT_PACKAGE_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
2010-11-09 13:22:26 -05:00
WANTLIB = c m
2010-11-09 13:22:26 -05:00
MAKE_FLAGS = INTLLIBS='$$(LTLIBINTL)'
2010-11-09 13:22:26 -05:00
USE_LIBTOOL = Yes
USE_GROFF = Yes
CONFIGURE_STYLE = gnu
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
ac_cv_path_DOXYGEN=false
2010-11-09 13:22:26 -05:00
CONFIGURE_ARGS = ${CONFIGURE_SHARED} \
--enable-static \
--without-hal \
--without-bonjour
2010-11-09 13:22:26 -05:00
SUBST_VARS = VERSION
2010-11-09 13:22:26 -05:00
MODULES = devel/gettext
2010-11-17 03:05:12 -05:00
LIB_DEPENDS = graphics/libexif \
graphics/jpeg \
devel/libusb \
devel/libtool,-ltdl
2010-11-17 03:05:12 -05:00
WANTLIB += exif jpeg usb ltdl>=4
.include <bsd.port.mk>