aboutsummaryrefslogtreecommitdiff
path: root/news/xrn/Makefile
blob: 6d1ae885ceb8fa455282d6278b4c0a209c9d6eeb (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
33
34
35
36
37
38
39
40
# New ports collection makefile for:	xrn
# Date created:		13 September 2001
# Whom:			Anders Nordby <anders@fix.no>
#
# $FreeBSD$
#

PORTNAME=	xrn
PORTVERSION=	9.02
CATEGORIES=	news
MASTER_SITES=	ftp://sipb.mit.edu/pub/xrn/ \
		ftp://ftp.nuug.no/pub/anders/distfiles/
EXTRACT_SUFX=	.tgz

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Usenet News reader for the X Window System

USE_REINPLACE=	yes
USE_IMAKE=	yes
MAN1=		xrn.1
MANCOMPRESSED=	no

DOCS=		COMMON-PROBLMS COPYRIGHT CREDITS ChangeLog

post-patch:
	@${REINPLACE_CMD} -E -e "s|^#error.+||g; \
		s|/usr/lib/sendmail|/usr/sbin/sendmail|g;" ${WRKSRC}/config.h

do-install:
	${INSTALL_MAN} ${WRKSRC}/xrn.man ${PREFIX}/man/man1/xrn.1
	${INSTALL_PROGRAM} ${WRKSRC}/xrn ${PREFIX}/bin/
	${INSTALL_DATA}	${WRKSRC}/XRn.ad ${PREFIX}/lib/X11/app-defaults/XRn
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
.for f in ${DOCS}
	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>