aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2005-03-20 14:01:37 +0800
committeradamw <adamw@FreeBSD.org>2005-03-20 14:01:37 +0800
commit2e25653dbadbb5088d1f2652dff6a04ed150f38a (patch)
treea80aa9feab1bd80228a21dd3e58caca9e85002f7 /mail
parent9188f81e172f136ab8957ff8ece12ffc6acba396 (diff)
downloadfreebsd-ports-gnome-2e25653dbadbb5088d1f2652dff6a04ed150f38a.tar.gz
freebsd-ports-gnome-2e25653dbadbb5088d1f2652dff6a04ed150f38a.tar.zst
freebsd-ports-gnome-2e25653dbadbb5088d1f2652dff6a04ed150f38a.zip
Allow ${DATADIR} to be filled into the pkg-message automagically.
Copied from: skippy-xd's Makefile
Diffstat (limited to 'mail')
-rw-r--r--mail/moztraybiff/Makefile4
-rw-r--r--mail/moztraybiff/pkg-message4
2 files changed, 6 insertions, 2 deletions
diff --git a/mail/moztraybiff/Makefile b/mail/moztraybiff/Makefile
index 901b29bf1215..004d86e2ab76 100644
--- a/mail/moztraybiff/Makefile
+++ b/mail/moztraybiff/Makefile
@@ -25,6 +25,10 @@ MAKE_ARGS+= MOZILLA_PLATFORM=tbird
FILENAME= mozTrayBiff-${PORTVERSION}-FreeBSD-tb1.0.xpi
PLIST_FILES= ${DATADIR}/${FILENAME}
PLIST_DIRS= ${DATADIR}
+PKGMESSAGE= ${WRKDIR}/pkg-message
+
+post-build:
+ ${SED} 's|%%DATADIR%%|${DATADIR}|' ${PKGDIR}/pkg-message > ${PKGMESSAGE}
do-install:
${MKDIR} ${DATADIR}
diff --git a/mail/moztraybiff/pkg-message b/mail/moztraybiff/pkg-message
index ad853aa29869..04150cf34f58 100644
--- a/mail/moztraybiff/pkg-message
+++ b/mail/moztraybiff/pkg-message
@@ -1,9 +1,9 @@
-The extension has been installed in /usr/X11R6/share/moztraybiff/
+The extension has been installed in %%DATADIR%%
To use this extension:
* Open up Thunderbird
* Choose Tools|Extensions from the menu
* Click the "Install" button
- * Navigate to /usr/X11R6/share/moztraybiff/
+ * Navigate to %%DATADIR%%
* Select the file that appears in that directory
* Restart Thunderbird