summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2005-03-20 06:01:37 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2005-03-20 06:01:37 +0000
commit41a20e9620fd69e7c5cf811279a30fd7fc99f399 (patch)
treee193c4a2741e99ca588c54c3a4f172fe302b7bc9 /mail
parentadd new ports: Photo Image Print System for Linux --- EPSON Stylus (diff)
Allow ${DATADIR} to be filled into the pkg-message automagically.
Copied from: skippy-xd's Makefile
Notes
Notes: svn path=/head/; revision=131692
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