1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

- Use pkg-message.in instead of composing pkg-message with ECHO_CMD

PR:		142543
Submitted by:	Sevan Janiyan <venture37@geeklan.co.uk>
This commit is contained in:
Dmitry Marakasov 2010-01-11 10:28:02 +00:00
parent cca65e1ebd
commit fad778e176
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=247604
2 changed files with 7 additions and 7 deletions

View File

@ -31,7 +31,8 @@ PORTDOCS= *
.if !defined(NOPORTEXAMPLES)
PORTEXAMPLES= *
PKGMESSAGE= ${WRKDIR}/pkg_message
SUB_FILES= pkg-message
SUB_LIST= PORTSDIR=${PORTSDIR}
.endif
.include <bsd.port.pre.mk>
@ -61,12 +62,6 @@ post-install:
${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
@${ECHO_CMD} "==========================================================================" >> ${PKGMESSAGE}
@${ECHO_CMD} "NOTE: In order to compile examples for liblrq, you will" >> ${PKGMESSAGE}
@${ECHO_CMD} "also need pngwriter port (${PORTSDIR}/graphics/pngwriter)." >> ${PKGMESSAGE}
@${ECHO_CMD} "Examples are located in ${EXAMPLESDIR}" >> ${PKGMESSAGE}
@${ECHO_CMD} "==========================================================================" >> ${PKGMESSAGE}
.if !exists(${LOCALBASE}/lib/libpngwriter.a)
@${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD}
.endif

View File

@ -0,0 +1,5 @@
==========================================================================
NOTE: In order to compile examples for liblrq, you will
also need pngwriter port (%%PORTSDIR%%/graphics/pngwriter).
Examples are located in %%EXAMPLESDIR%%
==========================================================================