openbsd-ports/news/slrn/Makefile

36 lines
868 B
Makefile

# $OpenBSD: Makefile,v 1.45 2009/11/18 10:59:53 sthen Exp $
COMMENT= SLang-based newsreader
DISTNAME= slrn-0.9.9p1 # p1 is part of upstream version XXX
PKGNAME= ${DISTNAME:S/p/pl/}p0
CATEGORIES= news
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=slrn/}
HOMEPAGE= http://www.slrn.org/
# GPLv2+
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c crypto m ssl termcap
MAKE_ARGS+= LDFLAGS="${LDFLAGS}"
NO_REGRESS= Yes
LIB_DEPENDS= slang.>=15::devel/libslang
MODULES= devel/gettext
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --disable-inews --with-ssl --with-slrnpull --enable-spool
LDFLAGS= -L${LOCALBASE}/lib -lm
CONFIGURE_ENV= LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS+= --with-slang=${LOCALBASE} \
--with-libiconv=${LOCALBASE}
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/autoconf
.include <bsd.port.mk>