aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/babytrans
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2006-04-01 20:50:29 +0800
committeredwin <edwin@FreeBSD.org>2006-04-01 20:50:29 +0800
commit52605cd50a742f7a740c29cbfae14af1c947f225 (patch)
tree909aeed9fd8dfe2a229674f9d6c9e5967d5d4acd /deskutils/babytrans
parent9d306807166d8880a28481e643d5d1f714d64f76 (diff)
downloadfreebsd-ports-gnome-52605cd50a742f7a740c29cbfae14af1c947f225.tar.gz
freebsd-ports-gnome-52605cd50a742f7a740c29cbfae14af1c947f225.tar.zst
freebsd-ports-gnome-52605cd50a742f7a740c29cbfae14af1c947f225.zip
use SUB_FILES for pkg-message
Diffstat (limited to 'deskutils/babytrans')
-rw-r--r--deskutils/babytrans/Makefile4
-rw-r--r--deskutils/babytrans/files/pkg-message.in (renamed from deskutils/babytrans/pkg-message)0
2 files changed, 3 insertions, 1 deletions
diff --git a/deskutils/babytrans/Makefile b/deskutils/babytrans/Makefile
index 52f058977d90..331162dfb125 100644
--- a/deskutils/babytrans/Makefile
+++ b/deskutils/babytrans/Makefile
@@ -23,6 +23,8 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
USE_GMAKE= yes
+PKGMESSAGE= ${WRKDIR}/pkg-message
+SUB_FILES= pkg-message
post-patch:
.for file in de es fr pt_BR
@@ -33,6 +35,6 @@ post-patch:
post-install:
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/config-file/dictionary ${DATADIR}
- @${CAT} ${PKGMESSAGE} | ${SED} "s|%%DATADIR%%|${DATADIR}|"
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/deskutils/babytrans/pkg-message b/deskutils/babytrans/files/pkg-message.in
index 7b8827d80f78..7b8827d80f78 100644
--- a/deskutils/babytrans/pkg-message
+++ b/deskutils/babytrans/files/pkg-message.in