mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-09 06:51:44 +00:00
87fe5303a3
PR: ports/118499 Submitted by: maintainer
32 lines
744 B
Makefile
32 lines
744 B
Makefile
# New ports collection makefile for: libmtp
|
|
# Date created: 3 December 2006
|
|
# Whom: Petar Zhivkov Petrov (pesho.petrov@gmail.com)
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= libmtp
|
|
PORTVERSION= 0.2.4
|
|
CATEGORIES= audio
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= pesho.petrov@gmail.com
|
|
COMMENT= Media Transfer Protocol (MTP) library
|
|
|
|
LIB_DEPENDS= usb:${PORTSDIR}/devel/libusb \
|
|
iconv:${PORTSDIR}/converters/libiconv
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= LDFLAGS="${LDFLAGS}" CPPFLAGS="${CPPFLAGS}"
|
|
USE_GNOME= gnomehack
|
|
USE_LDCONFIG= yes
|
|
|
|
CPPFLAGS= -I${LOCALBASE}/include
|
|
LDFLAGS= -L${LOCALBASE}/lib -liconv
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '/^SUBDIRS/s|doc||' ${WRKSRC}/Makefile.in
|
|
|
|
.include <bsd.port.mk>
|