aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2006-04-01 12:58:18 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2006-04-01 12:58:18 +0000
commitd2d0202a4592c9343ca25da5a7c489a785738ffb (patch)
treef0ac155ba6f525fc8d8163b02e548f838af72108
parent5240d29127b6ff64dbca60c425dc29b3d1890e92 (diff)
downloadports-d2d0202a4592c9343ca25da5a7c489a785738ffb.tar.gz
ports-d2d0202a4592c9343ca25da5a7c489a785738ffb.zip
Use SUB_FILES for pkg-message
Notes
Notes: svn path=/head/; revision=158549
-rw-r--r--databases/arcexplorer/Makefile4
-rw-r--r--databases/arcexplorer/files/pkg-message.in (renamed from databases/arcexplorer/pkg-message)0
-rw-r--r--databases/clip/Makefile5
-rw-r--r--databases/clip/files/pkg-message.in4
-rw-r--r--databases/clip/pkg-message4
-rw-r--r--dns/noip/Makefile6
-rw-r--r--dns/noip/files/pkg-message.in (renamed from dns/noip/pkg-message)0
7 files changed, 14 insertions, 9 deletions
diff --git a/databases/arcexplorer/Makefile b/databases/arcexplorer/Makefile
index 5fd2bdb1a264..9d02184bbbd8 100644
--- a/databases/arcexplorer/Makefile
+++ b/databases/arcexplorer/Makefile
@@ -21,6 +21,8 @@ JAVA_VERSION= 1.2+
DOWNLOAD_URL= http://www.esri.com/software/arcexplorer/download4.html
NO_BUILD= yes
WRKSRC= ${WRKDIR}/ArcExplorer${PORTVERSION}
+SUB_FILES= pkg-message
+PKGMESSAGE= ${WRKDIR}/pkg-message
.include <bsd.port.pre.mk>
@@ -37,7 +39,7 @@ do-install:
post-install:
@${ECHO_CMD}
- @${CAT} ${PKGMESSAGE} | ${SED} -e 's|%%PREFIX%%|${PREFIX}|'
+ @${CAT} ${PKGMESSAGE}
@${ECHO_CMD}
.include <bsd.port.post.mk>
diff --git a/databases/arcexplorer/pkg-message b/databases/arcexplorer/files/pkg-message.in
index feb8f5185ceb..feb8f5185ceb 100644
--- a/databases/arcexplorer/pkg-message
+++ b/databases/arcexplorer/files/pkg-message.in
diff --git a/databases/clip/Makefile b/databases/clip/Makefile
index d7b22c716f88..38f01b8f0a77 100644
--- a/databases/clip/Makefile
+++ b/databases/clip/Makefile
@@ -38,6 +38,8 @@ BROKEN= Incomplete pkg-plist
WRKSRC= ${WRKDIR}/${PORTNAME}-prg-${PORTVERSION:R}-${PORTVERSION:E}
USE_GETTEXT= yes
WANT_GNOME= yes
+SUB_FILES= pkg-message
+PKGMESSAGE= ${WRKDIR}/pkg-message
OPTIONS= IODBC "iODBC support" on \
UNIXODBC "unixODBC support (not with iODBC)" off \
@@ -115,8 +117,6 @@ MAKE_ENV= HOME="${WRKDIR}" \
WITH_IODBC="${WITH_IODBC}" \
CLIP_CONFIGURE_FLAGS="-l"
-PKGMESSAGE= ${WRKDIR}/pkg-message
-
FIREBIRD_PORT?= databases/firebird-client
BIN2STRIP= bdbf clip clip_bl clip_blank clip_cld clip_conv clip_dbf2txt \
@@ -165,7 +165,6 @@ do-install:
done
post-install:
- @${SED} 's+/usr/local+${PREFIX}+' <${.CURDIR}/pkg-message >${PKGMESSAGE}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
diff --git a/databases/clip/files/pkg-message.in b/databases/clip/files/pkg-message.in
new file mode 100644
index 000000000000..8218ce033cf6
--- /dev/null
+++ b/databases/clip/files/pkg-message.in
@@ -0,0 +1,4 @@
+You should add %%PREFIX%%/clip/bin to your $PATH.
+Please set CLIPROOT to %%PREFIX%%/clip in your environment.
+
+Remark: unset LANG / LC_ALL for better results.
diff --git a/databases/clip/pkg-message b/databases/clip/pkg-message
deleted file mode 100644
index 0c712b3b6faf..000000000000
--- a/databases/clip/pkg-message
+++ /dev/null
@@ -1,4 +0,0 @@
-You should add /usr/local/clip/bin to your $PATH.
-Please set CLIPROOT to /usr/local/clip in your environment.
-
-Remark: unset LANG / LC_ALL for better results.
diff --git a/dns/noip/Makefile b/dns/noip/Makefile
index 8b0d51bb067c..24667ac7fa94 100644
--- a/dns/noip/Makefile
+++ b/dns/noip/Makefile
@@ -15,6 +15,8 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= No-IP.com's dynamic DNS update client
ALL_TARGET= noip2
+SUB_FILES= pkg-message
+PKGMESSAGE= ${WRKDIR}/pkg-message
post-build:
${SED} "s|%%PREFIX%%|${PREFIX}|g" < ${FILESDIR}/noip.sh > ${WRKSRC}/noip.sh
@@ -31,7 +33,9 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/README.FIRST ${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/COPYING ${DOCSDIR}
.endif
- @${SED} "s|%%PREFIX%%|${PREFIX}|g" ${PKGMESSAGE} | ${SED} "s|%%WRKSRC%%|${WRKSRC}|g"
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
conf:
(cd ${PREFIX}/etc && ${PREFIX}/bin/noip2 -C)
diff --git a/dns/noip/pkg-message b/dns/noip/files/pkg-message.in
index 294ab4ce52ab..294ab4ce52ab 100644
--- a/dns/noip/pkg-message
+++ b/dns/noip/files/pkg-message.in