aboutsummaryrefslogtreecommitdiffstats
path: root/news/trn4/Makefile
blob: df4e6ab915a8b6aa747e5210d36bd4c6b7696903 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# New ports collection makefile for:    trn
# Date created:     21 October 1994
# Whom:         smace
#
# $FreeBSD$
#

PORTNAME=   trn
PORTVERSION=    4.0.b76
PORTREVISION=   1
CATEGORIES= news
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME=   trn-4.0-test76

MAINTAINER= mph@freebsd.org
COMMENT=    Version 4.0 of the threaded readnews newsreader

NO_LATEST_LINK= yes
IS_INTERACTIVE= 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
    @sh ${WRKDIR}/preconf.new ${PORTSDIR} ${.CURDIR} ${WRKSRC}

.include <bsd.port.post.mk>