diff options
author | Rene Ladan <rene@FreeBSD.org> | 2013-04-29 16:43:05 +0000 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2013-04-29 16:43:05 +0000 |
commit | 4e4178dab5c2825019e9652f1ba4f102253a31df (patch) | |
tree | a101ccfbdb487a4c9c92a67d6d88ac8775e3362a /graphics/libgphoto2/Makefile | |
parent | ecec69fbc311162911f66439dedf61b8176ef964 (diff) | |
download | ports-4e4178dab5c2825019e9652f1ba4f102253a31df.tar.gz ports-4e4178dab5c2825019e9652f1ba4f102253a31df.zip |
Notes
Diffstat (limited to 'graphics/libgphoto2/Makefile')
-rw-r--r-- | graphics/libgphoto2/Makefile | 15 |
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> |