summaryrefslogtreecommitdiffstats
path: root/devel/tex-libtexlua/Makefile
blob: bbffcaea117835af244e4480063a7a1bd146c4cb (plain)
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
# $FreeBSD$

PORTNAME=	libtexlua
PORTVERSION=	5.2.4
CATEGORIES=	devel
MASTER_SITES=	ftp://tug.org/historic/systems/texlive/2015/
PKGNAMEPREFIX=	tex-
DISTNAME=	texlive-20150521-source
DIST_SUBDIR=	TeX

MAINTAINER=	hrs@FreeBSD.org
COMMENT=	Lua library for TeXLive

LICENSE=	MIT
LICENSE_FILE=	${WRKDIR}/LICENSE.MIT

USES=		tar:xz libtool pkgconfig
USE_LDCONFIG=	yes
EXTRACT_AFTER_ARGS=	${EXTRACT_FILES:S,^,${DISTNAME}/,}
EXTRACT_FILES=		build-aux libs/lua52
WRKSRC=		${WRKDIR}/${DISTNAME}/libs/lua52
GNU_CONFIGURE=	yes
INSTALL_TARGET=	install-strip

post-extract:
	${SED} -e '/\*\ Copyright/,/\*\//!d;s/^\*//;/^\*\*/d' \
	    ${WRKSRC}/lua-5.2.4/src/lua.h > ${WRKDIR}/LICENSE.MIT

.include <bsd.port.mk>
OpenPOWER on IntegriCloud