openbsd-ports/news/slrn/Makefile
2013-03-11 11:35:43 +00:00

36 lines
808 B
Makefile

# $OpenBSD: Makefile,v 1.50 2013/03/11 11:35:59 espie Exp $
COMMENT= SLang-based newsreader
# p1 is part of upstream version XXX
DISTNAME= slrn-0.9.9p1
PKGNAME= ${DISTNAME:S/p/pl/}
REVISION= 0
CATEGORIES= news
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=slrn/}
HOMEPAGE= http://www.slrn.org/
# GPLv2+
PERMIT_PACKAGE_CDROM= Yes
WANTLIB= c crypto m ssl termcap slang
MAKE_ARGS+= LDFLAGS="${LDFLAGS}"
USE_GROFF = Yes
NO_TEST= Yes
LIB_DEPENDS= 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>