blob: 711299837cb92463aa422a2617560b814386e2df (
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
|
# 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= 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>
|