aboutsummaryrefslogtreecommitdiff
path: root/mail/moztraybiff
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2005-04-26 19:45:26 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2005-04-26 19:45:26 +0000
commit9dee8314d0d9893b1c2d69126747e1c72f32b29f (patch)
treecbe76265c06f24a14d14e6ab03b28838ea261df1 /mail/moztraybiff
parent5baac38237e80003034c2ce49d503df27d51d927 (diff)
downloadports-9dee8314d0d9893b1c2d69126747e1c72f32b29f.tar.gz
ports-9dee8314d0d9893b1c2d69126747e1c72f32b29f.zip
Notes
Diffstat (limited to 'mail/moztraybiff')
-rw-r--r--mail/moztraybiff/Makefile9
-rw-r--r--mail/moztraybiff/files/patch-components_Makefile14
-rw-r--r--mail/moztraybiff/files/pkg-message.in (renamed from mail/moztraybiff/pkg-message)0
3 files changed, 4 insertions, 19 deletions
diff --git a/mail/moztraybiff/Makefile b/mail/moztraybiff/Makefile
index 6c01549273d1..3241032fa480 100644
--- a/mail/moztraybiff/Makefile
+++ b/mail/moztraybiff/Makefile
@@ -34,6 +34,8 @@ MAKE_ARGS+= MOZILLA_PLATFORM=tbird
FILENAME= mozTrayBiff-${PORTVERSION}-FreeBSD-tb${TBVER}.xpi
PLIST_FILES= share/${PORTNAME}/${FILENAME}
PLIST_DIRS= share/${PORTNAME}
+
+SUB_FILES= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
.include <bsd.port.pre.mk>
@@ -43,17 +45,14 @@ post-patch:
@${REINPLACE_CMD} -e "s|-fshort-wchar||" \
${WRKSRC}/components/Makefile
.endif
- @${REINPLACE_CMD} -e "s|%%TBVER%%|${TBVER}|" \
- ${WRKSRC}/components/Makefile
-
-post-build:
- @${SED} 's|%%DATADIR%%|${DATADIR}|' ${PKGDIR}/pkg-message > ${PKGMESSAGE}
do-install:
@${MKDIR} ${DATADIR}
@${INSTALL} -m 644 ${WRKSRC}/${FILENAME} ${DATADIR}
post-install:
+ @${ECHO_MSG}
@${CAT} ${PKGMESSAGE}
+ @${ECHO_MSG}
.include <bsd.port.post.mk>
diff --git a/mail/moztraybiff/files/patch-components_Makefile b/mail/moztraybiff/files/patch-components_Makefile
deleted file mode 100644
index 082c0512f21c..000000000000
--- a/mail/moztraybiff/files/patch-components_Makefile
+++ /dev/null
@@ -1,14 +0,0 @@
---- components/Makefile.orig Sat Mar 19 22:30:21 2005
-+++ components/Makefile Sat Mar 19 22:32:11 2005
-@@ -17,7 +17,10 @@
- $(shell pkg-config --libs $(GTK_PACKAGE))
-
- MOZ_INCLUDES := \
-- $(shell $(MOZILLA_CONFIG) --cflags)
-+ $(shell $(MOZILLA_CONFIG) --cflags) \
-+ $(shell for i in \
-+ `find $${X11BASE}/lib/thunderbird/include/thunderbird-%%TBVER%% -type d`; \
-+ do echo -n "-I$$i "; done)
-
- CXXFLAGS += \
- -fno-rtti \
diff --git a/mail/moztraybiff/pkg-message b/mail/moztraybiff/files/pkg-message.in
index 04150cf34f58..04150cf34f58 100644
--- a/mail/moztraybiff/pkg-message
+++ b/mail/moztraybiff/files/pkg-message.in