summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-07-31 11:36:33 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-07-31 11:36:33 +0800
commitffac773188a6e4b2626962dd0d0a79cd82728285 (patch)
treeba640a96acebad80a7646a881c5b628f6868c693 /graphics
parent8b0fd4cb6cd425ca2add3e6746883bc1d9aa40c4 (diff)
downloadmarcuscom-ports-ffac773188a6e4b2626962dd0d0a79cd82728285.tar.gz
marcuscom-ports-ffac773188a6e4b2626962dd0d0a79cd82728285.tar.zst
marcuscom-ports-ffac773188a6e4b2626962dd0d0a79cd82728285.zip
X11BASE -> LOCALBASE, imlib-config lives in LOCALBASE. Bump the PORTREVISION.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6901 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'graphics')
-rw-r--r--graphics/pixelize/Makefile33
-rw-r--r--graphics/pixelize/distinfo3
-rw-r--r--graphics/pixelize/pkg-descr9
-rw-r--r--graphics/pixelize/pkg-plist2
4 files changed, 47 insertions, 0 deletions
diff --git a/graphics/pixelize/Makefile b/graphics/pixelize/Makefile
new file mode 100644
index 000000000..caf118652
--- /dev/null
+++ b/graphics/pixelize/Makefile
@@ -0,0 +1,33 @@
+# ex:ts=8
+# Ports collection makefile for: pixelize
+# Date created: Oct 20, 2002
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= pixelize
+PORTVERSION= 0.9.2
+PORTREVISION= 3
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_SUNSITE} \
+ ftp://lashwhip.com/pub/ \
+ http://lashwhip.com/pixelize/
+MASTER_SITE_SUBDIR= apps/graphics/misc
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Use many scaled down images to try to duplicate another image
+
+USE_GNOME= gtk12 imlib
+IMLIB_CONFIG= ${LOCALBASE}/bin/imlib-config
+
+post-patch:
+ @${REINPLACE_CMD} -e "s|^CC|#CC|" -e "s|CFLAGS = -g|CFLAGS+= |" \
+ -e "s|gtk-config|${GTK_CONFIG}|g" \
+ -e "s|imlib-config|${IMLIB_CONFIG}|g" ${WRKSRC}/Makefile
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/make_db ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/pixelize ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/graphics/pixelize/distinfo b/graphics/pixelize/distinfo
new file mode 100644
index 000000000..b82eaf5ca
--- /dev/null
+++ b/graphics/pixelize/distinfo
@@ -0,0 +1,3 @@
+MD5 (pixelize-0.9.2.tar.gz) = 8f61c0c604d7418acb3ff0b922a2be9e
+SHA256 (pixelize-0.9.2.tar.gz) = 5a1b0c81b2fae02de9761aea679ff3f5e8f4f1481617e79f929a76353890921d
+SIZE (pixelize-0.9.2.tar.gz) = 31359
diff --git a/graphics/pixelize/pkg-descr b/graphics/pixelize/pkg-descr
new file mode 100644
index 000000000..6f383f4d0
--- /dev/null
+++ b/graphics/pixelize/pkg-descr
@@ -0,0 +1,9 @@
+Pixelize works by splitting up the image you want rendered (or duplicated)
+into a grid of small rectangular areas. Each area is analyzed, and replaced
+with an image chosen from a large database of images. Pixelize tries to pick
+images that best match each area.
+
+Pixelize works best when it can choose images from a very large database of
+images. With about 1000 images, Pixelize can do a reasonable job.
+
+WWW: http://lashwhip.com/pixelize.html
diff --git a/graphics/pixelize/pkg-plist b/graphics/pixelize/pkg-plist
new file mode 100644
index 000000000..6c55f99f8
--- /dev/null
+++ b/graphics/pixelize/pkg-plist
@@ -0,0 +1,2 @@
+bin/make_db
+bin/pixelize