summaryrefslogtreecommitdiff
path: root/databases/clip
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 /databases/clip
parentuse SUB_FILES for pkg-message (diff)
Use SUB_FILES for pkg-message
Notes
Notes: svn path=/head/; revision=158549
Diffstat (limited to 'databases/clip')
-rw-r--r--databases/clip/Makefile5
-rw-r--r--databases/clip/files/pkg-message.in4
-rw-r--r--databases/clip/pkg-message4
3 files changed, 6 insertions, 7 deletions
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.