aboutsummaryrefslogtreecommitdiff
path: root/net/clamz/Makefile
blob: 10333b88f1ce8e717a893aec8f005d7d8a9afde7 (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
33
# New ports collection makefile for: clamz
# Date created:		2009-06-08
# Whom:			Helko Glathe <glathe.helko@googlemail.com>
#
# $FreeBSD$
#

PORTNAME=	clamz
PORTVERSION=	0.2
PORTREVISION=	1
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.6:${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>