freebsd-ports/news/trn4/Makefile

34 lines
824 B
Makefile
Raw Normal View History

1994-10-22 10:28:32 +01:00
# New ports collection makefile for: trn
# Date created: 21 October 1994
# Whom: smace
#
1999-08-30 16:33:04 +02:00
# $FreeBSD$
1994-10-22 10:28:32 +01:00
#
PORTNAME= trn
PORTVERSION= 4.0.b77
CATEGORIES= news
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}4
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.b/-test/}
1994-10-22 10:28:32 +01:00
MAINTAINER= johans@FreeBSD.org
COMMENT= Version 4.0 of the threaded readnews newsreader
1998-05-01 20:41:28 +02:00
NO_LATEST_LINK= yes
MAN1= trn.1 Pnews.1 Rnmail.1
.include <bsd.port.pre.mk>
1994-10-22 10:28:32 +01:00
pre-configure:
@${ECHO_MSG} "===> Running pre-configure target for ${DISTNAME}"
1998-05-01 20:41:28 +02:00
@${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
1998-05-01 20:41:28 +02:00
@sh ${WRKDIR}/preconf.new ${PORTSDIR} ${.CURDIR} ${WRKSRC}
.endif
1994-10-22 10:28:32 +01:00
.include <bsd.port.post.mk>