summaryrefslogtreecommitdiffstats
path: root/chinese/autoconvert
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2001-08-13 13:14:49 +0000
committerkevlo <kevlo@FreeBSD.org>2001-08-13 13:14:49 +0000
commit0058fe64673b767fe695abd9516fdfbaf3e65139 (patch)
tree415d8b9c150ed078cd5e00e52b0c2b4d0141fcf4 /chinese/autoconvert
parent7deb40d587096656a74c97838ce8c668f4f4db4c (diff)
downloadFreeBSD-ports-0058fe64673b767fe695abd9516fdfbaf3e65139.zip
FreeBSD-ports-0058fe64673b767fe695abd9516fdfbaf3e65139.tar.gz
- Update to version 0.3.13
- Update MASTER_SITES PR: 29569 Submitted by: Yen-Ming Lee <leeym@utopia.leeym.com>
Diffstat (limited to 'chinese/autoconvert')
-rw-r--r--chinese/autoconvert/Makefile20
-rw-r--r--chinese/autoconvert/distinfo2
-rw-r--r--chinese/autoconvert/files/patch-aa33
-rw-r--r--chinese/autoconvert/pkg-plist30
4 files changed, 46 insertions, 39 deletions
diff --git a/chinese/autoconvert/Makefile b/chinese/autoconvert/Makefile
index f00db3a..fa3964a 100644
--- a/chinese/autoconvert/Makefile
+++ b/chinese/autoconvert/Makefile
@@ -6,10 +6,9 @@
#
PORTNAME= autoconvert
-PORTVERSION= 0.3.12
+PORTVERSION= 0.3.13
CATEGORIES= chinese
-MASTER_SITES= http://www.csie.nctu.edu.tw/~yinjieh/ \
- ftp://banyan.dlut.edu.cn/pub/PEOPLE/saka/
+MASTER_SITES= http://people.debian.org/~ygh/
MAINTAINER= yinjieh@csie.nctu.edu.tw
@@ -17,19 +16,10 @@ LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
INSTALLS_SHLIB= yes
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/autob5 ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/autogb ${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/lib/libhz.a ${PREFIX}/lib
- ${INSTALL_DATA} ${WRKSRC}/lib/libhz.so.0.0 ${PREFIX}/lib/libhz.so.0
- cd ${PREFIX}/lib; ${LN} -sf libhz.so.0 libhz.so
- ${MKDIR} ${PREFIX}/share/autoconvert
+pre-install:
+ @${MKDIR} ${PREFIX}/share/zh-autoconvert
.for i in ChangeLog LICENSE Readme TODO Thanks Version hz.txt procmailrc.example shed.big5 shed.gb shed.uni shed.utf7 shed.utf8
- ${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/share/autoconvert
-.endfor
-
-.for i in hz.h zhstatis.h
- ${INSTALL_DATA} ${WRKSRC}/include/$i ${PREFIX}/include
+ @${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/share/zh-autoconvert
.endfor
.include <bsd.port.mk>
diff --git a/chinese/autoconvert/distinfo b/chinese/autoconvert/distinfo
index 70e300c..4349f98 100644
--- a/chinese/autoconvert/distinfo
+++ b/chinese/autoconvert/distinfo
@@ -1 +1 @@
-MD5 (autoconvert-0.3.12.tar.gz) = ff6022e9946051729b97a3e5f1e700a5
+MD5 (autoconvert-0.3.13.tar.gz) = 43d8d1bb012c72ec7bb7157cec5c63ad
diff --git a/chinese/autoconvert/files/patch-aa b/chinese/autoconvert/files/patch-aa
index e79aa19..8951144 100644
--- a/chinese/autoconvert/files/patch-aa
+++ b/chinese/autoconvert/files/patch-aa
@@ -1,6 +1,6 @@
---- Makefile.orig Mon Jan 8 18:05:51 2001
-+++ Makefile Tue Jan 9 03:03:10 2001
-@@ -1,11 +1,12 @@
+--- Makefile.orig Sat Apr 28 09:45:46 2001
++++ Makefile Thu Aug 9 23:31:09 2001
+@@ -1,7 +1,7 @@
CC=gcc
-CFLAG=-O2 -g -Wall -Iinclude
@@ -10,9 +10,24 @@
.PHONY: all hzlib clean install-home install
--all: autob5 autogb hzlib xchat-plugins
-+all: autob5 autogb hzlib
-+#xchat-plugins
-
- autob5: autogb
- rm -f autob5;ln -s autogb autob5
+@@ -30,12 +30,11 @@
+ ln -s $(HOME)/bin/autogb $(HOME)/bin/autob5
+ chmod 755 $(HOME)/bin/autogb
+ install:
+- install -m 755 autogb $(DESTDIR)/usr/bin
+- install -m 755 lib/libhz.so.0.0 $(DESTDIR)/usr/lib
+- cd $(DESTDIR)/usr/lib;ln -s libhz.so.0.0 libhz.so.0
+- cd $(DESTDIR)/usr/lib;ln -s libhz.so.0 libhz.so
+- install -m 755 lib/libhz.a $(DESTDIR)/usr/lib
+- install -m 755 contrib/xchat-plugins/xchat-autogb.so $(DESTDIR)/usr/share/zh-autoconvert
+- install -m 755 contrib/xchat-plugins/xchat-autob5.so $(DESTDIR)/usr/share/zh-autoconvert
+- install -m 644 include/*.h $(DESTDIR)/usr/include
+- ln -s autogb $(DESTDIR)/usr/bin/autob5
++ install -m 755 autogb $(PREFIX)/bin
++ install -m 755 lib/libhz.so.0.0 $(PREFIX)/lib/libhz.so.0
++ cd $(PREFIX)/lib;ln -s libhz.so.0 libhz.so
++ install -m 755 lib/libhz.a $(PREFIX)/lib
++ install -m 755 contrib/xchat-plugins/xchat-autogb.so $(PREFIX)/share/zh-autoconvert
++ install -m 755 contrib/xchat-plugins/xchat-autob5.so $(PREFIX)/share/zh-autoconvert
++ install -m 644 include/*.h $(PREFIX)/include
++ ln -s autogb $(PREFIX)/bin/autob5
diff --git a/chinese/autoconvert/pkg-plist b/chinese/autoconvert/pkg-plist
index 6bb2c2f..1881f2c 100644
--- a/chinese/autoconvert/pkg-plist
+++ b/chinese/autoconvert/pkg-plist
@@ -5,17 +5,19 @@ include/zhstatis.h
lib/libhz.a
lib/libhz.so
lib/libhz.so.0
-share/autoconvert/ChangeLog
-share/autoconvert/LICENSE
-share/autoconvert/Readme
-share/autoconvert/TODO
-share/autoconvert/Thanks
-share/autoconvert/Version
-share/autoconvert/hz.txt
-share/autoconvert/procmailrc.example
-share/autoconvert/shed.big5
-share/autoconvert/shed.gb
-share/autoconvert/shed.uni
-share/autoconvert/shed.utf7
-share/autoconvert/shed.utf8
-@dirrm share/autoconvert
+share/zh-autoconvert/ChangeLog
+share/zh-autoconvert/LICENSE
+share/zh-autoconvert/Readme
+share/zh-autoconvert/TODO
+share/zh-autoconvert/Thanks
+share/zh-autoconvert/Version
+share/zh-autoconvert/hz.txt
+share/zh-autoconvert/procmailrc.example
+share/zh-autoconvert/shed.big5
+share/zh-autoconvert/shed.gb
+share/zh-autoconvert/shed.uni
+share/zh-autoconvert/shed.utf7
+share/zh-autoconvert/shed.utf8
+share/zh-autoconvert/xchat-autob5.so
+share/zh-autoconvert/xchat-autogb.so
+@dirrm share/zh-autoconvert
OpenPOWER on IntegriCloud