mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
9250d94365
It brings bison as a build dependency in case it is set the following way: USES= bison or USES= bison:build it brings bison as a run dependency in case it is set the following way: USES= bison:run it brings bison both as a run and build dependency in case it the set the following way: USES= bison:both While here trim some headers Convert some USE_GNOME= gnomehack to USES= pathfix
38 lines
822 B
Makefile
38 lines
822 B
Makefile
# Created by: Anders Nordby <anders@fix.no>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= xrn
|
|
DISTVERSION= 10.00-beta-3
|
|
CATEGORIES= news
|
|
MASTER_SITES= ftp://sipb.mit.edu/pub/xrn/ \
|
|
ftp://ftp.nuug.no/pub/anders/distfiles/
|
|
|
|
MAINTAINER= johans@FreeBSD.org
|
|
COMMENT= Usenet News reader for the X Window System
|
|
|
|
MAN1= xrn.1
|
|
MANCOMPRESSED= no
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
USES= bison
|
|
USE_XORG= ice sm x11 xaw xext xmu xpm xt
|
|
|
|
DOCS= COMMON-PROBLMS COPYRIGHT CREDITS ChangeLog
|
|
CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/share
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -E -e "s|^#error.+||g" \
|
|
-e "s|/usr/lib/sendmail|/usr/sbin/sendmail|g" \
|
|
-e "s|^$$|#define POSIX_REGEX|" \
|
|
${WRKSRC}/config.h
|
|
|
|
post-install:
|
|
.ifndef NOPORTDOCS
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for f in ${DOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|