2013-03-17 20:39:10 +00:00
|
|
|
# Created by: smace
|
1999-08-30 14:33:04 +00:00
|
|
|
# $FreeBSD$
|
1994-10-22 09:28:32 +00:00
|
|
|
|
2000-04-09 17:33:32 +00:00
|
|
|
PORTNAME= trn
|
2010-09-04 08:54:28 +00:00
|
|
|
PORTVERSION= 4.0.b77
|
2013-10-06 15:22:10 +00:00
|
|
|
PKGNAMESUFFIX= 4
|
1996-11-18 11:44:27 +00:00
|
|
|
CATEGORIES= news
|
2010-09-04 08:54:28 +00:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}4
|
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.b/-test/}
|
1994-10-22 09:28:32 +00:00
|
|
|
|
2010-02-23 18:07:14 +00:00
|
|
|
MAINTAINER= johans@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= Version 4.0 of the threaded readnews newsreader
|
1995-05-06 11:51:57 +00:00
|
|
|
|
2013-03-17 20:39:10 +00:00
|
|
|
CONFLICTS_INSTALL=trn-3.[0-9]* cnews-* s-news-[0-9]*
|
2012-06-14 21:45:49 +00:00
|
|
|
|
2003-07-30 22:58:42 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2013-07-19 14:28:59 +00:00
|
|
|
post-patch:
|
2014-01-10 18:40:47 +00:00
|
|
|
${REINPLACE_CMD} -e 's/pipe[12]/z&/g' ${WRKSRC}/filter.c
|
|
|
|
${REINPLACE_CMD} -e 's|^dir=|&$${DESTDIR}|' ${WRKSRC}/myinstall.SH
|
|
|
|
${REINPLACE_CMD} -e 's|./makedir |&$${DESTDIR}|' \
|
|
|
|
-e 's|dest=|&$${DESTDIR}|' ${WRKSRC}/Makefile.SH
|
2013-07-19 14:28:59 +00:00
|
|
|
|
1994-10-22 09:28:32 +00:00
|
|
|
pre-configure:
|
1999-08-27 22:30:39 +00:00
|
|
|
@${ECHO_MSG} "===> Running pre-configure target for ${DISTNAME}"
|
2012-06-14 21:45:49 +00:00
|
|
|
@${SED} -e "s:__CC__:${CC}:" -e "s:__CFLAGS__:${CFLAGS}:" \
|
|
|
|
-e "s:/PREFIX:${PREFIX}:" ${SCRIPTDIR}/preconf > \
|
1998-05-01 18:41:28 +00:00
|
|
|
${WRKDIR}/preconf.new
|
2010-09-04 08:54:28 +00:00
|
|
|
.ifdef BATCH
|
2012-06-14 21:45:49 +00:00
|
|
|
@${ECHO_CMD} 3 | ${SH} ${WRKDIR}/preconf.new ${PORTSDIR} ${.CURDIR} ${WRKSRC}
|
2010-09-04 08:54:28 +00:00
|
|
|
.else
|
2012-06-14 21:45:49 +00:00
|
|
|
@${SH} ${WRKDIR}/preconf.new ${PORTSDIR} ${.CURDIR} ${WRKSRC}
|
2010-09-04 08:54:28 +00:00
|
|
|
.endif
|
1994-10-22 09:28:32 +00:00
|
|
|
|
2003-07-30 22:58:42 +00:00
|
|
|
.include <bsd.port.post.mk>
|