1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

- use $SUB_FILES to dynamically adjust pkg-message

PR:             ports/142809
Submitted by:   Sevan Janiyan <venture37@geeklan.co.uk>
Approved by:    maintainer timeout (ofsen@enderunix.org; > 2 weeks)
This commit is contained in:
Philip M. Gollucci 2010-01-31 03:45:11 +00:00
parent 7e6a939f18
commit a1d7291001
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=248928
2 changed files with 4 additions and 2 deletions

View File

@ -18,10 +18,12 @@ GNU_CONFIGURE= yes
PKGMESSAGE= ${WRKDIR}/pkg-message
DOCS= AUTHORS CHANGELOG COPYING INSTALL \
POST-INSTALL README THANKS
POST-INSTALL README THANKS
DOCS_TR= BENIOKU COPYING DEGISIKLIKLER KURULUM \
KURULUM-SONRASI YAPILACAKLAR YAZARLAR
SUB_FILES= pkg-message
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/spamguard ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/*.sample ${PREFIX}/etc
@ -30,6 +32,6 @@ do-install:
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
cd ${WRKSRC}/tr && ${INSTALL_DATA} ${DOCS_TR} ${DOCSDIR}/tr
.endif
@${SED} -e 's,%%PREFIX%%,${PREFIX},g' pkg-message > ${PKGMESSAGE}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>