2013-03-08 11:32:11 +00:00
|
|
|
# Created by: Anders Nordby <anders@fix.no>
|
2001-09-14 13:50:58 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= xrn
|
2010-03-28 10:38:59 +00:00
|
|
|
DISTVERSION= 10.00-beta-3
|
2001-09-14 13:50:58 +00:00
|
|
|
CATEGORIES= news
|
|
|
|
MASTER_SITES= ftp://sipb.mit.edu/pub/xrn/ \
|
|
|
|
ftp://ftp.nuug.no/pub/anders/distfiles/
|
|
|
|
|
2010-02-23 18:07:14 +00:00
|
|
|
MAINTAINER= johans@FreeBSD.org
|
2003-02-20 19:00:52 +00:00
|
|
|
COMMENT= Usenet News reader for the X Window System
|
2001-09-14 13:50:58 +00:00
|
|
|
|
2013-09-03 06:36:41 +00:00
|
|
|
USES= bison gmake pkgconfig
|
2013-12-27 09:32:18 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2009-06-16 14:55:02 +00:00
|
|
|
USE_XORG= ice sm x11 xaw xext xmu xpm xt
|
2001-09-14 13:50:58 +00:00
|
|
|
|
|
|
|
DOCS= COMMON-PROBLMS COPYRIGHT CREDITS ChangeLog
|
2009-06-16 14:55:02 +00:00
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/share
|
2001-09-14 13:50:58 +00:00
|
|
|
|
|
|
|
post-patch:
|
2009-06-16 14:55:02 +00:00
|
|
|
@${REINPLACE_CMD} -E -e "s|^#error.+||g" \
|
|
|
|
-e "s|/usr/lib/sendmail|/usr/sbin/sendmail|g" \
|
|
|
|
-e "s|^$$|#define POSIX_REGEX|" \
|
|
|
|
${WRKSRC}/config.h
|
2001-09-14 13:50:58 +00:00
|
|
|
|
2009-06-16 14:55:02 +00:00
|
|
|
post-install:
|
2013-12-27 09:32:18 +00:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2001-09-14 13:50:58 +00:00
|
|
|
.for f in ${DOCS}
|
2013-12-27 09:32:18 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
|
2001-09-14 13:50:58 +00:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|