aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/idnits/Makefile
blob: 3530f4f396e00c69a7f93bf7655fda60ebe7480c (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
# New ports collection makefile for: idnits
# Date Created:     9 July 2004
# Whom:         fenner@FreeBSD.Org
#
# $FreeBSD$
#

PORTNAME=   idnits
PORTVERSION=    2.12.12
CATEGORIES= textproc
MASTER_SITES=   http://tools.ietf.org/tools/idnits/ \
        LOCAL/sunpoet
EXTRACT_SUFX=   .tgz

MAINTAINER= sunpoet@FreeBSD.org
COMMENT=    Looks for problems in internet draft formatting

RUN_DEPENDS=    bash:${PORTSDIR}/shells/bash

NO_BUILD=   yes

PLIST_FILES=    bin/${PORTNAME}

post-patch:
    @${REINPLACE_CMD} -e '1 s|^#!/bin/bash|#!${LOCALBASE}/bin/bash|' \
        ${WRKSRC}/${PORTNAME}

do-install:
    @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/

.include <bsd.port.mk>