1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
freebsd-ports/textproc/rfcdiff/Makefile

36 lines
786 B
Makefile

# Created by: lars.eggert@gmx.net
# $FreeBSD$
PORTNAME= rfcdiff
PORTVERSION= 1.33
PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= http://tools.ietf.org/tools/${PORTNAME}/
DISTNAME= ${PORTNAME}-v${PORTVERSION}
EXTRACT_SUFX=
MAINTAINER= lars.eggert@gmx.net
COMMENT= Compare two versions of an Internet Draft and produce a diff
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash \
gawk:${PORTSDIR}/lang/gawk \
wdiff:${PORTSDIR}/textproc/wdiff
EXTRACT_CMD= ${CP}
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS= ${WRKSRC}
NO_WRKSUBDIR= YES
NO_BUILD= YES
PLIST_FILES= bin/rfcdiff
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|/bin/bash|${LOCALBASE}/bin/bash|' \
${WRKSRC}/${DISTNAME}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>