1997-05-16 23:41:37 -04:00
|
|
|
# New ports collection makefile for: slrn
|
|
|
|
# Date created: 28 March 1997
|
|
|
|
# Whom: Carey Jones <mcj@acquiesce.org>
|
1998-02-25 23:15:55 -05:00
|
|
|
#
|
1999-08-30 10:33:04 -04:00
|
|
|
# $FreeBSD$
|
1997-05-16 23:41:37 -04:00
|
|
|
#
|
|
|
|
|
2000-04-09 13:33:32 -04:00
|
|
|
PORTNAME= slrn
|
2001-08-23 11:30:40 -04:00
|
|
|
PORTVERSION= 0.9.7.2
|
2001-04-03 20:54:01 -04:00
|
|
|
CATEGORIES= news ipv6
|
2001-08-23 11:30:40 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2000-09-25 07:53:52 -04:00
|
|
|
|
2001-08-23 11:30:40 -04:00
|
|
|
MAINTAINER= petef@FreeBSD.org
|
1997-05-16 23:41:37 -04:00
|
|
|
|
1998-09-25 06:18:41 -04:00
|
|
|
LIB_DEPENDS= slang.1:${PORTSDIR}/devel/libslang
|
1997-05-16 23:41:37 -04:00
|
|
|
|
2001-08-23 11:30:40 -04:00
|
|
|
USE_GMAKE= yes
|
1997-05-16 23:41:37 -04:00
|
|
|
|
2001-08-23 11:30:40 -04:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --enable-ipv6 --disable-inews --with-slrnpull
|
2001-04-03 20:54:01 -04:00
|
|
|
|
2001-08-23 11:30:40 -04:00
|
|
|
.if !defined(WITHOUT_SSL)
|
2001-02-26 21:00:46 -05:00
|
|
|
USE_OPENSSL= YES
|
2001-04-03 20:54:01 -04:00
|
|
|
CONFIGURE_ARGS+= --with-ssl
|
2001-02-26 21:00:46 -05:00
|
|
|
.endif
|
|
|
|
|
2001-08-23 11:30:40 -04:00
|
|
|
ALL_TARGET= all slrnpull
|
|
|
|
|
|
|
|
MAN1= slrn.1
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${PERL} -pi -e 's,/usr/lib/sendmail,/usr/sbin/sendmail,' \
|
|
|
|
${WRKSRC}/src/slrnfeat.h
|
|
|
|
|
1997-05-16 23:41:37 -04:00
|
|
|
do-install:
|
1999-07-19 03:01:48 -04:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/${MACHINE_ARCH}objs/slrn ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/${MACHINE_ARCH}objs/slrnpull ${PREFIX}/bin
|
1997-05-16 23:41:37 -04:00
|
|
|
@${MKDIR} ${PREFIX}/share/examples/slrn
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/slrn.rc ${PREFIX}/share/examples/slrn
|
1998-02-25 23:15:55 -05:00
|
|
|
@${MKDIR} ${PREFIX}/share/examples/slrn/slrnpull
|
2001-08-23 11:30:40 -04:00
|
|
|
.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
|
1997-05-16 23:41:37 -04:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/slrn.1 ${PREFIX}/man/man1
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|