openbsd-ports/graphics/libgphoto2/Makefile

42 lines
929 B
Makefile
Raw Normal View History

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