aboutsummaryrefslogtreecommitdiff
path: root/chinese/wenju
diff options
context:
space:
mode:
Diffstat (limited to 'chinese/wenju')
-rw-r--r--chinese/wenju/Makefile6
-rw-r--r--chinese/wenju/distinfo4
-rw-r--r--chinese/wenju/files/patch-tests::Makefile.in17
-rw-r--r--chinese/wenju/pkg-plist1
4 files changed, 18 insertions, 10 deletions
diff --git a/chinese/wenju/Makefile b/chinese/wenju/Makefile
index 65158fd38572..7dac7b408935 100644
--- a/chinese/wenju/Makefile
+++ b/chinese/wenju/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= wenju
-PORTVERSION= 1.1
-PORTREVISION= 1
+PORTVERSION= 1.3
CATEGORIES= chinese
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= wenju
@@ -29,8 +28,7 @@ post-install:
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500041
-PATCHFILES+= configure-getopt.patch
-BROKEN= "Does not fetch"
+EXTRA_PATCHES+= ${FILESDIR}/configure-getopt.patch
.endif
.include <bsd.port.post.mk>
diff --git a/chinese/wenju/distinfo b/chinese/wenju/distinfo
index 52cfea16ff7c..24470ed8ae6d 100644
--- a/chinese/wenju/distinfo
+++ b/chinese/wenju/distinfo
@@ -1,2 +1,2 @@
-MD5 (wenju-1.1.tar.gz) = 9ed56e365d08b598a4465c0844b32856
-SIZE (wenju-1.1.tar.gz) = 1610478
+MD5 (wenju-1.3.tar.gz) = f4813a0ab6c2a0a7804c723e15ae058a
+SIZE (wenju-1.3.tar.gz) = 1784560
diff --git a/chinese/wenju/files/patch-tests::Makefile.in b/chinese/wenju/files/patch-tests::Makefile.in
index bb64a5db4539..f6623e302146 100644
--- a/chinese/wenju/files/patch-tests::Makefile.in
+++ b/chinese/wenju/files/patch-tests::Makefile.in
@@ -1,11 +1,20 @@
---- tests/Makefile.in.orig Sat Oct 18 05:18:58 2003
-+++ tests/Makefile.in Sat Oct 18 05:19:06 2003
-@@ -116,7 +116,7 @@
+--- tests/Makefile.in.orig Fri Feb 6 04:19:16 2004
++++ tests/Makefile.in Wed Mar 24 15:29:28 2004
+@@ -76,7 +76,7 @@
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ INTLLIBS = @INTLLIBS@
+-LDFLAGS = @LDFLAGS@
++LDFLAGS = @LDFLAGS@ ${INTLLIBS}
+ LIBICONV = @LIBICONV@
+ LIBINTL = @LIBINTL@
+ LIBOBJS = @LIBOBJS@
+@@ -151,7 +151,7 @@
noinst_PROGRAMS = wenju
wenju_SOURCES = wenju.c
-wenju_LDADD = -lrt
+wenju_LDADD = #-lrt
subdir = tests
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
- CONFIG_HEADER = $(top_builddir)/config.h
diff --git a/chinese/wenju/pkg-plist b/chinese/wenju/pkg-plist
index 65b53d9d8dfb..f9357d3a717e 100644
--- a/chinese/wenju/pkg-plist
+++ b/chinese/wenju/pkg-plist
@@ -2,6 +2,7 @@ bin/tim-config
bin/wrap
lib/gtk-2.0/2.2.0/immodules/im-tim.la
lib/gtk-2.0/2.2.0/immodules/im-tim.so
+%%DATADIR%%/bxm.tim
%%DATADIR%%/cj.tim
%%DATADIR%%/erbi.tim
%%DATADIR%%/liu.tim