aboutsummaryrefslogtreecommitdiff
path: root/japanese/libjconv/Makefile
blob: 2bd1bef993835708c8ba49abf0453b976dc1b375 (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
# New ports collection makefile for:	libjconv
# Date created:		12 Jan 2001
# Whom:			Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#

PORTNAME=	libjconv
PORTVERSION=	2.9
CATEGORIES=	japanese
MASTER_SITES=	http://ghost.math.sci.hokudai.ac.jp/misc/libjconv/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Japanese charset conversion library powered by iconv(3)

#RUN_DEPENDS=	${LOCALBASE}/libexec/iconv/iso-2022-jp.so:${PORTSDIR}/converters/iconv-extra

MAKE_ARGS=	NOPROFILE=true PREFIX=${PREFIX} LOCALBASE=${LOCALBASE}
USE_LDCONFIG=	yes
USE_ICONV=	yes

post-patch:
	@${REINPLACE_CMD} -e 's,!!PREFIX!!,${PREFIX},' ${WRKSRC}/info.c

post-extract:
	${CP} ${FILESDIR}/Makefile* ${WRKSRC}/

post-install:
	${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/libjconv.html ${DOCSDIR}/

.include <bsd.port.mk>