openbsd-ports/graphics/libgphoto2/Makefile
2006-12-16 12:22:32 +00:00

41 lines
896 B
Makefile

# $OpenBSD: Makefile,v 1.11 2006/12/16 12:22:33 espie 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}p1
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
.include <bsd.port.mk>