1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/misc/podsleuth/Makefile
2015-05-24 20:06:06 +00:00

31 lines
993 B
Makefile

# 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
CONFIGURE_ENV= ac_cv_path_MCS=${LOCALBASE}/bin/mcs
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>