View | Details | Raw Unified | Return to bug 160727
Collapse All | Expand All

(-)audio/libaacplus/Makefile (-11 / +5 lines)
Lines 11-16 Link Here
11
MASTER_SITES=	http://tipok.org.ua/downloads/media/aac+/libaacplus/:site1\
11
MASTER_SITES=	http://tipok.org.ua/downloads/media/aac+/libaacplus/:site1\
12
		http://217.20.164.161/~tipok/aacplus/:site1\
12
		http://217.20.164.161/~tipok/aacplus/:site1\
13
		http://media.wnet.ua/~tipok/aacplus/:site1\
13
		http://media.wnet.ua/~tipok/aacplus/:site1\
14
		ftp://ftp.3gpp.org/Specs/archive/26_series/26.410/:site2\
14
		http://www.3gpp.org/ftp/Specs/archive/26_series/26.410/:site2
15
		http://www.3gpp.org/ftp/Specs/archive/26_series/26.410/:site2
15
DISTFILES=	${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:site1\
16
DISTFILES=	${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:site1\
16
		26410-800.zip:site2
17
		26410-800.zip:site2
Lines 25-41 Link Here
25
CONFLICTS=	aacplusenc-0*
26
CONFLICTS=	aacplusenc-0*
26
USE_GNOME=	pkgconfig
27
USE_GNOME=	gnomehack pkgconfig
27
USE_LDCONFIG=	yes
28
USE_LDCONFIG=	yes
28
USE_AUTOTOOLS=	libtool libtoolize aclocal autoheader automake
29
USE_AUTOTOOLS=	libtool libtoolize aclocal autoheader automake
30
GNOME_MAKEFILEIN=	Makefile.am
29
GNU_CONFIGURE=	yes
31
GNU_CONFIGURE=	yes
30
AUTOMAKE_ARGS=	--add-missing
32
AUTOMAKE_ARGS=	--add-missing
31
ACLOCAL_ARGS=	--acdir=${ACLOCAL_DIR} \
33
ACLOCAL_ARGS=	--acdir=${ACLOCAL_DIR} \
32
		-I ${LOCALBASE}/share/aclocal -I ${WRKSRC}/m4
34
		-I ${LOCALBASE}/share/aclocal -I ${WRKSRC}/m4
33
LIBTOOLIZE_ARGS=--automake
35
LIBTOOLIZE_ARGS=--automake
34
CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include"\
35
		LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
36
MAN1=		aacplusenc.1
36
MAN1=		aacplusenc.1
Lines 54-66 Link Here
54
pre-configure:
54
pre-configure:
55
	@${CP} ${DISTDIR}/26410-800.zip ${WRKSRC}/src
55
	@${CP} ${DISTDIR}/26410-800.zip ${WRKSRC}/src
56
56
	@${REINPLACE_CMD} -e 's,@includedir@\/aacplus,@prefix@\/include,' ${WRKSRC}/aacplus.pc.in
57
post-patch:
57
	@${REINPLACE_CMD} -e 's,\/aacplus\.h,\/libaacplus\/aacplus\.h,' ${WRKSRC}/aacplus.spec.in
58
.if defined(WITH_OLDLIBS)
59
	@${REINPLACE_CMD} -e 's,-I${includedir},-I@includedir@\ -I${includedir},'\
60
	-e 's,@includedir@\/aacplus,@includedir@\/libaacplus,' ${WRKSRC}/aacplus.pc.in
61
.else
62
	@${REINPLACE_CMD} -e 's,\/aacplus,,' ${WRKSRC}/aacplus.pc.in
63
.endif
64
.include <bsd.port.mk>
58
.include <bsd.port.mk>
(-)audio/libaacplus/files/patch-Makefile.am (-11 lines)
Lines 1-11 Link Here
1
--- Makefile.am.orig	2010-10-07 21:00:14.000000000 +0900
2
+++ Makefile.am	2010-10-14 18:02:13.000000000 +0900
3
@@ -2,7 +2,7 @@
4
 SUBDIRS = src include patches frontend
5
6
 if HAVE_PKGCONFIG
7
-    pkgconfigdir = $(libdir)/pkgconfig
8
+    pkgconfigdir = $(prefix)/libdata/pkgconfig
9
     pkgconfig_DATA = aacplus.pc
10
 else
11
     bin_SCRIPTS = aacplus-config
(-)audio/libaacplus/pkg-descr (-1 / +1 lines)
Lines 1-3 Link Here
1
HE-AAC+ Codec as Shared Library
1
HE-AAC+ Codec as Shared Library
2
WWW: http://tipok.org.ua/ru/node/17/
2
WWW: http://tipok.org.ua/node/17/

Return to bug 160727