summaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2006-04-23 06:47:40 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2006-04-23 06:47:40 +0000
commit757172faf97bbbfc3f1a6316d4eb82244c9f5262 (patch)
tree72ad54935c95bb8080410e4cbdbba203560818d3 /chinese
parentnet/p5-Net-Server requires dependency on p5-IO-Multiplex (diff)
Remove some unused patch
PR: ports/96176 Submitted by: maintainer (chinsan)
Diffstat (limited to 'chinese')
-rw-r--r--chinese/pcmanx/Makefile6
-rw-r--r--chinese/pcmanx/files/patch-src-core-Makefile.in11
-rw-r--r--chinese/pcmanx/files/patch-src-generalprefpage.cpp11
-rw-r--r--chinese/pcmanx/files/patch-src-mainframe.cpp11
-rw-r--r--chinese/pcmanx/files/patch-src-view-telnetview.cpp11
5 files changed, 5 insertions, 45 deletions
diff --git a/chinese/pcmanx/Makefile b/chinese/pcmanx/Makefile
index e024507eb5a9..dd8013589571 100644
--- a/chinese/pcmanx/Makefile
+++ b/chinese/pcmanx/Makefile
@@ -7,6 +7,7 @@
PORTNAME= pcmanx
PORTVERSION= 0.3.4
+PORTREVISION= 1
CATEGORIES= chinese net gnome
MASTER_SITES= http://pcmanx.csie.net/release/
DISTNAME= ${PORTNAME}-gtk2-${PORTVERSION}
@@ -19,7 +20,6 @@ USE_GCC= 3.3+
USE_ICONV= yes
GNU_CONFIGURE= yes
USE_X_PREFIX= yes
-USE_REINPLACE= yes
INSTALLS_SHLIB= yes
.if !defined(WITHOUT_NLS)
@@ -34,6 +34,10 @@ PLIST_SUB+= NLS="@comment "
.endif
post-extract:
+ @${REINPLACE_CMD} -e 's/wget/fetch/' ${WRKSRC}/po/zh_CN.po
@${REINPLACE_CMD} -e 's/wget/fetch/' ${WRKSRC}/po/zh_TW.po
+ @${REINPLACE_CMD} -e 's/wget -O/fetch -o/' ${WRKSRC}/src/mainframe.cpp
+ @${REINPLACE_CMD} -e 's/wget/fetch/' ${WRKSRC}/src/generalprefpage.cpp
+ @${REINPLACE_CMD} -e 's/wget/fetch/' ${WRKSRC}/src/view/telnetview.cpp
.include <bsd.port.mk>
diff --git a/chinese/pcmanx/files/patch-src-core-Makefile.in b/chinese/pcmanx/files/patch-src-core-Makefile.in
deleted file mode 100644
index b6f119b50e20..000000000000
--- a/chinese/pcmanx/files/patch-src-core-Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/core/Makefile.in.orig Mon Oct 10 00:03:44 2005
-+++ src/core/Makefile.in Sat Jan 14 23:13:58 2006
-@@ -253,7 +253,7 @@
- libpcmanx_core_la_LIBADD = $(GUI_LIBS)
- libpcmanx_core_la_LDFLAGS = \
- -export-dynamic \
-- @LIBTOOL_EXPORT_OPTIONS@ \
-+ -export-symbols-regex "^[[^_]].*" \
- -rpath $(libdir)
-
- libpcmanx_core_la_SOURCES = \
diff --git a/chinese/pcmanx/files/patch-src-generalprefpage.cpp b/chinese/pcmanx/files/patch-src-generalprefpage.cpp
deleted file mode 100644
index c2078ab6ebaf..000000000000
--- a/chinese/pcmanx/files/patch-src-generalprefpage.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/generalprefpage.cpp.orig Tue Oct 11 02:57:13 2005
-+++ src/generalprefpage.cpp Tue Oct 11 02:56:43 2005
-@@ -64,7 +64,7 @@
- gtk_widget_show (m_AAFont);
- gtk_box_pack_start (GTK_BOX (m_Widget), m_AAFont, FALSE, FALSE, 0);
-
-- m_pWgetFiles = gtk_check_button_new_with_mnemonic (_("Use \"wget\" to download files."));
-+ m_pWgetFiles = gtk_check_button_new_with_mnemonic (_("Use \"fetch\" to download files."));
- gtk_widget_show (m_pWgetFiles);
- gtk_box_pack_start (GTK_BOX (m_Widget), m_pWgetFiles, FALSE, FALSE, 0);
-
diff --git a/chinese/pcmanx/files/patch-src-mainframe.cpp b/chinese/pcmanx/files/patch-src-mainframe.cpp
deleted file mode 100644
index 9aaa44dd5642..000000000000
--- a/chinese/pcmanx/files/patch-src-mainframe.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/mainframe.cpp.orig Tue Oct 11 02:46:46 2005
-+++ src/mainframe.cpp Tue Oct 11 02:47:07 2005
-@@ -1033,7 +1033,7 @@
- child_pid = fork();
- if (child_pid == 0)
- {
-- int t_nRet = system("wget -O ~/.pcmanx/sitelist http://free.ym.edu.tw/pcman/site_list.utf8");
-+ int t_nRet = system("fetch -o ~/.pcmanx/sitelist http://free.ym.edu.tw/pcman/site_list.utf8");
- if (t_nRet == 0)
- kill(parent_pid, SIGUSR1);
- else
diff --git a/chinese/pcmanx/files/patch-src-view-telnetview.cpp b/chinese/pcmanx/files/patch-src-view-telnetview.cpp
deleted file mode 100644
index d79712825f22..000000000000
--- a/chinese/pcmanx/files/patch-src-view-telnetview.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/view/telnetview.cpp.orig Tue Oct 11 02:44:46 2005
-+++ src/view/telnetview.cpp Tue Oct 11 02:45:04 2005
-@@ -334,7 +334,7 @@
- strncmp(t_pcDot, "tbz", 3) == 0)
- {
- string t_sURL = sURL;
-- t_sURL.insert(0, "wget ");
-+ t_sURL.insert(0, "fetch ");
- t_sURL.append(" &");
- system(t_sURL.c_str());
- return;