openbsd-ports/graphics/gphoto2/Makefile
ajacoutot e7c6d04429 - update to gphoto2-2.4.1
tested by landry@ (i386) and myself (macppc)
"go for it if it works" espie@
2008-06-18 11:44:04 +00:00

39 lines
925 B
Makefile

# $OpenBSD: Makefile,v 1.11 2008/06/18 11:44:04 ajacoutot Exp $
COMMENT= digital camera command-line interface
CATEGORIES= graphics
MAINTAINER= Marc Espie <espie@openbsd.org>
VERSION= 2.4.1
DISTNAME= gphoto2-${VERSION}
PKGNAME= gphoto-${VERSION}
HOMEPAGE= http://gphoto.sourceforge.net/
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 exif m ncurses readline ltdl pthread usb
USE_X11= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --without-aalib --without-cdk
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
POPT_CFLAGS="-I${LOCALBASE}/include" \
POPT_LIBS="-I${LOCALBASE}/lib -lpopt"
MODULES= devel/gettext
LIB_DEPENDS= gphoto2,gphoto2_port::graphics/libgphoto2 \
jpeg::graphics/jpeg \
popt::devel/popt
.include <bsd.port.mk>