summaryrefslogtreecommitdiff
path: root/print/tex-ptexenc/Makefile
blob: 0703620934fabb13854667459b80d50e4cf39340 (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
30
31
32

PORTNAME=	ptexenc
PORTVERSION=	1.3.3
PORTREVISION=	2
CATEGORIES=	print
MASTER_SITES=	TEX_CTAN/systems/texlive/Source/
PKGNAMEPREFIX=	tex-
DISTNAME=	texlive-20150521-source
DIST_SUBDIR=	TeX

MAINTAINER=	hrs@FreeBSD.org
COMMENT=	Library for Japanese pTeX and its tools

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/COPYRIGHT

USES=		iconv libtool pathfix pkgconfig tar:xz
USE_TEX=	kpathsea
USE_LDCONFIG=	yes
WRKSRC=		${WRKDIR}/${DISTNAME}/texk/ptexenc
EXTRACT_AFTER_ARGS=	${EXTRACT_FILES:S/^/${DISTNAME}\//}
EXTRACT_FILES=	build-aux texk/ptexenc
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--enable-kanji-iconv \
		--with-system-kpathsea \
		--with-kpathsea-includes=${LOCALBASE}/include \
		--with-kpathsea-libdir=${LOCALBASE}/lib
LIBS+=		-L${ICONV_PREFIX}/lib ${ICONV_LIB}
CPPFLAGS+=	-I${ICONV_PREFIX}/include
INSTALL_TARGET=	install-strip

.include <bsd.port.mk>