aboutsummaryrefslogtreecommitdiff
path: root/graphics/libgphoto2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/libgphoto2/Makefile')
-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>