mirror of
https://git.freebsd.org/ports.git
synced 2025-06-01 19:06:28 -04:00
Use $SUB_FILES to dynamically update pkg-message
PR: 143109 Submitted by: Sevan Janiyan <venture37@geeklan.co.uk>
This commit is contained in:
parent
5fb9c0b67b
commit
a890d205fe
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=248410
2 changed files with 2 additions and 1 deletions
|
@ -20,6 +20,7 @@ MAKE_JOBS_SAFE= yes
|
|||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
PLIST_FILES= libexec/micro_proxy
|
||||
MAN8= micro_proxy.8
|
||||
SUB_FILES= pkg-message
|
||||
|
||||
do-build:
|
||||
${CC} ${CFLAGS} -c ${WRKSRC}/${PORTNAME}.c -o ${WRKSRC}/${PORTNAME}.o
|
||||
|
@ -30,6 +31,6 @@ do-install:
|
|||
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${MANPREFIX}/man/man8
|
||||
|
||||
post-install:
|
||||
@${SED} -e 's|%%PREFIX%%|${PREFIX}|' ${PKGMESSAGE}
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Add table
Reference in a new issue