aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/camserv
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-07-29 09:31:13 +0800
committeradamw <adamw@FreeBSD.org>2014-07-29 09:31:13 +0800
commit0176da93ddc4d174f8d0bdcd3c683f404879aaca (patch)
tree3bddb5ab6e3fb3a57edca76c00d09e6b3c99ac3e /multimedia/camserv
parent184dd99cbe7c0ede86df49c2e461597d4c9a3351 (diff)
downloadfreebsd-ports-gnome-0176da93ddc4d174f8d0bdcd3c683f404879aaca.tar.gz
freebsd-ports-gnome-0176da93ddc4d174f8d0bdcd3c683f404879aaca.tar.zst
freebsd-ports-gnome-0176da93ddc4d174f8d0bdcd3c683f404879aaca.zip
Rename multimedia/ patch-xy patches to reflect the files they modify.
Diffstat (limited to 'multimedia/camserv')
-rw-r--r--multimedia/camserv/Makefile27
-rw-r--r--multimedia/camserv/files/patch-Makefile.in (renamed from multimedia/camserv/files/patch-ad)0
-rw-r--r--multimedia/camserv/files/patch-camserv_video_fbsd_bttv.c (renamed from multimedia/camserv/files/patch-ab)0
3 files changed, 8 insertions, 19 deletions
diff --git a/multimedia/camserv/Makefile b/multimedia/camserv/Makefile
index 6f5627fc3db0..9a3e809e63ce 100644
--- a/multimedia/camserv/Makefile
+++ b/multimedia/camserv/Makefile
@@ -27,25 +27,14 @@ OPTIONS_DEFINE= IMLIB2 PIXBUF V4L DOCS
OPTIONS_DEFAULT=IMLIB2
OPTIONS_SUB= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MIMLIB2}
-USE_EFL+= imlib2
-.else
-CONFIGURE_ENV+= ac_cv_path_IMLIB2_CONFIG=no
-.endif
-
-.if ${PORT_OPTIONS:MPIXBUF}
-USE_GNOME+= gdkpixbuf
-.else
-CONFIGURE_ENV+= ac_cv_path_GDKPIXBUF_CONFIG=no
-.endif
-
-.if ${PORT_OPTIONS:MV4L}
-BUILD_DEPENDS+= v4l_compat>0:${PORTSDIR}/multimedia/v4l_compat
-.else
-CONFIGURE_ENV= ac_cv_header_linux_videodev_h=no
-.endif
+IMLIB2_USE= EFL=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 \
diff --git a/multimedia/camserv/files/patch-ad b/multimedia/camserv/files/patch-Makefile.in
index 56d8922a1a77..56d8922a1a77 100644
--- a/multimedia/camserv/files/patch-ad
+++ b/multimedia/camserv/files/patch-Makefile.in
diff --git a/multimedia/camserv/files/patch-ab b/multimedia/camserv/files/patch-camserv_video_fbsd_bttv.c
index e2b8cf1d2ebb..e2b8cf1d2ebb 100644
--- a/multimedia/camserv/files/patch-ab
+++ b/multimedia/camserv/files/patch-camserv_video_fbsd_bttv.c