Use $SUB_FILES to dynamically update pkg-message

PR:		143109
Submitted by:	Sevan Janiyan <venture37@geeklan.co.uk>
This commit is contained in:
Emanuel Haupt 2010-01-23 13:09:55 +00:00
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

View file

@ -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>