a781a6e13c
- Convert USE_EFL=libtool_hack to USES=libtool - Convert USE_EFL=imlib2 to LIB_DEPENDS=libImlib2.so:... - Bump PORTVERSION in graphics/imlib2 and in all ports which depends on imlib2 PR: 196062 Approved by: portmgr
53 lines
1.3 KiB
Makefile
53 lines
1.3 KiB
Makefile
# Created by: Chuck Hein <chein@FreeBSD.org> & Jim Overholt <overholt@isdw.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= camserv
|
|
PORTVERSION= 0.5.1
|
|
PORTREVISION= 19
|
|
PORTEPOCH= 1
|
|
CATEGORIES= multimedia
|
|
MASTER_SITES= SF/cserv/${PORTNAME}/${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Free program to do streaming video via the web
|
|
|
|
LICENSE= GPLv2 # (or later)
|
|
|
|
LIB_DEPENDS= libltdl.so:${PORTSDIR}/devel/libltdl \
|
|
libjpeg.so:${PORTSDIR}/graphics/jpeg
|
|
|
|
USES= libtool
|
|
USE_AUTOTOOLS= autoconf
|
|
GNU_CONFIGURE= yes
|
|
INSTALL_TARGET= install-strip
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
OPTIONS_DEFINE= IMLIB2 PIXBUF V4L DOCS
|
|
OPTIONS_DEFAULT=IMLIB2
|
|
OPTIONS_SUB= yes
|
|
|
|
IMLIB2_LIB_DEPENDS= libImlib2.so:${PORTSDIR}/graphics/imlib2
|
|
IMLIB2_CONFIGURE_OFF= ac_cv_path_IMLIB2_CONFIG=no
|
|
|
|
PIXBUF_USE= GNOME=gdkpixbuf
|
|
PIXBUF_CONFIGURE_OFF= ac_cv_path_GDKPIXBUF_CONFIG=no
|
|
|
|
V4L_BUILD_DEPENDS= v4l_compat>0:${PORTSDIR}/multimedia/v4l_compat
|
|
V4L_CONFIGURE_OFF= ac_cv_header_linux_videodev_h=no
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
'/^camserv_DEP/s|=.*|=|' ${WRKSRC}/camserv/Makefile.in
|
|
.for i in common/Makefile.in relay/Makefile.in
|
|
@${REINPLACE_CMD} -e \
|
|
'/^CFLAGS/s|-g||' ${WRKSRC}/${i}
|
|
.endfor
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} README javascript.txt \
|
|
${STAGEDIR}${DOCSDIR})
|
|
|
|
.include <bsd.port.mk>
|