2007-10-19 08:57:51 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.13 2007/10/19 12:57:51 ajacoutot Exp $
|
2003-04-09 19:55:01 -04:00
|
|
|
|
2007-08-05 04:27:55 -04:00
|
|
|
COMMENT= digital camera library
|
2003-04-09 19:55:01 -04:00
|
|
|
CATEGORIES= graphics devel
|
|
|
|
|
2007-10-19 08:57:51 -04:00
|
|
|
MAINTAINER= Marc Espie <espie@openbsd.org>
|
2003-04-09 19:55:01 -04:00
|
|
|
|
2007-10-19 08:57:51 -04:00
|
|
|
VERSION= 2.4.0
|
2004-01-15 20:10:47 -05:00
|
|
|
DISTNAME= libgphoto2-${VERSION}
|
2007-10-19 08:57:51 -04:00
|
|
|
PKGNAME= libgphoto-${VERSION}
|
|
|
|
SHARED_LIBS+= gphoto2 3.0 # 5.0
|
|
|
|
SHARED_LIBS+= gphoto2_port 6.0 # 8.0
|
2003-04-09 19:55:01 -04:00
|
|
|
|
2005-05-16 13:44:01 -04:00
|
|
|
HOMEPAGE= http://www.gphoto.org/
|
2003-04-09 19:55:01 -04:00
|
|
|
|
2004-04-14 14:39:57 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gphoto/}
|
2003-04-09 19:55:01 -04:00
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
2007-10-19 08:57:51 -04:00
|
|
|
WANTLIB= c m
|
2003-04-09 19:55:01 -04:00
|
|
|
|
2005-12-29 08:16:32 -05:00
|
|
|
USE_LIBTOOL= Yes
|
2007-10-19 08:57:51 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2004-04-14 14:39:57 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2007-10-19 08:57:51 -04:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
|
|
|
ac_cv_path_DOXYGEN=false
|
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
|
|
|
--enable-static
|
2003-04-09 19:55:01 -04:00
|
|
|
|
2004-01-15 20:10:47 -05:00
|
|
|
SUBST_VARS= VERSION
|
|
|
|
|
2005-02-14 14:41:11 -05:00
|
|
|
MODULES= devel/gettext
|
2003-04-09 19:55:01 -04:00
|
|
|
LIB_DEPENDS= exif::graphics/libexif \
|
2004-01-15 20:10:47 -05:00
|
|
|
jpeg::graphics/jpeg \
|
2007-10-19 08:57:51 -04:00
|
|
|
usb::devel/libusb \
|
|
|
|
ltdl.>=4::devel/libtool,-ltdl
|
2003-04-09 19:55:01 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|