mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-20 08:27:15 +00:00
Simplify lzo2.pc packaging fix.
PR: 218058 Submitted by: Ralf van der Enden
This commit is contained in:
parent
3b073349d9
commit
e8f9110919
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=436863
@ -16,12 +16,12 @@ LICENSE= GPLv2
|
||||
|
||||
USES= libtool
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --enable-shared --docdir=${DOCSDIR}
|
||||
CONFIGURE_ARGS= --enable-shared --docdir=${DOCSDIR} --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
OPTIONS_DEFINE= DOCS EXAMPLES
|
||||
|
||||
DOCS_INSTALL_TARGET_OFF= install-exec install-pkgincludeHEADERS
|
||||
DOCS_INSTALL_TARGET_OFF= install-exec install-pkgincludeHEADERS install-pkgconfigDATA
|
||||
|
||||
post-build:
|
||||
.if !defined(WITHOUT_CHECKS)
|
||||
@ -40,9 +40,5 @@ post-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}/
|
||||
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/examples/[a-z]*.[ch] ${STAGEDIR}${EXAMPLESDIR}/
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/libdata/pkgconfig
|
||||
${INSTALL_DATA} ${WRKSRC}/lzo2.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig
|
||||
${RM} ${STAGEDIR}${PREFIX}/lib/pkgconfig/lzo2.pc
|
||||
d="${STAGEDIR}${PREFIX}/lib/pkgconfig" ; if test -d "$$d" ; then ${RMDIR} "$$d" ; fi
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user