summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-10-04 21:20:38 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-10-04 21:20:38 +0800
commit8ad10c036c54b3dc2705c6bf0b648d4cb72c9f27 (patch)
tree510c6f1578924b66a5e49ff324fa63a8aa0e980f
parent22b238699bb20fe738cb4762fc1597a0afa7078d (diff)
downloadmarcuscom-ports-8ad10c036c54b3dc2705c6bf0b648d4cb72c9f27.tar
marcuscom-ports-8ad10c036c54b3dc2705c6bf0b648d4cb72c9f27.tar.gz
marcuscom-ports-8ad10c036c54b3dc2705c6bf0b648d4cb72c9f27.tar.bz2
marcuscom-ports-8ad10c036c54b3dc2705c6bf0b648d4cb72c9f27.tar.lz
marcuscom-ports-8ad10c036c54b3dc2705c6bf0b648d4cb72c9f27.tar.xz
marcuscom-ports-8ad10c036c54b3dc2705c6bf0b648d4cb72c9f27.tar.zst
marcuscom-ports-8ad10c036c54b3dc2705c6bf0b648d4cb72c9f27.zip
- Fix build
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7548 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--chinese/chinput3/Makefile47
-rw-r--r--chinese/chinput3/distinfo3
-rw-r--r--chinese/chinput3/files/pkg-message.in10
-rw-r--r--chinese/chinput3/pkg-descr7
-rw-r--r--chinese/chinput3/pkg-plist31
-rw-r--r--games/xteddy/Makefile31
-rw-r--r--games/xteddy/distinfo3
-rw-r--r--games/xteddy/files/patch-Makefile.in11
-rw-r--r--games/xteddy/files/patch-xteddy.c11
-rw-r--r--games/xteddy/files/patch-xteddy_test15
-rw-r--r--games/xteddy/pkg-descr4
-rw-r--r--games/xteddy/pkg-plist16
-rw-r--r--graphics/imagesort/Makefile29
-rw-r--r--graphics/imagesort/distinfo3
-rw-r--r--graphics/imagesort/files/patch-Makefile20
-rw-r--r--graphics/imagesort/pkg-descr6
-rw-r--r--graphics/imagesort/pkg-plist4
-rw-r--r--graphics/isreal/Makefile27
-rw-r--r--graphics/isreal/distinfo3
-rw-r--r--graphics/isreal/files/patch-Makefile22
-rw-r--r--graphics/isreal/files/patch-getopt11
-rw-r--r--graphics/isreal/pkg-descr14
22 files changed, 328 insertions, 0 deletions
diff --git a/chinese/chinput3/Makefile b/chinese/chinput3/Makefile
new file mode 100644
index 000000000..fc3087d3b
--- /dev/null
+++ b/chinese/chinput3/Makefile
@@ -0,0 +1,47 @@
+# Ports collection makefile for: chinput3
+# Date created: 03/31/2002
+# Whom: Shen Chuan-Hsing <statue@freebsd.sinica.edu.tw>
+#
+# $FreeBSD$
+# $MCom$
+
+PORTNAME= chinput
+PORTVERSION= 3.0.2.5
+PORTREVISION= 3
+CATEGORIES= chinese x11
+MASTER_SITES= ftp://freebsd.sinica.edu.tw/pub/statue/chinput3/
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Chinese GB2312,BIG5 code input server
+
+LATEST_LINK= zh-chinput3
+USE_XLIB= yes
+USE_GETTEXT= yes
+USE_GNOME= gtk12 imlib
+
+PKGMESSAGE= ${WRKDIR}/pkg-message
+SUB_FILES= pkg-message
+
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} != "i386"
+BROKEN= "Does not compile on !i386"
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e '/extern int ForwardEvent();/d' \
+ ${WRKSRC}/src/Chinput-*/src/*.c
+ @${FIND} ${WRKSRC} -type f | \
+ ${XARGS} ${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},g'
+
+pre-build:
+ @${FIND} ${WRKSRC} -name Makefile | ${XARGS} ${REINPLACE_CMD} \
+ -e 's|-lc_r|${PTHREAD_CFLAGS} ${PTHREAD_LIBS}|; \
+ s|-I/usr/include|-I${LOCALBASE}/include|; \
+ s|-L/usr/lib|-L${LOCALBASE}/lib|; \
+ s|-L/usr/X11R6|-L${LOCALBASE}/lib -L/usr/X11R6|'
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.post.mk>
diff --git a/chinese/chinput3/distinfo b/chinese/chinput3/distinfo
new file mode 100644
index 000000000..95ab98af9
--- /dev/null
+++ b/chinese/chinput3/distinfo
@@ -0,0 +1,3 @@
+MD5 (chinput-3.0.2.5.tar.gz) = dee38df80e6408aca70ee4f367cc988a
+SHA256 (chinput-3.0.2.5.tar.gz) = d5385896b14bea80e951595d7ae65ca117def876f8c738453143a1a3f32968af
+SIZE (chinput-3.0.2.5.tar.gz) = 3012129
diff --git a/chinese/chinput3/files/pkg-message.in b/chinese/chinput3/files/pkg-message.in
new file mode 100644
index 000000000..acc0298d8
--- /dev/null
+++ b/chinese/chinput3/files/pkg-message.in
@@ -0,0 +1,10 @@
+-------------------------------------------------------------------------------
+Please check the following files:
+ %%X11BASE%%/lib/X11/locale/zh_CN/XI18N_OBJS
+If not exist, copy %%X11BASE%%/lib/X11/locale/zh/XI18N_OBJS to it.
+
+Remember to set environment varible XMODIFIERS:
+ csh/tcsh: setenv XMODIFIERS @im=Chinput
+ sh/bash: export XMODIFIERS='@im=Chinput'
+and set LANG, LC_CTYPE to zh_CN.EUC.
+-------------------------------------------------------------------------------
diff --git a/chinese/chinput3/pkg-descr b/chinese/chinput3/pkg-descr
new file mode 100644
index 000000000..38698c4ef
--- /dev/null
+++ b/chinese/chinput3/pkg-descr
@@ -0,0 +1,7 @@
+Ported from Chinput3 on Linux platform .
+
+Chinese GB,BIG5 code input server.
+
+WWW: http://www.opencjk.org/~yumj/
+
+Porting Author: cjaker@263.net
diff --git a/chinese/chinput3/pkg-plist b/chinese/chinput3/pkg-plist
new file mode 100644
index 000000000..780ac2a06
--- /dev/null
+++ b/chinese/chinput3/pkg-plist
@@ -0,0 +1,31 @@
+bin/chinput
+bin/kpengine
+bin/zwincontrol
+lib/Chinput/Chinput.ad
+lib/Chinput/hzbig5.dat
+lib/Chinput/hzgb.dat
+lib/Chinput/im/libimm_server.so
+lib/Chinput/im/libimmclient.a
+lib/Chinput/im/cce_pinyin.so
+lib/Chinput/im/cce_hzinput.so
+lib/Chinput/im/TL_hzinput.so
+lib/Chinput/im/sys-gb.tab
+lib/Chinput/im/sys-big5.tab
+lib/Chinput/im/bin/cin2tab
+lib/Chinput/im/bin/txt2tab
+lib/Chinput/im/bin/tab2txt
+lib/Chinput/im/cce/pinyin.map
+lib/Chinput/im/cce/sysphrase.tab
+lib/Chinput/im/cce/usrphrase.tab
+lib/Chinput/im/gb/sp.tab
+lib/Chinput/im/gb/WuBi.tab
+lib/Chinput/im/gb/CCDOSPY.tab
+lib/Chinput/im/gbk/gbkpy_mb.tab
+lib/Chinput/im/tl_sysphrase.gb.bin
+share/locale/zh_CN/LC_MESSAGES/zwincontrol.mo
+@dirrm lib/Chinput/im/gbk
+@dirrm lib/Chinput/im/gb
+@dirrm lib/Chinput/im/cce
+@dirrm lib/Chinput/im/bin
+@dirrm lib/Chinput/im
+@dirrm lib/Chinput
diff --git a/games/xteddy/Makefile b/games/xteddy/Makefile
new file mode 100644
index 000000000..06d222a89
--- /dev/null
+++ b/games/xteddy/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: xteddy
+# Date created: 3 June 1998
+# Whom: Eckart "Isegrim" Hofmann
+#
+# $FreeBSD$
+# $MCom$
+
+PORTNAME= xteddy
+PORTVERSION= 2.0.2
+PORTREVISION= 2
+CATEGORIES= games
+MASTER_SITES= http://staffwww.itn.liu.se/~stegu/xteddy/
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= A cuddlesome teddy for the X desktop
+
+NO_CDROM= Can only be distributed for free
+
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include" \
+ LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib"
+USE_GNOME= imlib
+
+MAN6= xteddy.6
+
+post-patch:
+.for f in xteddy.c Makefile.in xteddy_test
+ @${REINPLACE_CMD} -e 's,%%DATADIR%%,${DATADIR},g' ${WRKSRC}/${f}
+.endfor
+
+.include <bsd.port.mk>
diff --git a/games/xteddy/distinfo b/games/xteddy/distinfo
new file mode 100644
index 000000000..2acf07c34
--- /dev/null
+++ b/games/xteddy/distinfo
@@ -0,0 +1,3 @@
+MD5 (xteddy-2.0.2.tar.gz) = c197253b5116db5dc4e32b58dd36160e
+SHA256 (xteddy-2.0.2.tar.gz) = 4c137049c94a827c642a11711c101b241c203a97dad5eb6917387a6465078363
+SIZE (xteddy-2.0.2.tar.gz) = 355490
diff --git a/games/xteddy/files/patch-Makefile.in b/games/xteddy/files/patch-Makefile.in
new file mode 100644
index 000000000..5a5eee83f
--- /dev/null
+++ b/games/xteddy/files/patch-Makefile.in
@@ -0,0 +1,11 @@
+--- Makefile.in.orig Mon Aug 2 16:11:08 1999
++++ Makefile.in Mon Nov 14 23:31:25 2005
+@@ -73,7 +73,7 @@
+ man_MANS = xteddy.1
+ bin_SCRIPTS = xtoys xteddy_test
+
+-DEFS = -DPIXMAP_PATH=\"@PIXMAP_PATH@\" -Wall
++DEFS = -DPIXMAP_PATH=\"%%DATADIR%%\" -Wall
+
+ SUBDIRS = html images
+ EXTRA_DIST = $(man_MANS) $(bin_SCRIPTS) README xteddy.README xtuxxy.credit configure autogen.sh
diff --git a/games/xteddy/files/patch-xteddy.c b/games/xteddy/files/patch-xteddy.c
new file mode 100644
index 000000000..eb6be3ed3
--- /dev/null
+++ b/games/xteddy/files/patch-xteddy.c
@@ -0,0 +1,11 @@
+--- xteddy.c.orig Mon Nov 14 23:21:26 2005
++++ xteddy.c Mon Nov 14 23:22:09 2005
+@@ -17,7 +17,7 @@
+ /* Changes: use Imlib instead of libxpm and load *
+ * different image formats */
+
+-#define DEFAULT_IMAGE_DIR "/usr/share/xteddy"
++#define DEFAULT_IMAGE_DIR "%%DATADIR%%"
+
+ #include <X11/Xlib.h>
+ #include <X11/Xutil.h>
diff --git a/games/xteddy/files/patch-xteddy_test b/games/xteddy/files/patch-xteddy_test
new file mode 100644
index 000000000..da245c7c9
--- /dev/null
+++ b/games/xteddy/files/patch-xteddy_test
@@ -0,0 +1,15 @@
+--- xteddy_test.orig Mon Nov 14 23:33:19 2005
++++ xteddy_test Mon Nov 14 23:33:37 2005
+@@ -1,9 +1,9 @@
+ #!/bin/sh
+ i=0
+-if [ -d /usr/share/xteddy ] ; then
+- for img in `ls /usr/share/xteddy` ; do
++if [ -d %%DATADIR%% ] ; then
++ for img in `ls %%DATADIR%%` ; do
+ i=`expr $i + 50`
+- xteddy -F/usr/share/xteddy/$img -geometry +$i+$i &
++ xteddy -F%%DATADIR%%/$img -geometry +$i+$i &
+ done
+ fi
+ if [ -d /usr/local/share/xteddy ] ; then
diff --git a/games/xteddy/pkg-descr b/games/xteddy/pkg-descr
new file mode 100644
index 000000000..a34bf78d5
--- /dev/null
+++ b/games/xteddy/pkg-descr
@@ -0,0 +1,4 @@
+This is _the_ toy for the X desktop, a must for all plush lovers: a very,
+very cuddlesome teddy.
+
+WWW: http://www.itn.liu.se/~stegu/xteddy/
diff --git a/games/xteddy/pkg-plist b/games/xteddy/pkg-plist
new file mode 100644
index 000000000..bb99d12bd
--- /dev/null
+++ b/games/xteddy/pkg-plist
@@ -0,0 +1,16 @@
+bin/xteddy
+bin/xtoys
+bin/xteddy_test
+%%DATADIR%%/teddy.png
+%%DATADIR%%/xteddy.png
+%%DATADIR%%/xpenguin.png
+%%DATADIR%%/xduck.png
+%%DATADIR%%/xtuxxy.png
+%%DATADIR%%/xalex.png
+%%DATADIR%%/xbobo.png
+%%DATADIR%%/xklitze.png
+%%DATADIR%%/xruessel.png
+%%DATADIR%%/xnamu.png
+%%DATADIR%%/xbrummi.png
+%%DATADIR%%/xorca.png
+@dirrm %%DATADIR%%
diff --git a/graphics/imagesort/Makefile b/graphics/imagesort/Makefile
new file mode 100644
index 000000000..957173fdc
--- /dev/null
+++ b/graphics/imagesort/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: imagesort
+# Date created: Apr 10, 2001
+# Whom: Mark Pulford <mark@kyne.com.au>
+#
+# $FreeBSD$
+# $MCom$
+
+PORTNAME= imagesort
+PORTVERSION= 2.0
+PORTREVISION= 4
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_SUNSITE}
+MASTER_SITE_SUBDIR= apps/graphics/viewers/X
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= A flexible X utility for managing many image files
+
+USE_GNOME= imlib
+CFLAGS:= ${CFLAGS} -I${LOCALBASE}/include
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/imagesort ${PREFIX}/bin
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/imagesort
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/imagesort
+ ${INSTALL_DATA} ${WRKSRC}/imagesortrc.sample ${PREFIX}/share/doc/imagesort
+.endif
+
+.include <bsd.port.mk>
diff --git a/graphics/imagesort/distinfo b/graphics/imagesort/distinfo
new file mode 100644
index 000000000..5d414f8ab
--- /dev/null
+++ b/graphics/imagesort/distinfo
@@ -0,0 +1,3 @@
+MD5 (imagesort-2.0.tar.gz) = fcb4aff8239eeb3988064df19c3fc081
+SHA256 (imagesort-2.0.tar.gz) = 40f59fd2c40345dfd5589100c46e5097d042118186d8405fa82509ceb4b8bc18
+SIZE (imagesort-2.0.tar.gz) = 14778
diff --git a/graphics/imagesort/files/patch-Makefile b/graphics/imagesort/files/patch-Makefile
new file mode 100644
index 000000000..559dd89e5
--- /dev/null
+++ b/graphics/imagesort/files/patch-Makefile
@@ -0,0 +1,20 @@
+--- Makefile.orig Tue Apr 10 18:16:03 2001
++++ Makefile Tue Apr 10 18:18:54 2001
+@@ -7,15 +7,14 @@
+
+ # you may need to change this if you lack gcc (in which case you may
+ # not be able to compile at all
+-CC = gcc
+
+ # you'll probably have to dick with the libs, depending on how your imlib
+ # is compiled. We default to including all of the extras supported by
+ # imlib 1.9
+-LIBS = -lX11 -lXext -lImlib -ljpeg -lm -lpng -ltiff -lz -lgif
++LIBS = -lX11 -lXext -lImlib -ljpeg -lm -lpng -ltiff -lz -lungif
+ #LIBS = -lImlib -lX11 -lXext -ljpeg -lgif -lm
+
+-CFLAGS = -g -L$(XDIR)/lib -I$(XDIR)/include
++CFLAGS += -L$(LOCALBASE)/lib -L$(X11BASE)/lib -I$(X11BASE)/include
+
+ all: imagesort.o
+
diff --git a/graphics/imagesort/pkg-descr b/graphics/imagesort/pkg-descr
new file mode 100644
index 000000000..ff0e1c133
--- /dev/null
+++ b/graphics/imagesort/pkg-descr
@@ -0,0 +1,6 @@
+Imagesort is a flexible utility for managing a large number of images.
+Via a configuration file (~/.imagesortrc) various commands are bound
+to keys allowing you to quickly process your images while you flick
+throught them. Documentation can be found in share/doc/imagesort.
+
+WWW: http://sammy.net/~sammy/hacks/
diff --git a/graphics/imagesort/pkg-plist b/graphics/imagesort/pkg-plist
new file mode 100644
index 000000000..5959c5f85
--- /dev/null
+++ b/graphics/imagesort/pkg-plist
@@ -0,0 +1,4 @@
+bin/imagesort
+%%PORTDOCS%%share/doc/imagesort/README
+%%PORTDOCS%%share/doc/imagesort/imagesortrc.sample
+%%PORTDOCS%%@dirrm share/doc/imagesort
diff --git a/graphics/isreal/Makefile b/graphics/isreal/Makefile
new file mode 100644
index 000000000..2b247e6dd
--- /dev/null
+++ b/graphics/isreal/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: isreal
+# Date created: Mar 31, 2001
+# Whom: Mark Pulford <mark@kyne.com.au>
+#
+# $FreeBSD$
+# $MCom$
+
+PORTNAME= isreal
+PORTVERSION= 2.0
+PORTREVISION= 3
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_LOCAL}
+MASTER_SITE_SUBDIR= markp
+EXTRACT_SUFX= .tar
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= An image classification utility
+
+PLIST_FILES= bin/isreal
+USE_XLIB= yes
+USE_GNOME= imlib
+CFLAGS:= ${CFLAGS} -I${LOCALBASE}/include
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/isreal ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/graphics/isreal/distinfo b/graphics/isreal/distinfo
new file mode 100644
index 000000000..18040174e
--- /dev/null
+++ b/graphics/isreal/distinfo
@@ -0,0 +1,3 @@
+MD5 (isreal-2.0.tar) = 6ced43fc94f64909c13ec3373681e483
+SHA256 (isreal-2.0.tar) = dc0a2d73b5f7cb0367c34ebd7498b313f750fb134ea63df0c07b0fad854d2d6b
+SIZE (isreal-2.0.tar) = 40960
diff --git a/graphics/isreal/files/patch-Makefile b/graphics/isreal/files/patch-Makefile
new file mode 100644
index 000000000..0f678134e
--- /dev/null
+++ b/graphics/isreal/files/patch-Makefile
@@ -0,0 +1,22 @@
+--- Makefile.orig Thu Jan 6 08:09:10 2000
++++ Makefile Sat Mar 31 19:46:20 2001
+@@ -3,13 +3,14 @@
+ #
+ LIBS = -L/usr/X11R6/lib -L/usr/local/lib -lX11 -lXext \
+- -ljpeg -lpng -ltiff -lz -lgif -lm -lImlib
+-CFLAGS = -g -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align \
+- -Wwrite-strings -Wconversion -Waggregate-return -Wstrict-prototypes \
+- -Wmissing-prototypes -Wmissing-declarations -Wnested-externs
++ -ljpeg -lpng -ltiff -lz -lungif -lm -lImlib
++
++CFLAGS += -I/usr/X11R6/include
+
+ VERSION=2.0
+
++all: isreal
++
+ isreal: isreal.o
+- $(CC) $^ $(LIBS) -o $@
++ $(CC) isreal.o $(LIBS) -o $@
+
+ clean:
diff --git a/graphics/isreal/files/patch-getopt b/graphics/isreal/files/patch-getopt
new file mode 100644
index 000000000..51eb56d5b
--- /dev/null
+++ b/graphics/isreal/files/patch-getopt
@@ -0,0 +1,11 @@
+--- isreal.c.orig Sat Mar 31 19:06:30 2001
++++ isreal.c Sat Mar 31 19:06:37 2001
+@@ -20,7 +20,7 @@
+ #include <X11/Xutil.h>
+ #include <Imlib.h>
+ #include <math.h>
+-#include <getopt.h>
++#include <unistd.h>
+ #include <errno.h>
+
+ #ifndef FALSE
diff --git a/graphics/isreal/pkg-descr b/graphics/isreal/pkg-descr
new file mode 100644
index 000000000..428b5d8d9
--- /dev/null
+++ b/graphics/isreal/pkg-descr
@@ -0,0 +1,14 @@
+IsReal analyzes image files to guess the type of image contained:
+real, realistic or unreal.
+
+IsReal is distributed under the following license:
+
+Copyright (c) 1999 Alan DeKok <aland@ox.org>
+
+All rights reserved.
+
+Redistribution and use in source and binary forms are permitted
+provided that the above copyright notice and this paragraph are
+duplicated in all such forms and that any documentation, advertising
+materials, and other materials related to such distribution and use,
+acknowledge that the software was developed by Alan DeKok.