freebsd-ports/devel/libzvbi/Makefile
2003-05-18 10:34:51 +00:00

34 lines
855 B
Makefile

# New ports collection makefile for: libzvbi
# Date created: 15 May 2003
# Whom: Oliver Lehmann <oliver@freebsd.org>
#
# $FreeBSD$
#
PORTNAME= libzvbi
PORTVERSION= 0.2.4
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= zapping
DISTNAME= ${PORTNAME:S/lib//}-${PORTVERSION}
MAINTAINER= oliver@freebsd.org
COMMENT= Routines to access raw VBI capture devices
LIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png \
intl.4:${PORTSDIR}/devel/gettext
USE_X_PREFIX= yes
USE_BZIP2= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE}/include \
--with-libintl-prefix=${LOCALBASE}/include
CONFIGURE_ENV= CC="$(CC) -I${LOCALBASE}/include" LIBS="-L${LOCALBASE}/lib -L/usr/lib"
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
.include <bsd.port.mk>