1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/devel/libexplain/Makefile
Danilo Egea Gondolfo e3c3b5d6f2 - Update from 1.2 to 1.3 patch level D012
PR:		ports/184885
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2013-12-22 00:21:49 +00:00

35 lines
836 B
Makefile

# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
# $FreeBSD$
PORTNAME= libexplain
PORTVERSION= 1.3.${PATCHLEVEL}
CATEGORIES= devel
MASTER_SITES= SF/${PORTNAME}/${PORTVERSION:R}
DISTNAME= ${PORTNAME}-${PORTVERSION:R}
MAINTAINER= ports@FreeBSD.org
COMMENT= Library which may be used to explain Unix and Linux system call errors
LICENSE= LGPL3
BUILD_DEPENDS= gsed:${PORTSDIR}/textproc/gsed
RUN_DEPENDS= lsof:${PORTSDIR}/sysutils/lsof
USES= bison gettext gmake
USE_GHOSTSCRIPT_BUILD= yes
USE_AUTOTOOLS= libtool
CONFIGURE_ENV= ac_cv_header_linux_kd_h=no
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PATCHLEVEL= D012
post-patch:
@${REINPLACE_CMD} -e \
's|$$(libdir)/pkgconfig|$$(libdir)/../libdata/pkgconfig|g ; \
s|\([[:blank:]]\)sed|\1gsed|g' ${WRKSRC}/Makefile.in
.include <bsd.port.mk>