aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/slrn
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2013-07-26 22:29:35 +0800
committerdanfe <danfe@FreeBSD.org>2013-07-26 22:29:35 +0800
commite04e783f5828f8cce7f23cae54325bf26b814014 (patch)
treed5e8c4f8eb05458ab9152bf2b6ed1ffa8ff9da85 /japanese/slrn
parent4bdcf506250fb2c6a5a3fd60b15645a60370ce2b (diff)
downloadfreebsd-ports-graphics-e04e783f5828f8cce7f23cae54325bf26b814014.tar.gz
freebsd-ports-graphics-e04e783f5828f8cce7f23cae54325bf26b814014.tar.zst
freebsd-ports-graphics-e04e783f5828f8cce7f23cae54325bf26b814014.zip
- Trim Makefile header, define LICENSE, fix grammar in COMMENT
- Try to unbreak parallel builds (-jX) - Drop shlib ABI version from LIB_DEPENDS - Install manual pages relative to MANPREFIX - Rephrase port description, kill EOL space, add WWW line Reported by: pointyhat-west
Diffstat (limited to 'japanese/slrn')
-rw-r--r--japanese/slrn/Makefile29
-rw-r--r--japanese/slrn/pkg-descr6
2 files changed, 22 insertions, 13 deletions
diff --git a/japanese/slrn/Makefile b/japanese/slrn/Makefile
index 377cfbd5e5d..c130da28af4 100644
--- a/japanese/slrn/Makefile
+++ b/japanese/slrn/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: ja-slrn
-# Date created: 6 Sept 1999
-# Whom: Takashi Mega <mega@minz.org>
-#
+# Created by: Takashi Mega <mega@minz.org>
# $FreeBSD$
-#
PORTNAME= slrn
PORTVERSION= 0.9.6.2
@@ -18,21 +14,32 @@ PATCHFILES= ${PORTNAME}-${PORTVERSION}jp0.pat.gz
PATCH_DIST_STRIP=-p1
MAINTAINER= koma2@lovepeers.org
-COMMENT= A newsreader based by S-Lang
+COMMENT= Newsreader based on the S-Lang library
-LIB_DEPENDS= slang.2:${PORTSDIR}/japanese/libslang
+LICENSE= GPLv2
+
+LIB_DEPENDS= slang:${PORTSDIR}/japanese/libslang
CONFLICTS= slrn-0.*
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-JDOCSRC= ${WRKDIR}/${PORTNAME}-doc-j0.9.5.6-0
GNU_CONFIGURE= yes
ALL_TARGET= all slrnpull
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+JDOCSRC= ${WRKDIR}/${PORTNAME}-doc-j0.9.5.6-0
+
MANLANG= '' ja
MAN1= slrn.1
+# Tentatively improve inner makefiles in attempt to fix parallel builds
+post-patch:
+ @${REINPLACE_CMD} -e 's|-mkdir|mkdir -p| ; \
+ /DOT_O_DEPS/s|$$| $$(OBJDIR)|' \
+ ${WRKSRC}/src/Makefile.in
+ @${REINPLACE_CMD} -E 's|cd (.+); (\$$\(MAKE\))|\2 -C \1|' \
+ ${WRKSRC}/autoconf/Makefile.in
+
post-install:
- ${INSTALL_MAN} ${JDOCSRC}/slrn.1 ${PREFIX}/man/ja/man1
- ${CP} -r ${JDOCSRC} ${PREFIX}/share/doc/slrn/ja
+ ${INSTALL_MAN} ${JDOCSRC}/slrn.1 ${MANPREFIX}/man/ja/man1
+ ${CP} -a ${JDOCSRC} ${PREFIX}/share/doc/slrn/ja
.include <bsd.port.mk>
diff --git a/japanese/slrn/pkg-descr b/japanese/slrn/pkg-descr
index c05c2a8a80b..f750da4753d 100644
--- a/japanese/slrn/pkg-descr
+++ b/japanese/slrn/pkg-descr
@@ -1,2 +1,4 @@
-Slrn is an easy to use but powerful NNTP based newsreader. It relies on the
-S-Lang programmer's library.
+Slrn is an easy to use, but powerful NNTP newsreader. It is based on the
+S-Lang library.
+
+WWW: http://www.slrn.org/