aboutsummaryrefslogtreecommitdiff
path: root/chinese/docproj/Makefile
blob: d27da9afa719b516a76e60cf8a29bcd78b798036 (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
35
36
# Created by: Xin LI <delphij@FreeBSD.org>

PORTNAME=	docproj
PORTVERSION=	0.1.20060303
PORTREVISION=	8
CATEGORIES=	chinese
MASTER_SITES=	# none
DISTFILES=	# none
EXTRACT_ONLY=	# none

# Note: Updates from intron@intron.ac should also be
# considered as maintainer updates.

MAINTAINER=	delphij@FreeBSD.org
COMMENT=	Supportive tools for Chinese docproj build

LICENSE=	BSD2CLAUSE

USES=	iconv
USE_TEX=	gbklatex:run

WRKSRC=		${WRKDIR}/src

SRC=		${.CURDIR}/src
MAKE_ARGS+=	PREFIX=${PREFIX} LOCALBASE=${LOCALBASE} INSTALL_PROGRAM="${INSTALL_PROGRAM}"

PLIST_FILES=	bin/cjktexsty

pre-patch:
	@${CP} -R ${SRC} ${WRKDIR}

post-patch:
	@${REINPLACE_CMD} -e 's/-liconv/${ICONV_LIB}/' \
		${WRKSRC}/cjktexsty/Makefile

.include <bsd.port.mk>