freebsd-ports/news/trn4/Makefile
Johan van Selst f9d4d4f724 - Update to trn 4.0.b77
- Remove 2 local patches that have been included upstream
- Add a non-interactive configuration mode
2010-09-04 08:54:28 +00:00

33 lines
824 B
Makefile

# New ports collection makefile for: trn
# Date created: 21 October 1994
# Whom: smace
#
# $FreeBSD$
#
PORTNAME= trn
PORTVERSION= 4.0.b77
CATEGORIES= news
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}4
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.b/-test/}
MAINTAINER= johans@FreeBSD.org
COMMENT= Version 4.0 of the threaded readnews newsreader
NO_LATEST_LINK= yes
MAN1= trn.1 Pnews.1 Rnmail.1
.include <bsd.port.pre.mk>
pre-configure:
@${ECHO_MSG} "===> Running pre-configure target for ${DISTNAME}"
@${SED} -e "s:__CC__:$(CC):" -e "s:__CFLAGS__:$(CFLAGS):" \
-e "s:/PREFIX:$(PREFIX):" ${SCRIPTDIR}/preconf > \
${WRKDIR}/preconf.new
.ifdef BATCH
@echo 3 | sh ${WRKDIR}/preconf.new ${PORTSDIR} ${.CURDIR} ${WRKSRC}
.else
@sh ${WRKDIR}/preconf.new ${PORTSDIR} ${.CURDIR} ${WRKSRC}
.endif
.include <bsd.port.post.mk>