aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/idnits/Makefile
blob: a7223d36784c25f5d4f607db96b59ad0235a50c0 (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
# Created by: fenner@FreeBSD.org
# $FreeBSD$

PORTNAME=   idnits
PORTVERSION=    2.13.00
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

LICENSE=    GPLv2 GPLv3
LICENSE_COMB=   dual

RUN_DEPENDS=    ${LOCALBASE}/bin/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} ${STAGEDIR}${PREFIX}/bin/

.include <bsd.port.mk>