aboutsummaryrefslogtreecommitdiffstats
path: root/misc/podsleuth/Makefile
blob: 45067108af85e99b6c48703a9ef92fdc3959ac3b (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
# Created by: 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=    Tool to discover detailed model information about an iPod

LIB_DEPENDS=    libsgutils2.so:${PORTSDIR}/sysutils/sg3_utils \
        libhal.so:${PORTSDIR}/sysutils/hal
BUILD_DEPENDS=  ${LOCALBASE}/libdata/pkgconfig/ndesk-dbus-1.0.pc:${PORTSDIR}/devel/ndesk-dbus
RUN_DEPENDS=    ${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
USES=       gmake mono pkgconfig pathfix
MAKE_JOBS_UNSAFE=   yes

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>