pkgsrc/devel/libmtp/Makefile
jperkin 66935e30f6 Pull in devel/libusb on SunOS instead of the unsupported devel/libusb1, the
package detects which version is used at build time and handles both.
2014-08-21 14:03:45 +00:00

34 lines
792 B
Makefile

# $NetBSD: Makefile,v 1.9 2014/08/21 14:03:45 jperkin Exp $
#
DISTNAME= libmtp-1.1.6
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libmtp/}
MAINTAINER= ku3@sl.aanet.ru
HOMEPAGE= http://libmtp.sourceforge.net/
COMMENT= Implementation of Media Transfer Protocol (MTP)
USE_PKGLOCALEDIR= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
GNU_CONFIGURE= yes
CONFIGURE_ENV+= HAVE_DOXYGEN=false
PKGCONFIG_OVERRIDE+= libmtp.pc.in
REPLACE_SH= hotplug.sh.in
REPLACE_SH+= libmtp.sh.in
LDFLAGS.FreeBSD+= -liconv
LDFLAGS.SunOS= -liconv
.include "../../mk/bsd.prefs.mk"
.include "../../converters/libiconv/buildlink3.mk"
.if ${OPSYS} == "SunOS"
.include "../../devel/libusb/buildlink3.mk"
.else
.include "../../devel/libusb1/buildlink3.mk"
.endif
.include "../../mk/bsd.pkg.mk"