- Install pkgconfig file
Approved by: maintainer Obtained from: Debian
This commit is contained in:
parent
9ee8737b33
commit
d52971d56c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=118621
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= libmad
|
||||
PORTVERSION= 0.15.1b
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= audio
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
||||
ftp://ftp.mars.org/pub/mpeg/
|
||||
@ -16,9 +17,17 @@ MAINTAINER= asa@gascom.ru
|
||||
COMMENT= Libmad library (part of MAD project)
|
||||
|
||||
USE_INC_LIBTOOL_VER= 13
|
||||
USE_GNOME= pkgconfig
|
||||
INSTALLS_SHLIB= yes
|
||||
CONFIGURE_ARGS= --disable-debugging \
|
||||
--enable-sso \
|
||||
--enable-accuracy
|
||||
|
||||
post-patch:
|
||||
@${SED} -e 's|%PREFIX%|${PREFIX}|g ; s|%VERSION%|${PORTVERSION}|g' \
|
||||
${FILESDIR}/mad.pc.in > ${WRKDIR}/mad.pc
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA} ${WRKDIR}/mad.pc ${PREFIX}/libdata/pkgconfig
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
11
audio/libmad/files/mad.pc.in
Normal file
11
audio/libmad/files/mad.pc.in
Normal file
@ -0,0 +1,11 @@
|
||||
prefix=%PREFIX%
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: mad
|
||||
Description: MPEG Audio Decoder
|
||||
Requires:
|
||||
Version: %VERSION%
|
||||
Libs: -L${libdir} -lmad -lm
|
||||
Cflags: -I${includedir}
|
@ -2,3 +2,4 @@ include/mad.h
|
||||
lib/libmad.a
|
||||
lib/libmad.so
|
||||
lib/libmad.so.2
|
||||
libdata/pkgconfig/mad.pc
|
||||
|
Loading…
Reference in New Issue
Block a user