aboutsummaryrefslogtreecommitdiff
path: root/graphics/libgphoto2
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2013-04-29 16:43:05 +0000
committerRene Ladan <rene@FreeBSD.org>2013-04-29 16:43:05 +0000
commit4e4178dab5c2825019e9652f1ba4f102253a31df (patch)
treea101ccfbdb487a4c9c92a67d6d88ac8775e3362a /graphics/libgphoto2
parentecec69fbc311162911f66439dedf61b8176ef964 (diff)
downloadports-4e4178dab5c2825019e9652f1ba4f102253a31df.tar.gz
ports-4e4178dab5c2825019e9652f1ba4f102253a31df.zip
In preparation of removing devel/libusb (expires 2013-04-30), remove it
from these ports. Other changes: - convert Makefile header - convert to optionsNG - remove indefinite article from comment - drop support for FreeBSD < 8.0 - pet portlint (leave library ABI versions in LIB_DEPENDS) - net-mgmt/spectools: change option name from GTK to GTK2 to use default description from bsd.options.desc.mk Approved by: portmgr (bapt)
Notes
Notes: svn path=/head/; revision=316831
Diffstat (limited to 'graphics/libgphoto2')
-rw-r--r--graphics/libgphoto2/Makefile15
1 files changed, 2 insertions, 13 deletions
diff --git a/graphics/libgphoto2/Makefile b/graphics/libgphoto2/Makefile
index fab629249306..f4f5d0fb01c0 100644
--- a/graphics/libgphoto2/Makefile
+++ b/graphics/libgphoto2/Makefile
@@ -8,7 +8,7 @@ CATEGORIES= graphics
MASTER_SITES= SF/gphoto/libgphoto/${PORTVERSION}
MAINTAINER= pav@FreeBSD.org
-COMMENT= A universal digital camera picture control tool
+COMMENT= Universal digital camera picture control tool
LIB_DEPENDS= exif.12:${PORTSDIR}/graphics/libexif \
jpeg.11:${PORTSDIR}/graphics/jpeg
@@ -34,16 +34,7 @@ USES+= gettext
PLIST_SUB+= NLS=""
.endif
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 800064
-LIB_DEPENDS+= usb-0.1.8:${PORTSDIR}/devel/libusb
-.elif ${OSVERSION} < 800069
-CONFIGURE_ENV+= LIBUSB_LIBS="-L/usr/lib -lusb20" LIBUSB_CFLAGS="-I/usr/include/dev/usb -I/usr/include"
-EXTRA_PATCHES= ${PATCHDIR}/extra-patch-usb20
-.else
CONFIGURE_ENV+= LIBUSB_LIBS="-lusb" LIBUSB_CFLAGS="-I/usr/include"
-.endif
post-patch:
.for file in configure libgphoto2_port/configure
@@ -58,9 +49,7 @@ post-patch:
@${REINPLACE_CMD} -e '/test.*udevscriptdir/d ; s| "$$(DESTDIR)$$(udevscriptdir)"||' ${WRKSRC}/libgphoto2_port/usb/Makefile.in ${WRKSRC}/packaging/generic/Makefile.in
@${REINPLACE_CMD} -e 's|linux-hotplug ||' ${WRKSRC}/packaging/Makefile.in
@${REINPLACE_CMD} -e 's|@HAVE_DOXYGEN_TRUE@|#| ; s|@HAVE_DOXYGEN_FALSE@||' ${WRKSRC}/doc/Makefile.in
-.if ${OSVERSION} >= 800064
@${REINPLACE_CMD} -e '/Requires/d' ${WRKSRC}/libgphoto2_port/libgphoto2_port.pc.in
-.endif
@${REINPLACE_CMD} 's|with_hal=yes|with_hal=no|' ${WRKSRC}/libgphoto2_port/configure
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>