openbsd-ports/graphics/gphoto2/Makefile

41 lines
973 B
Makefile
Raw Normal View History

2021-02-27 02:55:21 -05:00
# $OpenBSD: Makefile,v 1.43 2021/02/27 07:55:21 ajacoutot Exp $
2003-04-09 19:55:37 -04:00
2014-12-22 09:26:23 -05:00
COMMENT= digital camera command-line interface
2003-04-09 19:55:37 -04:00
2021-02-27 02:55:21 -05:00
VERSION= 2.5.27
2014-12-22 09:26:23 -05:00
DISTNAME= gphoto2-${VERSION}
PKGNAME= gphoto-${VERSION}
2003-04-09 19:55:37 -04:00
2014-12-22 09:26:23 -05:00
CATEGORIES= graphics
2003-04-09 19:55:37 -04:00
2014-12-22 09:26:23 -05:00
HOMEPAGE= http://gphoto.sourceforge.net/
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
2003-04-09 19:55:37 -04:00
# GPLv2
2019-06-15 05:14:40 -04:00
PERMIT_PACKAGE= Yes
2014-12-22 09:26:23 -05:00
WANTLIB += X11 aa c cdk exif gphoto2 gphoto2_port iconv intl jpeg
2018-04-22 04:30:59 -04:00
WANTLIB += ltdl m curses popt pthread readline xcb
2014-12-22 09:26:23 -05:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gphoto/}
2003-04-09 19:55:37 -04:00
2014-12-22 09:26:23 -05:00
LIB_DEPENDS= devel/cdk \
devel/popt \
2015-11-19 02:16:35 -05:00
graphics/aalib \
2014-12-22 09:26:23 -05:00
graphics/libgphoto2
2014-12-22 09:26:23 -05:00
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
POPT_CFLAGS="-I${LOCALBASE}/include" \
POPT_LIBS="-I${LOCALBASE}/lib -lpopt"
2014-12-22 09:26:23 -05:00
# checking how to link with libintl... /usr/local/lib/libintl.a ...
# (we want -lintl)
MAKE_FLAGS= INTLLIBS='$$(LTLIBINTL)'
2003-04-09 19:55:37 -04:00
2020-10-17 04:25:30 -04:00
DEBUG_PACKAGES= ${BUILD_PACKAGES}
2003-04-09 19:55:37 -04:00
.include <bsd.port.mk>