aboutsummaryrefslogtreecommitdiff
path: root/x11/e17-module-screenshot
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-07-12 20:21:55 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-07-12 20:21:55 +0000
commit4124ae21429c0df41201601d59a80a67222b8a3d (patch)
tree1ea854183f9de293b7a1f6d1cdfa39aa1e3b465b /x11/e17-module-screenshot
parent326adae18f007381c88ca4bac4fb4a69bcb3364c (diff)
downloadports-4124ae21429c0df41201601d59a80a67222b8a3d.tar.gz
ports-4124ae21429c0df41201601d59a80a67222b8a3d.zip
Notes
Diffstat (limited to 'x11/e17-module-screenshot')
-rw-r--r--x11/e17-module-screenshot/Makefile3
-rw-r--r--x11/e17-module-screenshot/files/patch-configure11
-rw-r--r--x11/e17-module-screenshot/pkg-plist7
3 files changed, 7 insertions, 14 deletions
diff --git a/x11/e17-module-screenshot/Makefile b/x11/e17-module-screenshot/Makefile
index 06aaaf0fa41c..aaddd8aacd42 100644
--- a/x11/e17-module-screenshot/Makefile
+++ b/x11/e17-module-screenshot/Makefile
@@ -7,6 +7,7 @@
PORTNAME= screenshot
PORTVERSION= 20060707
+PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= http://mbsd.msk.ru/dist/
PKGNAMEPREFIX= e17-module-
@@ -25,6 +26,8 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
+PLIST_SUB+= MODULE_ARCH=freebsd${OSREL}-${ARCH}
+
OPTIONS= IMAGIC "Use ImageMagick" on \
SCROT "Use Scrot" off
diff --git a/x11/e17-module-screenshot/files/patch-configure b/x11/e17-module-screenshot/files/patch-configure
deleted file mode 100644
index bc913371e95e..000000000000
--- a/x11/e17-module-screenshot/files/patch-configure
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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-plist b/x11/e17-module-screenshot/pkg-plist
index ce36c62f6c43..5cdca64316e5 100644
--- a/x11/e17-module-screenshot/pkg-plist
+++ b/x11/e17-module-screenshot/pkg-plist
@@ -2,10 +2,10 @@ 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_ARCH%%/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_ARCH%%/module.la
+lib/enlightenment/modules/screenshot/%%MODULE_ARCH%%/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
@@ -14,4 +14,5 @@ lib/enlightenment/modules/screenshot/module_icon.png
%%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/%%MODULE_ARCH%%
@dirrm lib/enlightenment/modules/screenshot