2011-11-13 12:15:59 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.21 2011/11/13 17:15:59 ajacoutot Exp $
|
2003-04-09 19:55:37 -04:00
|
|
|
|
2010-11-09 13:22:26 -05:00
|
|
|
COMMENT = digital camera command-line interface
|
|
|
|
CATEGORIES = graphics
|
2003-04-09 19:55:37 -04:00
|
|
|
|
2010-11-09 13:22:26 -05:00
|
|
|
MAINTAINER = Marc Espie <espie@openbsd.org>
|
2003-04-09 19:55:37 -04:00
|
|
|
|
2011-11-13 12:15:59 -05:00
|
|
|
VERSION = 2.4.11
|
2010-11-09 13:22:26 -05:00
|
|
|
DISTNAME = gphoto2-${VERSION}
|
|
|
|
PKGNAME = gphoto-${VERSION}
|
2003-04-09 19:55:37 -04:00
|
|
|
|
2010-11-09 13:22:26 -05:00
|
|
|
HOMEPAGE = http://gphoto.sourceforge.net/
|
2003-04-09 19:55:37 -04:00
|
|
|
|
2010-11-09 13:22:26 -05:00
|
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=gphoto/}
|
2003-04-09 19:55:37 -04:00
|
|
|
|
2009-02-01 06:04:42 -05:00
|
|
|
# GPLv2
|
2010-11-09 13:22:26 -05:00
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM = Yes
|
2008-12-08 09:21:07 -05:00
|
|
|
|
2011-11-13 12:15:59 -05:00
|
|
|
WANTLIB += c exif gphoto2 gphoto2_port jpeg ltdl m ncurses popt
|
|
|
|
WANTLIB += pthread readline usb usb-1.0
|
2003-04-09 19:55:37 -04:00
|
|
|
|
2010-11-09 13:22:26 -05:00
|
|
|
USE_LIBTOOL = Yes
|
|
|
|
USE_GROFF = Yes
|
2003-04-09 19:55:37 -04:00
|
|
|
|
2010-11-09 13:22:26 -05:00
|
|
|
MAKE_FLAGS = INTLLIBS='$$(LTLIBINTL)'
|
2009-11-09 03:05:16 -05:00
|
|
|
|
2010-11-09 13:22:26 -05:00
|
|
|
CONFIGURE_STYLE = gnu
|
2011-11-13 12:15:59 -05:00
|
|
|
CONFIGURE_ARGS = ${CONFIGURE_SHARED} \
|
|
|
|
--without-aalib \
|
|
|
|
--without-cdk
|
2010-11-09 13:22:26 -05:00
|
|
|
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
|
2007-10-19 09:00:18 -04:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
|
|
|
POPT_CFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
POPT_LIBS="-I${LOCALBASE}/lib -lpopt"
|
|
|
|
|
2010-11-09 13:22:26 -05:00
|
|
|
MODULES = devel/gettext
|
2011-11-13 12:15:59 -05:00
|
|
|
LIB_DEPENDS = graphics/libgphoto2>=2.4.11 \
|
2010-11-17 03:05:12 -05:00
|
|
|
devel/popt
|
2003-04-09 19:55:37 -04:00
|
|
|
|
2011-11-13 12:15:59 -05:00
|
|
|
pre-configure:
|
|
|
|
perl -pi -e 's,-lpthread,-pthread,g' ${WRKSRC}/configure
|
|
|
|
|
2003-04-09 19:55:37 -04:00
|
|
|
.include <bsd.port.mk>
|