mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-12 07:27:57 +00:00
40 lines
891 B
Makefile
40 lines
891 B
Makefile
# Created by: Anders Nordby <anders@fix.no>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gphoto2
|
|
PORTVERSION= 2.4.14
|
|
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
|
|
|
|
USES= gmake pkgconfig
|
|
USE_BZIP2= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --without-cdk
|
|
CONFIGURE_ENV= POPT_CFLAGS="-I${LOCALBASE}/include" \
|
|
POPT_LIBS="-L${LOCALBASE}/lib -lpopt"
|
|
|
|
OPTIONS_DEFINE= AALIB DOCS NLS
|
|
OPTIONS_DEFAULT= AALIB
|
|
OPTIONS_SUB= yes
|
|
|
|
AALIB_DESC= Text mode capture preview support
|
|
|
|
AALIB_LIB_DEPENDS= libaa.so:${PORTSDIR}/graphics/aalib
|
|
AALIB_CONFIGURE_OFF= --without-aalib
|
|
|
|
NLS_USES= gettext
|
|
NLS_CONFIGURE_OFF= --disable-nls
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/NEWS ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|