From 4e4178dab5c2825019e9652f1ba4f102253a31df Mon Sep 17 00:00:00 2001 From: Rene Ladan Date: Mon, 29 Apr 2013 16:43:05 +0000 Subject: 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) --- graphics/libgphoto2/Makefile | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) (limited to 'graphics/libgphoto2') 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 - -.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 +.include -- cgit v1.2.3