freebsd-ports/news/slrn/Makefile

48 lines
1.2 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: slrn
# Date created: 28 March 1997
# Whom: Carey Jones <mcj@acquiesce.org>
#
1999-08-30 10:33:04 -04:00
# $FreeBSD$
#
PORTNAME= slrn
PORTVERSION= 0.9.7.2
CATEGORIES= news ipv6
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= petef@FreeBSD.org
1998-09-25 06:18:41 -04:00
LIB_DEPENDS= slang.1:${PORTSDIR}/devel/libslang
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 slrnpull
MAN1= slrn.1
post-patch:
@${PERL} -pi -e 's,/usr/lib/sendmail,/usr/sbin/sendmail,' \
${WRKSRC}/src/slrnfeat.h
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/${MACHINE_ARCH}objs/slrn ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/src/${MACHINE_ARCH}objs/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
.include <bsd.port.mk>