aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2008-05-01 14:30:09 +0000
committerPav Lucistnik <pav@FreeBSD.org>2008-05-01 14:30:09 +0000
commit586af22cac2303601c316153e83366b9eb7de8fd (patch)
treeea5ddf0e844f5fec78a28aaf5e0a4fe8617e5102 /audio
parenta3517262ad9b356d27c38cfe611fba91f718f3cf (diff)
downloadports-586af22cac2303601c316153e83366b9eb7de8fd.tar.gz
ports-586af22cac2303601c316153e83366b9eb7de8fd.zip
Notes
Diffstat (limited to 'audio')
-rw-r--r--audio/mt-daapd/Makefile15
-rw-r--r--audio/mt-daapd/distinfo9
-rw-r--r--audio/mt-daapd/files/patch-src-Makefile.in11
3 files changed, 28 insertions, 7 deletions
diff --git a/audio/mt-daapd/Makefile b/audio/mt-daapd/Makefile
index c90ef0c4ff52..0e1832aa2a79 100644
--- a/audio/mt-daapd/Makefile
+++ b/audio/mt-daapd/Makefile
@@ -6,15 +6,16 @@
#
PORTNAME= mt-daapd
-PORTVERSION= 0.2.4.1
-CATEGORIES= audio
+PORTVERSION= 0.2.4.2
+CATEGORIES= audio japanese
MASTER_SITES= SF
MAINTAINER= mark@foster.cc
COMMENT= Multithread daapd yet another Server for Apple iTunes
-BUILD_DEPENDS= ${LOCALBASE}/lib/libgdbm.a:${PORTSDIR}/databases/gdbm
-LIB_DEPENDS= id3tag.0:${PORTSDIR}/audio/libid3tag
+#BUILD_DEPENDS= ${LOCALBASE}/lib/libgdbm.a:${PORTSDIR}/databases/gdbm
+LIB_DEPENDS= gdbm.3:${PORTSDIR}/databases/gdbm
+LIB_DEPENDS+= id3tag.0:${PORTSDIR}/audio/libid3tag
GNU_CONFIGURE= yes
CONFIGURE_ENV= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" \
@@ -26,6 +27,12 @@ CONFIGURE_ARGS= --with-id3tag=${PREFIX} --with-gdbm-includes=${LOCALBASE}/inclu
USE_AUTOTOOLS= autoheader:261 autoconf:261:env
+USE_ICONV= yes
+PATCH_SITES+= http://www.apionet.or.jp/~tomi/
+PATCH_SITES+= ${MASTER_SITE_LOCAL}
+PATCHFILES+= mt-daapd-0.2.4.1-cp932.patch
+PATCH_DIST_STRIP+= -p1
+
DAAPD_USER?= daapd
DAAPD_GROUP?= daapd
DAAPD_DBDIR?= /var/db/${PORTNAME}
diff --git a/audio/mt-daapd/distinfo b/audio/mt-daapd/distinfo
index c0135a414757..a357b5541af6 100644
--- a/audio/mt-daapd/distinfo
+++ b/audio/mt-daapd/distinfo
@@ -1,3 +1,6 @@
-MD5 (mt-daapd-0.2.4.1.tar.gz) = 8117141e8a88bfab54fe98b6bbd5cb3a
-SHA256 (mt-daapd-0.2.4.1.tar.gz) = bf11f272014835b0771b1788fc7e4362c478ef3fe5ce7d945fa31480ed5f3e86
-SIZE (mt-daapd-0.2.4.1.tar.gz) = 433226
+MD5 (mt-daapd-0.2.4.2.tar.gz) = 67bef9fb14d487693b0dfb792c3f1b05
+SHA256 (mt-daapd-0.2.4.2.tar.gz) = 50d89f77bdc3fd0ca408d52cabff528224fcc7319acc3b9456db0e3164a3b6cf
+SIZE (mt-daapd-0.2.4.2.tar.gz) = 436513
+MD5 (mt-daapd-0.2.4.1-cp932.patch) = 25ec19e52be09147077b208f294fdb13
+SHA256 (mt-daapd-0.2.4.1-cp932.patch) = 8783a1ff903f3b2bd0d970dc50fa74e34615f2762ab6940573c36049893fc2c0
+SIZE (mt-daapd-0.2.4.1-cp932.patch) = 9086
diff --git a/audio/mt-daapd/files/patch-src-Makefile.in b/audio/mt-daapd/files/patch-src-Makefile.in
new file mode 100644
index 000000000000..358f0f5bd40e
--- /dev/null
+++ b/audio/mt-daapd/files/patch-src-Makefile.in
@@ -0,0 +1,11 @@
+--- src/Makefile.in.orig 2007-10-22 09:32:39.000000000 +0900
++++ src/Makefile.in 2008-01-31 14:01:30.000000000 +0900
+@@ -138,7 +138,7 @@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+-LDFLAGS = @LDFLAGS@
++LDFLAGS = @LDFLAGS@ -liconv
+ LEX = @LEX@
+ LEXLIB = @LEXLIB@
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@