1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00
freebsd-ports/graphics/gphoto2/Makefile
Martin Wilke 8d5f87c537 - Update to 2.5.3
PR:		ports/181073
Submitted by:	Ports Fury
2014-01-17 16:56:15 +00:00

47 lines
1.1 KiB
Makefile

# Created by: Anders Nordby <anders@fix.no>
# $FreeBSD$
PORTNAME= gphoto2
PORTVERSION= 2.5.3
CATEGORIES= graphics
MASTER_SITES= SF/gphoto/gphoto/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Command-line frontend to libgphoto2
LICENSE= GPLv2
LIB_DEPENDS= libpopt.so:${PORTSDIR}/devel/popt \
libgphoto2.so:${PORTSDIR}/graphics/libgphoto2
USE_BZIP2= yes
USES= gmake pkgconfig
GNU_CONFIGURE= yes
CONFIGURE_ENV= POPT_CFLAGS="$$(pkg-config --cflags popt)" \
POPT_LIBS="$$(pkg-config --libs popt)"
CONFIGURE_ARGS= --without-cdk
OPTIONS_DEFINE= AALIB DOCS NLS READLINE
OPTIONS_DEFAULT= AALIB READLINE
OPTIONS_SUB= yes
AALIB_DESC= Text mode capture preview support
AALIB_LIB_DEPENDS= libaa.so:${PORTSDIR}/graphics/aalib
AALIB_CONFIGURE_WITH= aalib
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
READLINE_USES= readline
READLINE_CONFIGURE_WITH= readline
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e \
's|-lpthread|-pthread|' \
${WRKSRC}/configure
post-install:
(cd ${WRKSRC} && ${INSTALL_DATA} NEWS ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>