2012-12-22 18:26:08 +00:00
|
|
|
# Created by: Carey Jones <mcj@acquiesce.org>
|
1999-08-30 14:33:04 +00:00
|
|
|
# $FreeBSD$
|
1997-05-17 03:41:37 +00:00
|
|
|
|
2000-04-09 17:33:32 +00:00
|
|
|
PORTNAME= slrn
|
2012-12-22 18:26:08 +00:00
|
|
|
PORTVERSION= 1.0.1
|
2001-04-04 00:54:01 +00:00
|
|
|
CATEGORIES= news ipv6
|
2012-12-22 18:26:08 +00:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME} \
|
|
|
|
http://www.jedsoft.org/slrn/download/
|
2009-08-22 00:32:25 +00:00
|
|
|
|
2010-02-23 18:07:14 +00:00
|
|
|
MAINTAINER= johans@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= SLang-based newsreader
|
1997-05-17 03:41:37 +00:00
|
|
|
|
2012-06-15 08:27:05 +00:00
|
|
|
LIB_DEPENDS= slang:${PORTSDIR}/devel/libslang2
|
|
|
|
|
|
|
|
CONFLICTS_INSTALL= ja-slrn-[0-9]*
|
1997-05-17 03:41:37 +00:00
|
|
|
|
2001-08-23 15:30:40 +00:00
|
|
|
USE_GMAKE= yes
|
2013-04-27 18:25:24 +00:00
|
|
|
USES= iconv
|
1997-05-17 03:41:37 +00:00
|
|
|
|
2012-12-22 18:26:08 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS+= --enable-ipv6 --disable-inews --with-slrnpull \
|
2013-09-04 20:01:05 +00:00
|
|
|
${ICONV_CONFIGURE_ARG}
|
2012-12-22 18:26:08 +00:00
|
|
|
|
|
|
|
ALL_TARGET= all
|
|
|
|
|
|
|
|
MAN1= slrn.1 slrnpull.1
|
|
|
|
|
2012-06-15 08:27:05 +00:00
|
|
|
OPTIONS_DEFINE= SSL DEVIEW
|
|
|
|
OPTIONS_DEFAULT=SSL
|
2010-07-30 09:56:53 +00:00
|
|
|
|
2013-09-20 22:31:15 +00:00
|
|
|
NO_STAGE= yes
|
2010-07-30 09:56:53 +00:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2012-06-27 19:52:13 +00:00
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
2013-04-24 18:10:30 +00:00
|
|
|
USES+= gettext
|
2004-03-11 01:19:08 +00:00
|
|
|
PLIST_SUB+= NLS=""
|
2012-06-27 19:52:13 +00:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
2004-03-11 01:19:08 +00:00
|
|
|
.endif
|
|
|
|
|
2012-06-15 08:27:05 +00:00
|
|
|
.if ${PORT_OPTIONS:MSSL}
|
2001-02-27 02:00:46 +00:00
|
|
|
USE_OPENSSL= YES
|
2001-04-04 00:54:01 +00:00
|
|
|
CONFIGURE_ARGS+= --with-ssl
|
2001-02-27 02:00:46 +00:00
|
|
|
.endif
|
|
|
|
|
2012-06-15 08:27:05 +00:00
|
|
|
.if ${PORT_OPTIONS:MDEVIEW}
|
|
|
|
LIB_DEPENDS+= uu:${PORTSDIR}/converters/uulib
|
2008-10-28 15:22:28 +00:00
|
|
|
CONFIGURE_ARGS+= --with-uulib
|
2004-06-23 11:42:37 +00:00
|
|
|
.endif
|
|
|
|
|
2012-12-22 18:26:08 +00:00
|
|
|
.if ! ${PORT_OPTIONS:MDOCS}
|
2009-03-23 18:18:13 +00:00
|
|
|
# Use dummy target rather than rewriting makefile
|
|
|
|
CONFIGURE_ARGS+= --with-docdir=${WRKSRC}/dummy
|
|
|
|
.endif
|
|
|
|
|
2001-08-23 15:30:40 +00:00
|
|
|
post-patch:
|
2002-11-04 05:46:38 +00:00
|
|
|
@${REINPLACE_CMD} -e 's,/usr/lib/sendmail,/usr/sbin/sendmail,' \
|
2008-10-28 15:22:28 +00:00
|
|
|
${WRKSRC}/src/slrnfeat.hin
|
2003-10-11 17:45:14 +00:00
|
|
|
@${REINPLACE_CMD} -e 's,malloc.h,stdlib.h,' \
|
|
|
|
${WRKSRC}/src/jdmacros.h
|
1997-05-17 03:41:37 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|