freebsd-ports/news/slrn/Makefile
Pete Fritchman 745e6b8e17 - add new MASTER_SITES
- USE_BZIP2

Submitted by:	Jason Harris <jharris@widomaker.com>

- install documentation

Requested by:	Thierry Thomas <thierry@thomas.as>
2001-11-24 22:04:18 +00:00

59 lines
1.5 KiB
Makefile

# New ports collection makefile for: slrn
# Date created: 28 March 1997
# Whom: Carey Jones <mcj@acquiesce.org>
#
# $FreeBSD$
#
PORTNAME= slrn
PORTVERSION= 0.9.7.3
PORTREVISION= 1
CATEGORIES= news ipv6
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
ftp://ftp.rge.com/pub/usenet/readers/unix/slrn/ \
ftp://angel.sovam.com/pub/tools/net/news/
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= petef@FreeBSD.org
LIB_DEPENDS= slang.1:${PORTSDIR}/devel/libslang
USE_BZIP2= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-ipv6 --disable-inews --with-slrnpull
.if !defined(WITHOUT_SSL)
USE_OPENSSL= YES
CONFIGURE_ARGS+= --with-ssl
.endif
ALL_TARGET= all
MAN1= slrn.1 slrnpull.1
post-patch:
@${PERL} -pi -e 's,/usr/lib/sendmail,/usr/sbin/sendmail,' \
${WRKSRC}/src/slrnfeat.h
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/slrn ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/src/slrnpull ${PREFIX}/bin
@${MKDIR} ${PREFIX}/share/examples/slrn
${INSTALL_DATA} ${WRKSRC}/doc/slrn.rc ${PREFIX}/share/examples/slrn
@${MKDIR} ${PREFIX}/share/examples/slrn/slrnpull
.for file in FAQ README SETUP score slrn.rc slrnpull.conf slrnpull.sh
${INSTALL_DATA} ${WRKSRC}/doc/slrnpull/${file} ${PREFIX}/share/examples/slrn/slrnpull
.endfor
${INSTALL_MAN} ${WRKSRC}/doc/slrn.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/doc/slrnpull.1 ${PREFIX}/man/man1
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in FAQ README.* SCORE_FAQ *.txt slrn-doc.html
${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>