aboutsummaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-07-12 20:23:21 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-07-12 20:23:21 +0000
commitb52c47970c2d271af7cee2361f1d510ca854368a (patch)
tree8a1d887177021ed94df6fd7d4185f9014fb847d0 /x11-wm
parent34656cb9179a991d37b606afbd55fa4e45fee839 (diff)
downloadports-b52c47970c2d271af7cee2361f1d510ca854368a.tar.gz
ports-b52c47970c2d271af7cee2361f1d510ca854368a.zip
Notes
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/e17-module-weather/Makefile4
-rw-r--r--x11-wm/e17-module-weather/files/patch-configure11
-rw-r--r--x11-wm/e17-module-weather/pkg-plist7
3 files changed, 7 insertions, 15 deletions
diff --git a/x11-wm/e17-module-weather/Makefile b/x11-wm/e17-module-weather/Makefile
index f53f241b95a5..8d4ccdd37b55 100644
--- a/x11-wm/e17-module-weather/Makefile
+++ b/x11-wm/e17-module-weather/Makefile
@@ -7,7 +7,7 @@
PORTNAME= weather
PORTVERSION= 23062006
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11
MASTER_SITES= http://mbsd.msk.ru/dist/
PKGNAMEPREFIX= e17-module-
@@ -26,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}
+
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
diff --git a/x11-wm/e17-module-weather/files/patch-configure b/x11-wm/e17-module-weather/files/patch-configure
deleted file mode 100644
index f4922f2a5aa5..000000000000
--- a/x11-wm/e17-module-weather/files/patch-configure
+++ /dev/null
@@ -1,11 +0,0 @@
---- configure.orig Fri Jun 23 17:10:30 2006
-+++ configure Fri Jun 23 17:10:42 2006
-@@ -23390,7 +23390,7 @@
-
-
-
--MODULE_ARCH="$host_os-$host_cpu"
-+MODULE_ARCH=""
-
-
- cat >>confdefs.h <<_ACEOF
diff --git a/x11-wm/e17-module-weather/pkg-plist b/x11-wm/e17-module-weather/pkg-plist
index 8447bc33a25d..66c078bb5d6f 100644
--- a/x11-wm/e17-module-weather/pkg-plist
+++ b/x11-wm/e17-module-weather/pkg-plist
@@ -61,10 +61,10 @@ lib/enlightenment/modules/weather/images/unknown.png
lib/enlightenment/modules/weather/images/wind.png
lib/enlightenment/modules/weather/images/wswarning.png
lib/enlightenment/modules/weather/images/wswatch.png
-lib/enlightenment/modules/weather/module.a
+lib/enlightenment/modules/weather/%%MODULE_ARCH%%/module.a
lib/enlightenment/modules/weather/module.eap
-lib/enlightenment/modules/weather/module.la
-lib/enlightenment/modules/weather/module.so
+lib/enlightenment/modules/weather/%%MODULE_ARCH%%/module.la
+lib/enlightenment/modules/weather/%%MODULE_ARCH%%/module.so
lib/enlightenment/modules/weather/module_icon.png
lib/enlightenment/modules/weather/vera.ttf
lib/enlightenment/modules/weather/weather.edc
@@ -73,4 +73,5 @@ lib/enlightenment/modules/weather/weather.edj
%%NLS%%share/locale/it/LC_MESSAGES/weather.mo
%%NLS%%share/locale/ja/LC_MESSAGES/weather.mo
@dirrm lib/enlightenment/modules/weather/images
+@dirrm lib/enlightenment/modules/weather/%%MODULE_ARCH%%
@dirrm lib/enlightenment/modules/weather