aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/navi2ch
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2008-11-08 00:57:19 +0800
committerhrs <hrs@FreeBSD.org>2008-11-08 00:57:19 +0800
commit46ab6d4c72c82b86b1d88d0e29b7d94355a18fec (patch)
tree7641e7e6e1c14dced5e82bccb82a05a4f62b9e3f /japanese/navi2ch
parent06821dcdafd06f91458189afb4519c159a2422c1 (diff)
downloadfreebsd-ports-gnome-46ab6d4c72c82b86b1d88d0e29b7d94355a18fec.tar.gz
freebsd-ports-gnome-46ab6d4c72c82b86b1d88d0e29b7d94355a18fec.tar.zst
freebsd-ports-gnome-46ab6d4c72c82b86b1d88d0e29b7d94355a18fec.zip
Update to 1.8.1. Changes include:
- navi2ch-net-send-request now sends User-Agent when posting. - coding-system is now auto-detected in order of cp932, shift_jis-2004, and shift_jis. - navi2ch-oyster now uses tls.el, not ssl.el.
Diffstat (limited to 'japanese/navi2ch')
-rw-r--r--japanese/navi2ch/Makefile35
-rw-r--r--japanese/navi2ch/distinfo6
-rw-r--r--japanese/navi2ch/pkg-plist9
3 files changed, 22 insertions, 28 deletions
diff --git a/japanese/navi2ch/Makefile b/japanese/navi2ch/Makefile
index 0d0b879869df..2ab9e2ed2877 100644
--- a/japanese/navi2ch/Makefile
+++ b/japanese/navi2ch/Makefile
@@ -6,26 +6,29 @@
#
PORTNAME= navi2ch
-PORTVERSION= 1.8.0
+PORTVERSION= 1.8.1
PORTEPOCH= 1
CATEGORIES= japanese www elisp
MASTER_SITES= SF
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= hrs@FreeBSD.org
COMMENT= 2ch.net and 2ch-like BBS navigator for Emacsen
USE_EMACS= yes
-EMACS_PORT_NAME?= emacs22
INFO= navi2ch
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-lispdir=${PREFIX}/${LISPDIR}/navi2ch \
- --with-emacs=${EMACS_CMD}
-
-DOCDIR= share/doc/ja/navi2ch
+CONFIGURE_ENV= EMACS="${EMACS_CMD}"
+CONFIGURE_ARGS= --with-lispdir=${PREFIX}/${LISPDIR}/${PORTNAME}
+PORTDOCS= ${PORTDOC_FILES} contrib
PLIST_SUB= LISPDIR=${LISPDIR}
+PORTDOC_FILES= ChangeLog README TODO
+PORTDOC_LISPS= gikope.el navi2ch-logo.el navi2ch-migemo.el
+
+.include <bsd.port.pre.mk>
+
.if ${EMACS_PORT_NAME} == xemacs21-mule
LISPDIR= ${EMACS_SITE_LISPDIR}
PLIST_SUB+= FSF="@comment "
@@ -37,16 +40,14 @@ RUN_DEPENDS= ${LOCALBASE}/lib/X11/fonts/local/monak12.pcf.gz:${PORTSDIR}/japanes
.endif
.endif
-post-install:
- @${MKDIR} ${PREFIX}/${DOCDIR}
.if !defined(NOPORTDOCS)
-.for i in ChangeLog README TODO
- ${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/${DOCDIR}
-.endfor
+post-install:
+ @${MKDIR} ${DOCSDIR}
+ cd ${WRKSRC} && \
+ ${INSTALL_DATA} ${PORTDOC_FILES} ${DOCSDIR}
+ @${MKDIR} ${DOCSDIR}/contrib
+ cd ${WRKSRC}/contrib && \
+ ${INSTALL_DATA} ${PORTDOC_LISPS} ${DOCSDIR}/contrib
.endif
- @${MKDIR} ${PREFIX}/${DOCDIR}/contrib
-.for i in gikope.el navi2ch-logo.el navi2ch-migemo.el
- ${INSTALL_DATA} ${WRKSRC}/contrib/$i ${PREFIX}/${DOCDIR}/contrib
-.endfor
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/japanese/navi2ch/distinfo b/japanese/navi2ch/distinfo
index 7905d3e715e7..d1193aec7f82 100644
--- a/japanese/navi2ch/distinfo
+++ b/japanese/navi2ch/distinfo
@@ -1,3 +1,3 @@
-MD5 (navi2ch-1.8.0.tar.gz) = 444423ca9add7a855243d3d923f5aadd
-SHA256 (navi2ch-1.8.0.tar.gz) = 4d20426d1dda8bd75c8ae87b73209fa4735978ef9bb4a3234118a5b895f6b19b
-SIZE (navi2ch-1.8.0.tar.gz) = 476381
+MD5 (navi2ch-1.8.1.tar.gz) = f482bce8d226a8f66f63c1896abb2f8d
+SHA256 (navi2ch-1.8.1.tar.gz) = f77698f556e58b262b3d52bcd4c2a4597fb8f710320765d9108770ca4c37f495
+SIZE (navi2ch-1.8.1.tar.gz) = 477080
diff --git a/japanese/navi2ch/pkg-plist b/japanese/navi2ch/pkg-plist
index 7f317806ace8..deb2d4223b97 100644
--- a/japanese/navi2ch/pkg-plist
+++ b/japanese/navi2ch/pkg-plist
@@ -1,11 +1,4 @@
-%%PORTDOCS%%share/doc/ja/navi2ch/ChangeLog
-%%PORTDOCS%%share/doc/ja/navi2ch/README
-%%PORTDOCS%%share/doc/ja/navi2ch/TODO
-share/doc/ja/navi2ch/contrib/gikope.el
-share/doc/ja/navi2ch/contrib/navi2ch-logo.el
-share/doc/ja/navi2ch/contrib/navi2ch-migemo.el
-@dirrm share/doc/ja/navi2ch/contrib
-@dirrm share/doc/ja/navi2ch
+@comment $FreeBSD$
%%EMACS_LIBDIR_WITH_VER%%/etc/navi2ch/icons/plugged.xpm
%%EMACS_LIBDIR_WITH_VER%%/etc/navi2ch/icons/unplugged.xpm
@dirrm %%EMACS_LIBDIR_WITH_VER%%/etc/navi2ch/icons