summaryrefslogtreecommitdiff
path: root/news/trn/Makefile
blob: f29fda91d6bc2555ef3d60a7f9ef74a63c8087ed (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
# Created by: smace

PORTNAME=	trn
PORTVERSION=	3.6
CATEGORIES=	news
MASTER_SITES=	ftp://ftp.uu.net/networking/news/readers/trn/ \
		ftp://ftp.funet.fi/pub/unix/news/trn/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Threaded Read News newsreader

RUN_DEPENDS=	munpack:converters/mpack

CONFLICTS_INSTALL=	s-news trn4

USES=		ncurses
WRKSRC=		${WRKDIR}/trn-3.6

HAS_CONFIGURE=	Yes
CONFIGURE_SCRIPT=	Configure
CONFIGURE_ENV=	PREFIX="${PREFIX}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS=	-S

SUB_FILES=	pkg-message

post-patch:
	${REINPLACE_CMD} 's/$$install/\\$${DESTDIR}&/' ${WRKSRC}/Makefile.SH

.include <bsd.port.mk>