1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00

- Update to 2013.09.15 [1]

- While here, use new LIB_DEPENDS syntax and respect PREFIX

PR:		182331 [1]
Submitted by:	John Hixson <john@ixsystems.com> (maintainer) [1]
This commit is contained in:
Dmitry Marakasov 2013-09-25 04:18:08 +00:00
parent 24517207df
commit 0309eacedd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=328251
6 changed files with 13 additions and 42 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= pianobar
PORTVERSION= 2013.05.19
PORTVERSION= 2013.09.15
CATEGORIES= audio
MASTER_SITES= http://6xq.net/projects/${PORTNAME}/
@ -11,12 +11,12 @@ COMMENT= Command line Pandora player
LICENSE= MIT
LIB_DEPENDS= ao:${PORTSDIR}/audio/libao \
faad:${PORTSDIR}/audio/faad \
mad:${PORTSDIR}/audio/libmad \
gnutls:${PORTSDIR}/security/gnutls \
json:${PORTSDIR}/devel/json-c \
gcrypt:${PORTSDIR}/security/libgcrypt
LIB_DEPENDS= libao.so:${PORTSDIR}/audio/libao \
libfaad.so:${PORTSDIR}/audio/faad \
libmad.so:${PORTSDIR}/audio/libmad \
libgnutls.so:${PORTSDIR}/security/gnutls \
libjson.so:${PORTSDIR}/devel/json-c \
libgcrypt.so:${PORTSDIR}/security/libgcrypt
MAN1= pianobar.1
MAN_COMPRESSED= no
@ -26,7 +26,7 @@ PLIST_FILES= bin/pianobar
USES= gmake pkgconfig
NO_STAGE= yes
USE_BZIP2= yes
MAKE_ARGS+= CC="${CC}"
MAKE_ARGS+= CC="${CC}" PREFIX="${PREFIX}"
CFLAGS+= -I${LOCALBASE}/include -std=c99
LDFLAGS+= -L${LOCALBASE}/lib

View File

@ -1,2 +1,2 @@
SHA256 (pianobar-2013.05.19.tar.bz2) = cf88e82663d2b0aa4d73e761506eac4f3e7bc789b57d92377acd994d785e1046
SIZE (pianobar-2013.05.19.tar.bz2) = 50942
SHA256 (pianobar-2013.09.15.tar.bz2) = 3f8cf25ef054acf46e519d02453a6e214cfa09661b3adc03da99ace1c6f10066
SIZE (pianobar-2013.09.15.tar.bz2) = 52553

View File

@ -1,5 +1,6 @@
--- Makefile.orig 2013-06-06 11:12:53.077684094 -0700
+++ Makefile 2013-06-06 11:25:07.697666849 -0700
diff -urN pianobar-2013.09.15.orig/Makefile pianobar-2013.09.15/Makefile
--- Makefile 2013-09-15 06:54:04.000000000 -0700
+++ Makefile 2013-09-23 12:20:05.869414665 -0700
@@ -4,7 +4,7 @@
BINDIR:=${PREFIX}/bin
LIBDIR:=${PREFIX}/lib

View File

@ -1,10 +0,0 @@
--- src/libpiano/crypt.c.orig 2012-05-06 07:33:54.000000000 -0700
+++ src/libpiano/crypt.c 2012-05-12 19:42:13.000000000 -0700
@@ -23,6 +23,7 @@
#include <string.h>
#include <assert.h>
+#define _GCRYPT_IN_LIBGCRYPT
#include <gcrypt.h>
#include <stdio.h>
#include <stdlib.h>

View File

@ -1,10 +0,0 @@
--- src/libpiano/crypt.h.orig 2012-05-06 07:33:54.000000000 -0700
+++ src/libpiano/crypt.h 2012-05-12 19:42:29.000000000 -0700
@@ -24,6 +24,7 @@
#ifndef _CRYPH_H
#define _CRYPT_H
+#define _GCRYPT_IN_LIBGCRYPT
#include <gcrypt.h>
char *PianoDecryptString (gcry_cipher_hd_t, const char * const,

View File

@ -1,10 +0,0 @@
--- src/libpiano/piano.h.orig 2012-05-06 07:33:54.000000000 -0700
+++ src/libpiano/piano.h 2012-05-12 19:42:41.000000000 -0700
@@ -25,6 +25,7 @@
#define _PIANO_H
#include <stdbool.h>
+#define _GCRYPT_IN_LIBGCRYPT
#include <gcrypt.h>
/* this is our public API; don't expect this api to be stable as long as