1997-05-17 03:41:37 +00:00
|
|
|
# New ports collection makefile for: slrn
|
|
|
|
# Date created: 28 March 1997
|
|
|
|
# Whom: Carey Jones <mcj@acquiesce.org>
|
1998-02-26 04:15:55 +00:00
|
|
|
#
|
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
|
2004-11-07 16:45:51 +00:00
|
|
|
PORTVERSION= 0.9.8.1
|
2001-04-04 00:54:01 +00:00
|
|
|
CATEGORIES= news ipv6
|
2001-11-24 22:04:18 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
2002-03-26 07:24:54 +00:00
|
|
|
ftp://angel.sovam.com/pub/tools/net/news/ \
|
|
|
|
ftp://ftp.fu-berlin.de/pub/unix/news/slrn/ \
|
|
|
|
ftp://ftp.ntua.gr/pub/lang/slang/slrn/ \
|
|
|
|
ftp://ftp.plig.org/pub/slrn/
|
2001-08-23 15:30:40 +00:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2000-09-25 11:53:52 +00:00
|
|
|
|
2004-03-11 01:19:08 +00:00
|
|
|
PATCH_SITES= http://slrn.sourceforge.net/patches/
|
2004-11-07 16:45:51 +00:00
|
|
|
PATCHFILES= slrn-0.9.8.1-fetch.diff \
|
|
|
|
slrn-0.9.8.1-lastchar2.diff
|
2004-03-11 01:19:08 +00:00
|
|
|
PATCH_DIST_STRIP= -p1
|
|
|
|
|
2001-08-23 15:30:40 +00:00
|
|
|
MAINTAINER= petef@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= SLang-based newsreader
|
1997-05-17 03:41:37 +00:00
|
|
|
|
2004-03-30 19:56:43 +00:00
|
|
|
LIB_DEPENDS= slang.1:${PORTSDIR}/devel/libslang
|
1997-05-17 03:41:37 +00:00
|
|
|
|
2001-11-24 22:04:18 +00:00
|
|
|
USE_BZIP2= yes
|
2001-08-23 15:30:40 +00:00
|
|
|
USE_GMAKE= yes
|
2004-03-30 19:56:43 +00:00
|
|
|
USE_ICONV= yes
|
2002-11-04 05:46:38 +00:00
|
|
|
USE_REINPLACE= yes
|
1997-05-17 03:41:37 +00:00
|
|
|
|
2004-03-11 01:19:08 +00:00
|
|
|
.if defined(WITHOUT_NLS)
|
|
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.else
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.endif
|
|
|
|
|
2001-08-23 15:30:40 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2004-03-11 01:19:08 +00:00
|
|
|
CONFIGURE_ARGS+= --enable-ipv6 --disable-inews --with-slrnpull \
|
|
|
|
--with-libiconv-prefix=${LOCALBASE}
|
|
|
|
CONFIGURE_ENV+= CFLAGS="${CFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib"
|
2001-04-04 00:54:01 +00:00
|
|
|
|
2001-08-23 15:30:40 +00:00
|
|
|
.if !defined(WITHOUT_SSL)
|
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
|
|
|
|
|
2004-06-23 11:42:37 +00:00
|
|
|
.if defined(WITH_DEVIEW)
|
|
|
|
LIB_DEPENDS+= uu.3:${PORTSDIR}/converters/uulib
|
|
|
|
CONFIGURE_ARGS+= --with-uudeview
|
|
|
|
.endif
|
|
|
|
|
2001-11-20 21:12:25 +00:00
|
|
|
ALL_TARGET= all
|
2001-08-23 15:30:40 +00:00
|
|
|
|
2001-11-20 21:12:25 +00:00
|
|
|
MAN1= slrn.1 slrnpull.1
|
2001-08-23 15:30:40 +00:00
|
|
|
|
2003-10-11 17:45:14 +00:00
|
|
|
.if defined(NOPORTDOCS)
|
2004-03-11 01:19:08 +00:00
|
|
|
MAKE_ENV+= NOPORTDOCS=yes
|
2003-10-11 17:45:14 +00:00
|
|
|
.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,' \
|
2001-08-23 15:30:40 +00:00
|
|
|
${WRKSRC}/src/slrnfeat.h
|
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>
|