blob: 107b0f118a89499e7412c2d4eb1d9f4c9a64119c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# $NetBSD: Makefile,v 1.29 2003/10/27 21:48:27 cube Exp $
#
DISTNAME= slrn-0.9.8.0
CATEGORIES= news
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=slrn/}
EXTRACT_SUFX= .tar.bz2
PATCH_SITES= http://slrn.sourceforge.net/patches/
PATCHFILES= slrn-0.9.8.0-ranges.diff \
slrn-0.9.8.0-post.diff
PATCH_DIST_STRIP= -p1
MAINTAINER= mjl@NetBSD.org
HOMEPAGE= http://slrn.sourceforge.net/
COMMENT= Highly customizable threaded newsreader
USE_BUILDLINK2= yes
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-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
.if ${OPSYS} == "Linux"
LDFLAGS+= -ldl
.endif
.include "../../devel/libslang/buildlink2.mk"
.include "../../devel/gettext-lib/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
|