mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
use $SUB_FILES to dynamically adjust pkg-message
PR: ports/142515 Submitted by: Sevan Janiyan <venture37@geeklan.co.uk>
This commit is contained in:
parent
77852d1eda
commit
f5c47994e6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=247703
2 changed files with 1 additions and 7 deletions
|
@ -21,17 +21,11 @@ RUN_DEPENDS= ${BUILD_DEPENDS}
|
|||
NO_BUILD= yes
|
||||
USE_PERL5= yes
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||
SUB_FILES= pkg-message sql-ledger-httpd.conf
|
||||
|
||||
post-patch:
|
||||
@${PERL} -pi -e 's|/usr/bin/perl|${PERL}|' \
|
||||
`${FIND} ${WRKSRC} -name \*.pl`
|
||||
@${PERL} -pe 's|%%PREFIX%%|${PREFIX}|g' \
|
||||
${FILESDIR}/sql-ledger-httpd.conf.in \
|
||||
> ${WRKDIR}/sql-ledger-httpd.conf
|
||||
@${PERL} -pe 's|%%PREFIX%%|${PREFIX}|g' \
|
||||
${PKGDIR}/pkg-message \
|
||||
> ${PKGMESSAGE}
|
||||
|
||||
do-install:
|
||||
@cd ${WRKDIR} ; \
|
||||
|
|
Loading…
Add table
Reference in a new issue