diff options
author | itetcu <itetcu@FreeBSD.org> | 2006-07-11 04:22:28 +0800 |
---|---|---|
committer | itetcu <itetcu@FreeBSD.org> | 2006-07-11 04:22:28 +0800 |
commit | 79b0f7a6d377ad4860e10ba905d9bd7de7d9a726 (patch) | |
tree | 3b0a13b9741600f572f0822955e2a0e7cfe7ffe4 /x11 | |
parent | 97b6dd72b1da3ec95dd1c134ce4c60b1cf5390e6 (diff) | |
download | freebsd-ports-gnome-79b0f7a6d377ad4860e10ba905d9bd7de7d9a726.tar.gz freebsd-ports-gnome-79b0f7a6d377ad4860e10ba905d9bd7de7d9a726.tar.zst freebsd-ports-gnome-79b0f7a6d377ad4860e10ba905d9bd7de7d9a726.zip |
This e17 module allows users to take screenshots. It provides customized
delays, directory and file names, image dithering, thumbnails preparing
and various effects via external programs.
Author: Christopher Michael <devilhorns@comcast.net>
WWW: http://www.enlightenment.org
PR: ports/100004
Submitted by: Stanislav Sedov <ssedov at mbsd.msk.ru>
Diffstat (limited to 'x11')
-rw-r--r-- | x11/Makefile | 1 | ||||
-rw-r--r-- | x11/e17-module-screenshot/Makefile | 49 | ||||
-rw-r--r-- | x11/e17-module-screenshot/distinfo | 3 | ||||
-rw-r--r-- | x11/e17-module-screenshot/files/patch-configure | 11 | ||||
-rw-r--r-- | x11/e17-module-screenshot/pkg-descr | 6 | ||||
-rw-r--r-- | x11/e17-module-screenshot/pkg-plist | 17 |
6 files changed, 87 insertions, 0 deletions
diff --git a/x11/Makefile b/x11/Makefile index 8f21e95c3ac6..148e729cce56 100644 --- a/x11/Makefile +++ b/x11/Makefile @@ -47,6 +47,7 @@ SUBDIR += e17-module-mem SUBDIR += e17-module-moon SUBDIR += e17-module-rain + SUBDIR += e17-module-screenshot SUBDIR += e17-module-slideshow SUBDIR += e17-module-snow SUBDIR += e17-module-uptime diff --git a/x11/e17-module-screenshot/Makefile b/x11/e17-module-screenshot/Makefile new file mode 100644 index 000000000000..06aaaf0fa41c --- /dev/null +++ b/x11/e17-module-screenshot/Makefile @@ -0,0 +1,49 @@ +# New ports collection makefile for: e17-module-uptime +# Date created: 23 June 2006 +# Whom: Stanislav Sedov <ssedov@mbsd.msk.ru> +# +# $FreeBSD$ +# + +PORTNAME= screenshot +PORTVERSION= 20060707 +CATEGORIES= x11 +MASTER_SITES= http://mbsd.msk.ru/dist/ +PKGNAMEPREFIX= e17-module- +DISTNAME= ${PORTNAME}-${PORTVERSION} + +MAINTAINER= ssedov@mbsd.msk.ru +COMMENT= An e17 module which allows users to take screenshots + +BUILD_DEPENDS= enlightenment:${PORTSDIR}/x11-wm/enlightenment-devel +RUN_DEPENDS= ${BUILD_DEPENDS} + +USE_BZIP2= yes +USE_X_PREFIX= yes +USE_GMAKE= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" + +OPTIONS= IMAGIC "Use ImageMagick" on \ + SCROT "Use Scrot" off + +.include <bsd.port.pre.mk> + +.if !defined(WITHOUT_IMAGIC) +RUN_DEPENDS+= import:${PORTSDIR}/graphics/ImageMagick +.endif + +.if defined(WITH_SCROT) +RUN_DEPENDS+= scrot:${PORTSDIR}/graphics/scrot +.endif + +.if !defined(WITHOUT_NLS) +USE_GETTEXT= yes +PLIST_SUB+= NLS="" +.else +CONFIGURE_ARGS= --disable-nls +PLIST_SUB+= NLS="@comment " +.endif + +.include <bsd.port.post.mk> diff --git a/x11/e17-module-screenshot/distinfo b/x11/e17-module-screenshot/distinfo new file mode 100644 index 000000000000..0836f4795b07 --- /dev/null +++ b/x11/e17-module-screenshot/distinfo @@ -0,0 +1,3 @@ +MD5 (screenshot-20060707.tar.bz2) = 9171aaf311bcf74762f42c6317045813 +SHA256 (screenshot-20060707.tar.bz2) = 3c1dbfb464e4f440b2d9dc43387563e22cf2a20f94ded7f56930470ddce13bd8 +SIZE (screenshot-20060707.tar.bz2) = 364926 diff --git a/x11/e17-module-screenshot/files/patch-configure b/x11/e17-module-screenshot/files/patch-configure new file mode 100644 index 000000000000..bc913371e95e --- /dev/null +++ b/x11/e17-module-screenshot/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig Fri Jun 23 16:14:40 2006 ++++ configure Fri Jun 23 16:14:53 2006 +@@ -21497,7 +21497,7 @@ + + + +-MODULE_ARCH="$host_os-$host_cpu" ++MODULE_ARCH="" + + + cat >>confdefs.h <<_ACEOF diff --git a/x11/e17-module-screenshot/pkg-descr b/x11/e17-module-screenshot/pkg-descr new file mode 100644 index 000000000000..bd1038d2288f --- /dev/null +++ b/x11/e17-module-screenshot/pkg-descr @@ -0,0 +1,6 @@ +This e17 module allows users to take screenshots. It provides customized +delays, directory and file names, image dithering, thumbnails preparing +and various effects via external programs. + +Author: Christopher Michael <devilhorns@comcast.net> +WWW: http://www.enlightenment.org diff --git a/x11/e17-module-screenshot/pkg-plist b/x11/e17-module-screenshot/pkg-plist new file mode 100644 index 000000000000..ce36c62f6c43 --- /dev/null +++ b/x11/e17-module-screenshot/pkg-plist @@ -0,0 +1,17 @@ +lib/enlightenment/modules/screenshot/screenshot.edj +lib/enlightenment/modules/screenshot/e17_titlebar_glint1.png +lib/enlightenment/modules/screenshot/e17_titlebar_glint2.png +lib/enlightenment/modules/screenshot/e17_titlebar_glint3.png +lib/enlightenment/modules/screenshot/module.a +lib/enlightenment/modules/screenshot/module.eap +lib/enlightenment/modules/screenshot/module.la +lib/enlightenment/modules/screenshot/module.so +lib/enlightenment/modules/screenshot/module_icon.png +%%NLS%%share/locale/eo/LC_MESSAGES/screenshot.mo +%%NLS%%share/locale/fi/LC_MESSAGES/screenshot.mo +%%NLS%%share/locale/fr/LC_MESSAGES/screenshot.mo +%%NLS%%share/locale/it/LC_MESSAGES/screenshot.mo +%%NLS%%share/locale/ja/LC_MESSAGES/screenshot.mo +%%NLS%%share/locale/ru/LC_MESSAGES/screenshot.mo +%%NLS%%share/locale/sv/LC_MESSAGES/screenshot.mo +@dirrm lib/enlightenment/modules/screenshot |