aboutsummaryrefslogtreecommitdiff
path: root/chinese/bsdconv-opencc
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-01-08 15:47:09 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-01-08 15:47:09 +0000
commita57522f2297817b100d249152e58b983b1cdf751 (patch)
tree360c9e60f5123ba29753edee7df1e02d59a23692 /chinese/bsdconv-opencc
parentd9d6cfa623ddf099b766577296a29c90dc21d5c3 (diff)
downloadports-a57522f2297817b100d249152e58b983b1cdf751.tar.gz
ports-a57522f2297817b100d249152e58b983b1cdf751.zip
Support STAGEDIR.
Approved by: portmgr (blanket infrastructure)
Notes
Notes: svn path=/head/; revision=339152
Diffstat (limited to 'chinese/bsdconv-opencc')
-rw-r--r--chinese/bsdconv-opencc/Makefile1
-rw-r--r--chinese/bsdconv-opencc/files/patch-Makefile17
-rw-r--r--chinese/bsdconv-opencc/pkg-plist6
3 files changed, 20 insertions, 4 deletions
diff --git a/chinese/bsdconv-opencc/Makefile b/chinese/bsdconv-opencc/Makefile
index 33e33d3f60f1..ee307f94adbe 100644
--- a/chinese/bsdconv-opencc/Makefile
+++ b/chinese/bsdconv-opencc/Makefile
@@ -21,7 +21,6 @@ GH_ACCOUNT= buganini
GH_PROJECT= ${PKGNAMEPREFIX}${PORTNAME}
GH_COMMIT= c48c74c
-MAKE_ARGS= PREFIX=${PREFIX}
NO_STAGE= yes
.include <bsd.port.mk>
diff --git a/chinese/bsdconv-opencc/files/patch-Makefile b/chinese/bsdconv-opencc/files/patch-Makefile
new file mode 100644
index 000000000000..230cd899ec1a
--- /dev/null
+++ b/chinese/bsdconv-opencc/files/patch-Makefile
@@ -0,0 +1,17 @@
+--- Makefile.orig 2013-09-20 02:35:00.000000000 +0800
++++ Makefile 2014-01-07 14:26:54.000000000 +0800
+@@ -35,9 +35,10 @@ clean:
+ rm -rf OPENCC OPENCC.so OPENCC-*
+
+ install:
++ mkdir -p $(DESTDIR)${PREFIX}/share/bsdconv/inter
+ for item in ${CONFIGS} ; do \
+- install -m 444 OPENCC ${PREFIX}/share/bsdconv/inter/OPENCC-$${item} ; \
+- install -m 444 OPENCC-$${item}.so ${PREFIX}/share/bsdconv/inter/OPENCC-$${item}.so ; \
++ install -m 444 OPENCC $(DESTDIR)${PREFIX}/share/bsdconv/inter/OPENCC-$${item} ; \
++ install -m 444 OPENCC-$${item}.so $(DESTDIR)${PREFIX}/share/bsdconv/inter/OPENCC-$${item}.so ; \
+ done
+- install -m 444 OPENCC ${PREFIX}/share/bsdconv/inter/OPENCC
+- install -m 444 OPENCC.so ${PREFIX}/share/bsdconv/inter/OPENCC.so
++ install -m 444 OPENCC $(DESTDIR)${PREFIX}/share/bsdconv/inter/OPENCC
++ install -m 444 OPENCC.so $(DESTDIR)${PREFIX}/share/bsdconv/inter/OPENCC.so
diff --git a/chinese/bsdconv-opencc/pkg-plist b/chinese/bsdconv-opencc/pkg-plist
index b56b4ec790d1..affb3e152d87 100644
--- a/chinese/bsdconv-opencc/pkg-plist
+++ b/chinese/bsdconv-opencc/pkg-plist
@@ -1,5 +1,4 @@
share/bsdconv/inter/OPENCC
-share/bsdconv/inter/OPENCC.so
share/bsdconv/inter/OPENCC-MIX2ZHS
share/bsdconv/inter/OPENCC-MIX2ZHS.so
share/bsdconv/inter/OPENCC-MIX2ZHT
@@ -9,17 +8,17 @@ share/bsdconv/inter/OPENCC-ZHS2ZHT.so
share/bsdconv/inter/OPENCC-ZHS2ZHTW_P
share/bsdconv/inter/OPENCC-ZHS2ZHTW_P.so
share/bsdconv/inter/OPENCC-ZHS2ZHTW_V
+share/bsdconv/inter/OPENCC-ZHS2ZHTW_V.so
share/bsdconv/inter/OPENCC-ZHS2ZHTW_VP
share/bsdconv/inter/OPENCC-ZHS2ZHTW_VP.so
-share/bsdconv/inter/OPENCC-ZHS2ZHTW_V.so
share/bsdconv/inter/OPENCC-ZHT2ZHS
share/bsdconv/inter/OPENCC-ZHT2ZHS.so
share/bsdconv/inter/OPENCC-ZHT2ZHTW_P
share/bsdconv/inter/OPENCC-ZHT2ZHTW_P.so
share/bsdconv/inter/OPENCC-ZHT2ZHTW_V
+share/bsdconv/inter/OPENCC-ZHT2ZHTW_V.so
share/bsdconv/inter/OPENCC-ZHT2ZHTW_VP
share/bsdconv/inter/OPENCC-ZHT2ZHTW_VP.so
-share/bsdconv/inter/OPENCC-ZHT2ZHTW_V.so
share/bsdconv/inter/OPENCC-ZHTW2ZHCN_S
share/bsdconv/inter/OPENCC-ZHTW2ZHCN_S.so
share/bsdconv/inter/OPENCC-ZHTW2ZHCN_T
@@ -28,5 +27,6 @@ share/bsdconv/inter/OPENCC-ZHTW2ZHS
share/bsdconv/inter/OPENCC-ZHTW2ZHS.so
share/bsdconv/inter/OPENCC-ZHTW2ZHT
share/bsdconv/inter/OPENCC-ZHTW2ZHT.so
+share/bsdconv/inter/OPENCC.so
@dirrmtry share/bsdconv/inter
@dirrmtry share/bsdconv