diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2009-01-29 02:14:35 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2009-01-29 02:14:35 +0800 |
commit | c4a1107c1be261da4e87153b3e5726f169f08bb9 (patch) | |
tree | d42e9ba9d43782e5988dcf640e2df8e88623543a /mail | |
parent | cf31b9d3bd7baeb90ac8d456f919364133c1aee1 (diff) | |
download | freebsd-ports-gnome-c4a1107c1be261da4e87153b3e5726f169f08bb9.tar.gz freebsd-ports-gnome-c4a1107c1be261da4e87153b3e5726f169f08bb9.tar.zst freebsd-ports-gnome-c4a1107c1be261da4e87153b3e5726f169f08bb9.zip |
- update to version 0.6.0
- fix WITHOUT_NLS handling
- install some docs if NOPORTDOCS not defined
PR: 131054
Submitted by: Pawel Pekala" <c0rn at o2 dot pl> (maintainer)
Diffstat (limited to 'mail')
-rw-r--r-- | mail/clawsker/Makefile | 11 | ||||
-rw-r--r-- | mail/clawsker/distinfo | 6 | ||||
-rw-r--r-- | mail/clawsker/files/extra-Makefile-without_nls | 21 | ||||
-rw-r--r-- | mail/clawsker/pkg-plist | 4 |
4 files changed, 37 insertions, 5 deletions
diff --git a/mail/clawsker/Makefile b/mail/clawsker/Makefile index 45a9779a9f96..97ae69d37236 100644 --- a/mail/clawsker/Makefile +++ b/mail/clawsker/Makefile @@ -6,7 +6,7 @@ # PORTNAME= clawsker -PORTVERSION= 0.5.0 +PORTVERSION= 0.6.0 CATEGORIES= mail MASTER_SITES= http://www.claws-mail.org/tools/ @@ -22,11 +22,18 @@ USE_PERL5= 5.8.0+ MAN1= clawsker.1 .if defined(WITHOUT_NLS) -CONFIGURE_ARGS+=--disable-nls +EXTRA_PATCHES= ${FILESDIR}/extra-Makefile-without_nls PLIST_SUB+= NLS="@comment " .else USE_GETTEXT= yes PLIST_SUB+= NLS="" .endif +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/NEWS ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} +.endif + .include <bsd.port.mk> diff --git a/mail/clawsker/distinfo b/mail/clawsker/distinfo index 96b11c74d66e..b82dde2c9b8a 100644 --- a/mail/clawsker/distinfo +++ b/mail/clawsker/distinfo @@ -1,3 +1,3 @@ -MD5 (clawsker-0.5.0.tar.gz) = 98d83ab5bbb163c5aec4b2e3c3febb1b -SHA256 (clawsker-0.5.0.tar.gz) = 0520e2a821ba432e1e93b7864e068fb180ef1fad18cdb9985ef9603f7e25f9de -SIZE (clawsker-0.5.0.tar.gz) = 40761 +MD5 (clawsker-0.6.0.tar.gz) = a8a1cbcb7a7416045b88ecc213d77477 +SHA256 (clawsker-0.6.0.tar.gz) = 272f4f92bb8ece8f1d59012c35f6733e9f0fa6cb1510a1f8f0e18a1219ed2e9f +SIZE (clawsker-0.6.0.tar.gz) = 46321 diff --git a/mail/clawsker/files/extra-Makefile-without_nls b/mail/clawsker/files/extra-Makefile-without_nls new file mode 100644 index 000000000000..54da8a02e2a3 --- /dev/null +++ b/mail/clawsker/files/extra-Makefile-without_nls @@ -0,0 +1,21 @@ +--- Makefile.orig 2007-12-17 19:00:19.000000000 +0100 ++++ Makefile 2009-01-27 19:27:39.000000000 +0100 +@@ -19,18 +19,15 @@ + sed -e "s,@PREFIX@,${PREFIX},;s,@LIBDIR@,${LIBDIR},;s,@VERSION@,${VERSION}," \ + < ${NAME} > build/${NAME} + pod2man ${NAME} > build/${NAME}.1 +- ${MAKE} -C po build + + + install: all install-dirs + install -m 0755 build/${NAME} ${DESTDIR}${BINDIR} + install -m 0644 build/${NAME}.1 ${DESTDIR}${MAN1DIR} +- ${MAKE} -C po install + + install-dirs: + install -d ${DESTDIR}${BINDIR} + install -d ${DESTDIR}${MAN1DIR} +- ${MAKE} -C po install-dirs + + uninstall: + rm -f ${DESTDIR}${BINDIR}/${NAME} diff --git a/mail/clawsker/pkg-plist b/mail/clawsker/pkg-plist index 01da0ce44a07..ed6c555f05c9 100644 --- a/mail/clawsker/pkg-plist +++ b/mail/clawsker/pkg-plist @@ -1,7 +1,11 @@ bin/clawsker +%%PORTDOCS%%%%DOCSDIR%%/NEWS +%%PORTDOCS%%%%DOCSDIR%%/README %%NLS%%share/locale/fr/LC_MESSAGES/clawsker.mo %%NLS%%share/locale/es/LC_MESSAGES/clawsker.mo +%%NLS%%share/locale/it/LC_MESSAGES/clawsker.mo %%NLS%%share/locale/sr/LC_MESSAGES/clawsker.mo %%NLS%%share/locale/sr@latin/LC_MESSAGES/clawsker.mo +%%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrmtry share/locale/sr@latin/LC_MESSAGES @dirrmtry share/locale/sr@latin |