aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatusita <matusita@FreeBSD.org>2010-01-13 15:26:42 +0800
committermatusita <matusita@FreeBSD.org>2010-01-13 15:26:42 +0800
commit1cd28a1a4a0216872ea5d224f890f787d4987da1 (patch)
treebaef9035ca7f0e5c40c215daf08d76d5f3e41142
parente4fd3fa46ca27dac4a3cecad9167f8abc469e9af (diff)
downloadfreebsd-ports-gnome-1cd28a1a4a0216872ea5d224f890f787d4987da1.tar.gz
freebsd-ports-gnome-1cd28a1a4a0216872ea5d224f890f787d4987da1.tar.zst
freebsd-ports-gnome-1cd28a1a4a0216872ea5d224f890f787d4987da1.zip
Use SUB_FILES to substitute pkg-message.
In theory, package contents will not be changed. But it _is_ really changed so that bump PORTREVISION here. PR: 142615 Submitted by: Sevan Janiyan, venture37 atmark geeklan.co.uk
-rw-r--r--japanese/dbskkd-cdb/Makefile5
-rw-r--r--japanese/dbskkd-cdb/files/pkg-message.in (renamed from japanese/dbskkd-cdb/pkg-message)2
2 files changed, 4 insertions, 3 deletions
diff --git a/japanese/dbskkd-cdb/Makefile b/japanese/dbskkd-cdb/Makefile
index 3dcd5865f14f..1929ea73ad66 100644
--- a/japanese/dbskkd-cdb/Makefile
+++ b/japanese/dbskkd-cdb/Makefile
@@ -7,7 +7,7 @@
PORTNAME= dbskkd-cdb
PORTVERSION= 2.00
-#PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= japanese
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
#DISTVERSIONSUFFIX=
@@ -19,6 +19,7 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libcdb.a:${PORTSDIR}/databases/tinycdb
RUN_DEPENDS= ${SKKJISYOCDB}:${PORTSDIR}/japanese/skk-jisyo-cdb
PLIST_FILES= libexec/dbskkd-cdb
+SUB_FILES= pkg-message
SKKDIR?= share/skk
SKKJISYO_TYPE?= L
@@ -51,6 +52,6 @@ do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${docs} ${DOCSDIR}
.endfor
.endif
- @${SED} 's|/usr/local|${PREFIX}|' ${PKGMESSAGE}
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
diff --git a/japanese/dbskkd-cdb/pkg-message b/japanese/dbskkd-cdb/files/pkg-message.in
index 428fa706921b..a01b49039f09 100644
--- a/japanese/dbskkd-cdb/pkg-message
+++ b/japanese/dbskkd-cdb/files/pkg-message.in
@@ -1,7 +1,7 @@
Note:
Dbskkd-cdb is designed to run with inetd or daemontools. Example config
-for both superdaemons are available at /usr/local/share/doc/dbskkd-cdb.
+for both superdaemons are available at %%DOCSDIR%%.
Also note that dbskkd-cdb no longer required to run 'root' (1.71dev does),
nor chroot(8) to the dictionary directory.