openbsd-ports/news/slrn/Makefile
alek 59b15a17d6 - Fix libintl/iconv linking
- Don't use bundled libintl headers
- Bump PKGNAME
2005-04-19 12:53:21 +00:00

43 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.41 2005/04/19 12:53:21 alek Exp $
COMMENT= "SLang-based newsreader"
VERSION= 0.9.8.1
DISTNAME= slrn-${VERSION}
PKGNAME= ${DISTNAME}p1
CATEGORIES= news
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=slrn/}
HOMEPAGE= http://www.slrn.org/
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c crypto m ssl termcap
FAKE= lib
PFILES= lastchar fetch
MASTER_SITES0= http://slrn.sourceforge.net/patches/
.for i in ${PFILES}
PATCHFILES+= slrn-${VERSION}-$i.diff:0
.endfor
PATCH_DIST_STRIP=-p1
NO_REGRESS= Yes
USE_GMAKE= Yes
LIB_DEPENDS= slang.::devel/libslang
MODULES= devel/gettext
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --disable-inews --with-ssl --with-slrnpull --enable-spool
CONFIGURE_ARGS+= --with-slang-library=${DEPBASE}/lib \
--with-slang-includes=${DEPBASE}/include \
--with-libiconv-prefix=${DEPBASE} \
--with-libintl-prefix=${DEPBASE}
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/autoconf
.include <bsd.port.mk>