1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/misc/podsleuth/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

36 lines
1.1 KiB
Makefile

# New ports collection makefile for: podsleuth
# Date created: 2008-07-09
# Whom: Romain Tartiere <romain@blogreen.org>
#
# $FreeBSD$
#
PORTNAME= podsleuth
PORTVERSION= 0.6.7
PORTREVISION= 1
CATEGORIES= misc
MASTER_SITES= http://download.banshee.fm/${PORTNAME}/${PORTVERSION}/
MAINTAINER= mono@FreeBSD.org
COMMENT= A tool to discover detailed model information about an iPod
LIB_DEPENDS= sgutils2.2:${PORTSDIR}/sysutils/sg3_utils \
hal.1:${PORTSDIR}/sysutils/hal
BUILD_DEPENDS= ${LOCALBASE}/bin/mono:${PORTSDIR}/lang/mono \
${LOCALBASE}/libdata/pkgconfig/ndesk-dbus-1.0.pc:${PORTSDIR}/devel/ndesk-dbus
RUN_DEPENDS= ${LOCALBASE}/bin/mono:${PORTSDIR}/lang/mono \
${LOCALBASE}/libdata/pkgconfig/ndesk-dbus-1.0.pc:${PORTSDIR}/devel/ndesk-dbus
CONFIGURE_ARGS+=--with-hal-callouts-dir=${PREFIX}/libexec
LDFLAGS+= -L${LOCALBASE}/lib
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_GNOME= gnomehack pkgconfig
post-patch:
@${REINPLACE_CMD} -e 's|^#!/bin/bash$$|#!/bin/sh|' \
${WRKSRC}/src/PodSleuth.Hal/hal-podsleuth.in \
${WRKSRC}/src/PodSleuth.Hal/podsleuth.in \
.include <bsd.port.mk>