aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libexplain/Makefile
blob: 9fe460a73ab7f2c3dcc7fbcb97e28dbe5d10122e (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
# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
# $FreeBSD$

PORTNAME=   libexplain
PORTVERSION=    1.1
DISTVERSIONSUFFIX=  .D001
CATEGORIES= devel
MASTER_SITES=   http://libexplain.sourceforge.net/ \
        CRITICAL

MAINTAINER= ehaupt@FreeBSD.org
COMMENT=    Library which may be used to explain Unix and Linux system call errors

LICENSE=    LGPL3

RUN_DEPENDS=    lsof:${PORTSDIR}/sysutils/lsof
BUILD_DEPENDS=  pdfopt:${PORTSDIR}/print/ghostscript9 \
        gsed:${PORTSDIR}/textproc/gsed

USE_AUTOTOOLS=  libtool
USES=       bison gettext
USE_GMAKE=  yes
USE_LDCONFIG=   yes

MAKE_JOBS_SAFE= yes

.include <bsd.port.pre.mk>
.include "Makefile.man"

post-patch:
    ${REINPLACE_CMD} -e "s|sed '|gsed '|g" -e 's|sleep 1|true|' \
        ${WRKSRC}/Makefile.in

.include <bsd.port.post.mk>