blob: 4b5f0202315773f0bf7533a1ca673002a5e3cdc4 (
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
37
38
39
40
41
42
43
44
45
46
|
# New ports collection makefile for: cn2jp
# Date created: 09 December 2000
# Whom: Yen-Ming Lee <leeym@cae.ce.ntu.edu.tw>
#
# $FreeBSD$
#
PORTNAME= cn2jp
PORTVERSION= 1.4b
PORTREVISION= 3
CATEGORIES= converters
MASTER_SITES= http://w3.sys.es.osaka-u.ac.jp/~seke/software/cn2jp/
DISTNAME= ${PORTNAME}${PORTVERSION}
DEPRECATED= "no longer available from author's site"
EXPIRATION_DATE=2005-07-31
MAINTAINER= ports@FreeBSD.org
COMMENT= A library for code translation between Chinese and Japanese
INSTALLS_SHLIB= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
PORTDOCS= README
TEST_PROGRAM= big2gb/b2g big2jis/b2j gb2big/g2b gb2jis/g2j jis2big/j2b jis2gb/j2g
.include <bsd.port.pre.mk>
.if ${ARCH} == "ia64"
BROKEN= "Segfault during build on ia64"
.endif
do-install:
.for test_program in ${TEST_PROGRAM}
@${INSTALL_PROGRAM} ${WRKSRC}/${test_program} ${PREFIX}/bin
.endfor
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README
.endif
@${INSTALL_DATA} ${WRKSRC}/libcn2jp.a ${PREFIX}/lib
@${INSTALL_DATA} ${WRKSRC}/libcn2jp.so ${PREFIX}/lib/libcn2jp.so.1
@cd ${PREFIX}/lib/; ${LN} -sf libcn2jp.so.1 libcn2jp.so
@${INSTALL_DATA} ${WRKSRC}/lib/jp-util.h ${PREFIX}/include
@${INSTALL_DATA} ${WRKSRC}/lib/lang-util.h ${PREFIX}/include
.include <bsd.port.post.mk>
|