aboutsummaryrefslogtreecommitdiff
path: root/mail/clawsker
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2009-01-28 18:14:35 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2009-01-28 18:14:35 +0000
commit8ce37548027dd915dab3da24eea15451f50ab5df (patch)
tree81bd12f2125c8d7dff59ee9d1505cb5734952d0b /mail/clawsker
parent26590990637104c72e182aecddb608371954c935 (diff)
downloadports-8ce37548027dd915dab3da24eea15451f50ab5df.tar.gz
ports-8ce37548027dd915dab3da24eea15451f50ab5df.zip
Notes
Diffstat (limited to 'mail/clawsker')
-rw-r--r--mail/clawsker/Makefile11
-rw-r--r--mail/clawsker/distinfo6
-rw-r--r--mail/clawsker/files/extra-Makefile-without_nls21
-rw-r--r--mail/clawsker/pkg-plist4
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