aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/asciidoc/Makefile
blob: e87977ec487b95d4452617cfc5475ac135fbb57b (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
32
33
34
35
# New ports collection makefile for:   asciidoc
# Date created:        9 Feb 2006
# Whom:                anholt@FreeBSD.org
#
# $FreeBSD$
#

PORTNAME=   asciidoc
PORTVERSION=    8.4.5
CATEGORIES= textproc
MASTER_SITES=   http://www.methods.co.nz/asciidoc/ \
        SF

MAINTAINER= peter.schuller@infidyne.com
COMMENT=    A text document format for writing short documents and man pages

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

USE_PYTHON= 2.4+
USE_GMAKE=  yes
MAKE_ENV=   INSTALL="${INSTALL}" INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
        INSTALL_SCRIPT="${INSTALL_SCRIPT}" INSTALL_DATA="${INSTALL_DATA}"

GNU_CONFIGURE=  yes
MAN1=       a2x.1 asciidoc.1

# a future improvement to this port is to also install the vim syntax
# highlighing mode which is currently disabled by being patched away in
# Makefile.in

pre-patch:
    @${REINPLACE_CMD} -e "s|/bin/bash|${LOCALBASE}/bin/bash|g" \
        ${WRKSRC}/a2x ${WRKSRC}/asciidoc.py

.include <bsd.port.mk>