freebsd-ports/devel/libexplain/Makefile
Baptiste Daroussin 9250d94365 Convert USE_BISON to USES= bison
It brings bison as a build dependency in case it is set the following way:
USES= bison or USES= bison:build

it brings bison as a run dependency in case it is set the following way:
USES= bison:run

it brings bison both as a run and build dependency in case it the set the following way:
USES= bison:both

While here trim some headers
Convert some USE_GNOME= gnomehack to USES= pathfix
2013-03-08 11:32:11 +00:00

35 lines
755 B
Makefile

# 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
USE_GETTEXT= yes
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>