aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2004-01-08 00:58:10 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2004-01-08 00:58:10 +0000
commit164f91d2da1a8f7029efa881811668af106d40db (patch)
tree40943657d417929131780e8142e93725833880fe
parent09c2535c0dedd4dea3bbab7e24a28e57f6d1336e (diff)
downloadports-164f91d2da1a8f7029efa881811668af106d40db.tar.gz
ports-164f91d2da1a8f7029efa881811668af106d40db.zip
Notes
-rw-r--r--converters/cn2jp/Makefile10
-rw-r--r--converters/cn2jp/pkg-plist2
2 files changed, 6 insertions, 6 deletions
diff --git a/converters/cn2jp/Makefile b/converters/cn2jp/Makefile
index 008886b95c9e..b0971b8377ee 100644
--- a/converters/cn2jp/Makefile
+++ b/converters/cn2jp/Makefile
@@ -8,7 +8,7 @@
PORTNAME= cn2jp
PORTVERSION= 1.4b
PORTREVISION= 3
-CATEGORIES= converters chinese japanese
+CATEGORIES= converters
MASTER_SITES= http://w3.sys.es.osaka-u.ac.jp/~seke/software/cn2jp/
DISTNAME= ${PORTNAME}${PORTVERSION}
@@ -17,15 +17,17 @@ 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
do-install:
.for test_program in ${TEST_PROGRAM}
@${INSTALL_PROGRAM} ${WRKSRC}/${test_program} ${PREFIX}/bin
.endfor
- @${MKDIR} ${PREFIX}/share/cn2jp
- @${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/cn2jp/README
+.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
diff --git a/converters/cn2jp/pkg-plist b/converters/cn2jp/pkg-plist
index 2f0d0e85f901..cb426fb24485 100644
--- a/converters/cn2jp/pkg-plist
+++ b/converters/cn2jp/pkg-plist
@@ -9,5 +9,3 @@ include/lang-util.h
lib/libcn2jp.a
lib/libcn2jp.so
lib/libcn2jp.so.1
-share/cn2jp/README
-@dirrm share/cn2jp