mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
- Use gnomehack
- Remove CONFIGURE_ENV - Invalid 'WITH_OLDLIBS' deletion. PR: ports/160727 Submitted by: Takefu <takefu@airport.fm> (maintainer)
This commit is contained in:
parent
7d8f2e699e
commit
5ab5932c3c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=281847
@ -11,6 +11,7 @@ CATEGORIES= audio
|
||||
MASTER_SITES= http://tipok.org.ua/downloads/media/aac+/libaacplus/:site1\
|
||||
http://217.20.164.161/~tipok/aacplus/:site1\
|
||||
http://media.wnet.ua/~tipok/aacplus/:site1\
|
||||
ftp://ftp.3gpp.org/Specs/archive/26_series/26.410/:site2\
|
||||
http://www.3gpp.org/ftp/Specs/archive/26_series/26.410/:site2
|
||||
DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:site1\
|
||||
26410-800.zip:site2
|
||||
@ -25,17 +26,16 @@ RESTRICTED= unclear legal status, probably need licenses from 3GPP, Via Licensin
|
||||
|
||||
CONFLICTS= aacplusenc-0*
|
||||
|
||||
USE_GNOME= pkgconfig
|
||||
USE_GNOME= gnomehack pkgconfig
|
||||
USE_LDCONFIG= yes
|
||||
USE_AUTOTOOLS= libtool libtoolize aclocal autoheader automake
|
||||
GNOME_MAKEFILEIN= Makefile.am
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
AUTOMAKE_ARGS= --add-missing
|
||||
ACLOCAL_ARGS= --acdir=${ACLOCAL_DIR} \
|
||||
-I ${LOCALBASE}/share/aclocal -I ${WRKSRC}/m4
|
||||
LIBTOOLIZE_ARGS=--automake
|
||||
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include"\
|
||||
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
|
||||
|
||||
MAN1= aacplusenc.1
|
||||
|
||||
@ -54,13 +54,7 @@ CONFIGURE_ARGS+=--with-fftw3=no
|
||||
|
||||
pre-configure:
|
||||
@${CP} ${DISTDIR}/26410-800.zip ${WRKSRC}/src
|
||||
|
||||
post-patch:
|
||||
.if defined(WITH_OLDLIBS)
|
||||
@${REINPLACE_CMD} -e 's,-I${includedir},-I@includedir@\ -I${includedir},'\
|
||||
-e 's,@includedir@\/aacplus,@includedir@\/libaacplus,' ${WRKSRC}/aacplus.pc.in
|
||||
.else
|
||||
@${REINPLACE_CMD} -e 's,\/aacplus,,' ${WRKSRC}/aacplus.pc.in
|
||||
.endif
|
||||
@${REINPLACE_CMD} -e 's,@includedir@\/aacplus,@prefix@\/include,' ${WRKSRC}/aacplus.pc.in
|
||||
@${REINPLACE_CMD} -e 's,\/aacplus\.h,\/libaacplus\/aacplus\.h,' ${WRKSRC}/aacplus.spec.in
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- Makefile.am.orig 2010-10-07 21:00:14.000000000 +0900
|
||||
+++ Makefile.am 2010-10-14 18:02:13.000000000 +0900
|
||||
@@ -2,7 +2,7 @@
|
||||
SUBDIRS = src include patches frontend
|
||||
|
||||
if HAVE_PKGCONFIG
|
||||
- pkgconfigdir = $(libdir)/pkgconfig
|
||||
+ pkgconfigdir = $(prefix)/libdata/pkgconfig
|
||||
pkgconfig_DATA = aacplus.pc
|
||||
else
|
||||
bin_SCRIPTS = aacplus-config
|
@ -1,3 +1,3 @@
|
||||
HE-AAC+ Codec as Shared Library
|
||||
|
||||
WWW: http://tipok.org.ua/ru/node/17/
|
||||
WWW: http://tipok.org.ua/node/17/
|
||||
|
Loading…
Reference in New Issue
Block a user