diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2005-03-20 06:01:37 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2005-03-20 06:01:37 +0000 |
commit | 41a20e9620fd69e7c5cf811279a30fd7fc99f399 (patch) | |
tree | e193c4a2741e99ca588c54c3a4f172fe302b7bc9 /mail | |
parent | add 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/Makefile | 4 | ||||
-rw-r--r-- | mail/moztraybiff/pkg-message | 4 |
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 |