mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
Even better way of handling multiple post-extract targets.
Submitted by: jeh
This commit is contained in:
parent
f7fc05fe40
commit
25af8023e3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=39585
@ -101,12 +101,6 @@ post-clean:
|
||||
.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
.if target(post-extract-jstring)
|
||||
${MAKE} post-extract-jstring
|
||||
.endif
|
||||
.if target(post-extract-ming)
|
||||
${MAKE} post-extract-ming
|
||||
.endif
|
||||
post-extract: ${POSTEXTRACT}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -170,6 +170,7 @@ DISTFILES= \${DISTNAME}\${EXTRACT_SUFX} php-4.0RC2_jstring-1.0.tar.gz
|
||||
CONFIGURE_ARGS+=--enable-jstring
|
||||
BUILD_DEPENDS+= automake:\${PORTSDIR}/devel/automake
|
||||
BUILD_DEPENDS+= autoconf:\${PORTSDIR}/devel/autoconf
|
||||
POSTEXTRACT+= post-extract-jstring
|
||||
|
||||
post-extract-jstring:
|
||||
[ -d \${WRKDIR}/jstring ] && \\
|
||||
@ -193,6 +194,7 @@ BUILD_DEPENDS+= /nonexistent:\${PORTSDIR}/graphics/ming:extract
|
||||
BUILD_DEPENDS+= automake:\${PORTSDIR}/devel/automake
|
||||
BUILD_DEPENDS+= autoconf:\${PORTSDIR}/devel/autoconf
|
||||
LIB_DEPENDS+= ming.2:\${PORTSDIR}/graphics/ming
|
||||
POSTEXTRACT+= post-extract-ming
|
||||
|
||||
post-extract-ming:
|
||||
[ -d \${PORTSDIR}/graphics/ming/work ] && \\
|
||||
|
@ -101,12 +101,6 @@ post-clean:
|
||||
.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
.if target(post-extract-jstring)
|
||||
${MAKE} post-extract-jstring
|
||||
.endif
|
||||
.if target(post-extract-ming)
|
||||
${MAKE} post-extract-ming
|
||||
.endif
|
||||
post-extract: ${POSTEXTRACT}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -170,6 +170,7 @@ DISTFILES= \${DISTNAME}\${EXTRACT_SUFX} php-4.0RC2_jstring-1.0.tar.gz
|
||||
CONFIGURE_ARGS+=--enable-jstring
|
||||
BUILD_DEPENDS+= automake:\${PORTSDIR}/devel/automake
|
||||
BUILD_DEPENDS+= autoconf:\${PORTSDIR}/devel/autoconf
|
||||
POSTEXTRACT+= post-extract-jstring
|
||||
|
||||
post-extract-jstring:
|
||||
[ -d \${WRKDIR}/jstring ] && \\
|
||||
@ -193,6 +194,7 @@ BUILD_DEPENDS+= /nonexistent:\${PORTSDIR}/graphics/ming:extract
|
||||
BUILD_DEPENDS+= automake:\${PORTSDIR}/devel/automake
|
||||
BUILD_DEPENDS+= autoconf:\${PORTSDIR}/devel/autoconf
|
||||
LIB_DEPENDS+= ming.2:\${PORTSDIR}/graphics/ming
|
||||
POSTEXTRACT+= post-extract-ming
|
||||
|
||||
post-extract-ming:
|
||||
[ -d \${PORTSDIR}/graphics/ming/work ] && \\
|
||||
|
Loading…
Reference in New Issue
Block a user