aboutsummaryrefslogtreecommitdiffstats
path: root/net/clamz/Makefile
blob: 18b36e7cb647998f3bc14d5192ed29746a7e38eb (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: clamz
# Date created:     2009-06-08
# Whom:         Helko Glathe <glathe.helko@googlemail.com>
#
# $FreeBSD$
#

PORTNAME=   clamz
PORTVERSION=    0.2
CATEGORIES= net audio
MASTER_SITES=   ${MASTER_SITE_GOOGLE_CODE}

MAINTAINER= glathe.helko@googlemail.com
COMMENT=    Command-line program to download MP3 files from Amazon's music store

LIB_DEPENDS=    curl.5:${PORTSDIR}/ftp/curl \
        expat.6:${PORTSDIR}/textproc/expat2 \
        gcrypt.16:${PORTSDIR}/security/libgcrypt

GNU_CONFIGURE=  yes
USE_GNOME=  pkgconfig

PLIST_FILES=    bin/${PORTNAME}
MAN1=       ${PORTNAME}.1

post-configure:
    @${REINPLACE_CMD} \
        -e 's|^\(compile.*\)|\1 -I${LOCALBASE}/include|' \
        -e 's|^\(LIBS\ =\)|\1 ${LOCALBASE}/lib/libexpat.so|' \
        ${WRKSRC}/Makefile

.include <bsd.port.mk>