mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-11 02:50:24 +00:00
a9df20390b
Submitted by: naddy
32 lines
817 B
Makefile
32 lines
817 B
Makefile
# Created by: 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
|
|
|
|
CONFLICTS_INSTALL=trn-3.[0-9]* cnews-* s-news-[0-9]*
|
|
|
|
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_CMD} 3 | ${SH} ${WRKDIR}/preconf.new ${PORTSDIR} ${.CURDIR} ${WRKSRC}
|
|
.else
|
|
@${SH} ${WRKDIR}/preconf.new ${PORTSDIR} ${.CURDIR} ${WRKSRC}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|