42 lines
930 B
Makefile
42 lines
930 B
Makefile
# $OpenBSD: Makefile,v 1.9 2006/01/08 10:14:27 steven Exp $
|
|
|
|
COMMENT= 'digital camera library'
|
|
CATEGORIES= graphics devel
|
|
|
|
MAINTAINER= Marc Espie <espie@openbsd.org>, Arnaud Launay <asl@launay.org>
|
|
|
|
VERSION= 2.1.5
|
|
DISTNAME= libgphoto2-${VERSION}
|
|
PKGNAME= libgphoto-${VERSION}p0
|
|
SHARED_LIBS= gphoto2 2.3 \
|
|
gphoto2_port 5.1
|
|
|
|
HOMEPAGE= http://www.gphoto.org/
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gphoto/}
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
WANTLIB= m
|
|
|
|
USE_LIBTOOL= Yes
|
|
CONFIGURE_STYLE= autoconf
|
|
AUTOCONF_VERSION= 2.57
|
|
SEPARATE_BUILD= simple
|
|
CONFIGURE_ARGS= --disable-nls
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
SUBST_VARS= VERSION
|
|
|
|
MODULES= devel/gettext
|
|
LIB_DEPENDS= exif::graphics/libexif \
|
|
jpeg::graphics/jpeg \
|
|
usb::devel/libusb
|
|
BUILD_DEPENDS= ::devel/pkgconfig
|
|
|
|
.include <bsd.port.mk>
|