aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--deskutils/babytrans/Makefile4
-rw-r--r--deskutils/babytrans/files/pkg-message.in (renamed from deskutils/babytrans/pkg-message)0
-rw-r--r--deskutils/gdesklets-recentlyused/Makefile5
-rw-r--r--deskutils/gdesklets-recentlyused/files/pkg-message.in (renamed from deskutils/gdesklets-recentlyused/pkg-message)4
4 files changed, 9 insertions, 4 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
diff --git a/deskutils/gdesklets-recentlyused/Makefile b/deskutils/gdesklets-recentlyused/Makefile
index 8c5868d9f124..6ae61d6dd99e 100644
--- a/deskutils/gdesklets-recentlyused/Makefile
+++ b/deskutils/gdesklets-recentlyused/Makefile
@@ -10,7 +10,7 @@ PORTVERSION= 0.6
PORTREVISION= 4
CATEGORIES= deskutils gnome
MASTER_SITES= http://gdesklets.gnomedesktop.org/files/
-PKGNAMEPREFIX= gdesklets-
+PKGNAMEPREFIX= gdesklets-
DISTNAME= recently-used-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
@@ -20,6 +20,9 @@ RUN_DEPENDS= gdesklets:${PORTSDIR}/deskutils/gdesklets
USE_PYTHON= yes
USE_X_PREFIX= yes
+SUB_FILES= pkg-message
+PKGMESSAGE= ${WRKDIR}/pkg-message
+
NAME= RecentlyUsed
DATADIR= ${PREFIX}/share/gnome
diff --git a/deskutils/gdesklets-recentlyused/pkg-message b/deskutils/gdesklets-recentlyused/files/pkg-message.in
index 9bd8c8eeed05..d2463720794d 100644
--- a/deskutils/gdesklets-recentlyused/pkg-message
+++ b/deskutils/gdesklets-recentlyused/files/pkg-message.in
@@ -1,11 +1,11 @@
##
To view the installed applets:
- ls ${PREFIX}/share/gnome/gdesklets/Displays
+ ls %%PREFIX%%/share/gnome/gdesklets/Displays
To use those applets:
- gdesklets open ${PREFIX}/share/gnome/gdesklets/Displays/${name}/${name}.display
+ gdesklets open %%PREFIX%%/share/gnome/gdesklets/Displays/${name}/${name}.display
Replace ${name} with the correct name of the applets you want to use.