aboutsummaryrefslogtreecommitdiffstats
path: root/audio/libmtp/Makefile
blob: fdd2c69be81b625c2180d4f3674e653f9983a715 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# New ports collection makefile for:    libmtp
# Date created:                         3 December 2006
# Whom:                             Petar Zhivkov Petrov (pesho.petrov@gmail.com)
#
# $FreeBSD$
#

PORTNAME=   libmtp
PORTVERSION=    0.3.1
PORTREVISION=   1
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>