aboutsummaryrefslogtreecommitdiff
path: root/converters/xunicode/Makefile
blob: 711e72b3dc1c704f6c9b3bc9cf262dd9699cf349 (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
# New ports collection makefile for:	XUnicode
# Date created:		25 Aug 2000
# Whom:			Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#

PORTNAME=	xunicode
PORTVERSION=	0.2.7
CATEGORIES=	converters x11
MASTER_SITES=	http://www.ab.wakwak.com/~tino/jatk/

MAINTAINER=	knu@FreeBSD.org

USE_X_PREFIX=	yes

WRKSRC=		${WRKDIR}/${PORTNAME}

post-patch:
	${PERL} -i -p \
		-e 's,/usr/X11R6\b,${X11BASE},g;' \
		-e 's,^CXX(FLAGS)? *=.*,,;' \
		${WRKSRC}/MakeInclude

do-install:
	${INSTALL_DATA} ${WRKSRC}/lib/libxunicode.a ${PREFIX}/lib/
	${MKDIR} ${PREFIX}/include/xunicode
	${INSTALL_DATA} ${WRKSRC}/include/*.h ${PREFIX}/include/xunicode/
.if !defined(NOPORTDOCS)
	${MKDIR} ${PREFIX}/share/doc/xunicode/ja/
	${INSTALL_DATA} ${WRKSRC}/README.utf8 ${PREFIX}/share/doc/xunicode/ja/
.endif

.include <bsd.port.mk>