mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
f0a1969d34
is better studied o Turn PORTCOMMENT variable in Makefile back into pkg-comment files Approved by: kris (portmgr hat), portmgr, re (silence)
42 lines
979 B
Makefile
42 lines
979 B
Makefile
# 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
|
|
|
|
USE_REINPLACE= yes
|
|
USE_IMAKE= yes
|
|
MAN1= xrn.1
|
|
MANCOMPRESSED= no
|
|
XFREE86_HTML_MAN= 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_MAN} ${WRKSRC}/xrn.1.html ${PREFIX}/lib/X11/doc/html/
|
|
${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>
|