2012-02-27 08:46:10 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.24 2012/02/27 13:46:10 ajacoutot Exp $
|
2003-04-09 19:55:01 -04:00
|
|
|
|
2010-11-09 13:22:26 -05:00
|
|
|
COMMENT = digital camera library
|
|
|
|
CATEGORIES = graphics devel
|
2003-04-09 19:55:01 -04:00
|
|
|
|
2010-11-09 13:22:26 -05:00
|
|
|
MAINTAINER = Marc Espie <espie@openbsd.org>
|
2003-04-09 19:55:01 -04:00
|
|
|
|
2011-11-13 12:15:31 -05:00
|
|
|
VERSION = 2.4.11
|
2010-11-09 13:22:26 -05:00
|
|
|
DISTNAME = libgphoto2-${VERSION}
|
|
|
|
PKGNAME = libgphoto-${VERSION}
|
2012-02-27 08:46:10 -05:00
|
|
|
REVISION = 0
|
2010-11-09 13:22:26 -05:00
|
|
|
SHARED_LIBS += gphoto2 3.1 # 6.0
|
|
|
|
SHARED_LIBS += gphoto2_port 6.0 # 8.0
|
2003-04-09 19:55:01 -04:00
|
|
|
|
2010-11-09 13:22:26 -05:00
|
|
|
HOMEPAGE = http://www.gphoto.org/
|
2003-04-09 19:55:01 -04:00
|
|
|
|
2010-11-09 13:22:26 -05:00
|
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=gphoto/}
|
2003-04-09 19:55:01 -04:00
|
|
|
|
2008-06-18 07:43:39 -04:00
|
|
|
# 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
|
2008-12-08 09:20:10 -05:00
|
|
|
|
2011-11-13 12:15:31 -05:00
|
|
|
WANTLIB += c exif jpeg ltdl m pthread usb usb-1.0
|
2003-04-09 19:55:01 -04:00
|
|
|
|
2010-11-09 13:22:26 -05:00
|
|
|
MAKE_FLAGS = INTLLIBS='$$(LTLIBINTL)'
|
2009-11-09 03:04:05 -05:00
|
|
|
|
2010-11-09 13:22:26 -05:00
|
|
|
USE_LIBTOOL = Yes
|
|
|
|
USE_GROFF = Yes
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
|
|
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
|
2007-10-19 08:57:51 -04:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
|
|
|
ac_cv_path_DOXYGEN=false
|
2010-11-09 13:22:26 -05:00
|
|
|
CONFIGURE_ARGS = ${CONFIGURE_SHARED} \
|
2009-05-08 04:05:53 -04:00
|
|
|
--enable-static \
|
|
|
|
--without-hal \
|
|
|
|
--without-bonjour
|
2003-04-09 19:55:01 -04:00
|
|
|
|
2010-11-09 13:22:26 -05:00
|
|
|
SUBST_VARS = VERSION
|
2004-01-15 20:10:47 -05:00
|
|
|
|
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 \
|
2011-11-13 08:54:04 -05:00
|
|
|
devel/libusb-compat \
|
2010-11-17 03:05:12 -05:00
|
|
|
devel/libtool,-ltdl
|
2003-04-09 19:55:01 -04:00
|
|
|
|
2011-11-13 12:15:31 -05:00
|
|
|
# cleanup
|
|
|
|
post-install:
|
|
|
|
rm -rf ${PREFIX}/lib/libgphoto2/${VERSION}/*.{a,la}
|
|
|
|
rm -rf ${PREFIX}/lib/udev
|
|
|
|
|
2003-04-09 19:55:01 -04:00
|
|
|
.include <bsd.port.mk>
|