aboutsummaryrefslogtreecommitdiff
path: root/graphics/liblqr-1
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2010-01-11 10:28:02 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2010-01-11 10:28:02 +0000
commitfad778e176fbb244fe287cb2d591635d0546636f (patch)
tree5023e61c5b0ba6650844b002d4d38642c49fb5a6 /graphics/liblqr-1
parentcca65e1ebdd414774fd97d36325e74854d8a5d21 (diff)
downloadports-fad778e176fbb244fe287cb2d591635d0546636f.tar.gz
ports-fad778e176fbb244fe287cb2d591635d0546636f.zip
Notes
Diffstat (limited to 'graphics/liblqr-1')
-rw-r--r--graphics/liblqr-1/Makefile9
-rw-r--r--graphics/liblqr-1/files/pkg-message.in5
2 files changed, 7 insertions, 7 deletions
diff --git a/graphics/liblqr-1/Makefile b/graphics/liblqr-1/Makefile
index dc364953e495..f170490a9fd0 100644
--- a/graphics/liblqr-1/Makefile
+++ b/graphics/liblqr-1/Makefile
@@ -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
diff --git a/graphics/liblqr-1/files/pkg-message.in b/graphics/liblqr-1/files/pkg-message.in
new file mode 100644
index 000000000000..14ac2d684633
--- /dev/null
+++ b/graphics/liblqr-1/files/pkg-message.in
@@ -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%%
+==========================================================================