1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Add post-patch command to fix a pathname in pkg-config data.

PR:		ports/96929
Submitted by:	Ulrich Spoerlein <uspoerlein@gmail.com>
Approved by:	holger <holger@e-gitt.net> (maintainer)
This commit is contained in:
Sam Lawrance 2006-05-12 12:33:35 +00:00
parent 4b4993e3d3
commit f47aa140d9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=162167

View File

@ -7,6 +7,7 @@
PORTNAME= avifile
PORTVERSION= 0.7.43
PORTREVISION= 1
PORTEPOCH= 2
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
@ -274,6 +275,9 @@ post-patch:
@${REINPLACE_CMD} -E \
-e 's|^(pkgconfigdir).*|\1=${PREFIX}/libdata/pkgconfig|' \
${WRKSRC}/Makefile.in
# fix pkg-config DB entry, we don't version the include directory
@${REINPLACE_CMD} -E -e \
'/^includedir/s|-[0-9.]+$$||' ${WRKSRC}/avifile.pc.in
# do not install man page for v4l
@${REINPLACE_CMD} -E \
-e 's|kv4lsetup.1||' ${WRKSRC}/doc/Makefile.in