pkgsrc-wip/slrn-devel/Makefile
Piotr Meyer 5d3bfe7aec - upgrade to latest snapshot, changes from -15 to -17:
16. src/art.c,etc: If an article has invalid headers, clear the error
    but give the article an initial score of -1000.  This number may
    be customized using the "invalid_header_score" variable.
17. src/mime.c: In slrn_mime_process_article, decode headers even if
    Content-Type is not understood and metamail is needed.
2009-11-22 09:29:19 +00:00

46 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.3 2009/11/22 09:29:19 anielski Exp $
DISTNAME= slrn-pre1.0.0~17
PKGNAME= slrn-pre1.0.0-17
CONFLICTS= slrn-pl-[0-9]* slrn-[0-9]*
LICENSE= gnu-gpl-v2
CATEGORIES= news
MASTER_SITES= http://slrn.sourceforge.net/downloads/svn_snapshots/
EXTRACT_SUFX= .tar.bz2
WRKSRC= ${WRKDIR}/slrn
MAINTAINER= aniou@smutek.pl
HOMEPAGE= http://slrn.sourceforge.net/
COMMENT= Highly customizable threaded newsreader
PKG_DESTDIR_SUPPORT= user-destdir
MAKE_JOBS_SAFE= no
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-inews --with-slrnpull --enable-spool \
--enable-grouplens --with-libdir=${PREFIX}/lib/slrn \
--enable-mid-cache \
--with-slang=${PREFIX} \
--with-slanglib=-lslang2 \
--with-slanginc=slang2/slang.h \
--with-localedir=${PREFIX}/${PKGLOCALEDIR}/locale
.include "../../mk/bsd.prefs.mk"
# the next is a workaround, as 1.3.2 install doesn't like -c and -d
# together
.if ${OPSYS} == "NetBSD" && ${OS_VERSION} == "1.3.2"
CONFIGURE_ENV+= INSTALL=/usr/bin/install
.endif
# at least NetBSD
.if ${OPSYS} == "NetBSD"
CONFIGURE_ARGS+= --with-non-gnu-iconv
.endif
LDFLAGS.Linux+= -ldl
.include "../../devel/libslang2/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"