summaryrefslogtreecommitdiff
path: root/x11/e17-module-uptime
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-07-12 20:23:06 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-07-12 20:23:06 +0000
commit34656cb9179a991d37b606afbd55fa4e45fee839 (patch)
treeed2372412a21467a5aa32a066916a4189b4b0499 /x11/e17-module-uptime
parentIn coordination with enlightenment-devel maintainer MODULE_ARCH was changed to (diff)
In coordination with enlightenment-devel maintainer MODULE_ARCH was changed to
freebsd${OSREL}-${ARCH}. Appropriate patches for evas and enlightenment-devel have been commited. Track this. PR: ports/100122 Submited by: maintainer
Diffstat (limited to 'x11/e17-module-uptime')
-rw-r--r--x11/e17-module-uptime/Makefile3
-rw-r--r--x11/e17-module-uptime/files/patch-configure11
-rw-r--r--x11/e17-module-uptime/pkg-plist7
3 files changed, 7 insertions, 14 deletions
diff --git a/x11/e17-module-uptime/Makefile b/x11/e17-module-uptime/Makefile
index 36d5f8af1395..2b279b4a2bd2 100644
--- a/x11/e17-module-uptime/Makefile
+++ b/x11/e17-module-uptime/Makefile
@@ -7,6 +7,7 @@
PORTNAME= uptime
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}
+
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
diff --git a/x11/e17-module-uptime/files/patch-configure b/x11/e17-module-uptime/files/patch-configure
deleted file mode 100644
index 23658b3b18eb..000000000000
--- a/x11/e17-module-uptime/files/patch-configure
+++ /dev/null
@@ -1,11 +0,0 @@
---- configure.orig Fri Jun 23 17:14:42 2006
-+++ configure Fri Jun 23 17:14:53 2006
-@@ -23390,7 +23390,7 @@
-
-
-
--MODULE_ARCH="$host_os-$host_cpu"
-+MODULE_ARCH=""
-
-
- cat >>confdefs.h <<_ACEOF
diff --git a/x11/e17-module-uptime/pkg-plist b/x11/e17-module-uptime/pkg-plist
index 9e5d90c0caf8..9ba376e9e8dd 100644
--- a/x11/e17-module-uptime/pkg-plist
+++ b/x11/e17-module-uptime/pkg-plist
@@ -1,7 +1,7 @@
-lib/enlightenment/modules/uptime/module.a
+lib/enlightenment/modules/uptime/%%MODULE_ARCH%%/module.a
lib/enlightenment/modules/uptime/module.eap
-lib/enlightenment/modules/uptime/module.la
-lib/enlightenment/modules/uptime/module.so
+lib/enlightenment/modules/uptime/%%MODULE_ARCH%%/module.la
+lib/enlightenment/modules/uptime/%%MODULE_ARCH%%/module.so
lib/enlightenment/modules/uptime/uptime.edj
%%NLS%%share/locale/bg/LC_MESSAGES/uptime.mo
%%NLS%%share/locale/eo/LC_MESSAGES/uptime.mo
@@ -9,4 +9,5 @@ lib/enlightenment/modules/uptime/uptime.edj
%%NLS%%share/locale/it/LC_MESSAGES/uptime.mo
%%NLS%%share/locale/ja/LC_MESSAGES/uptime.mo
%%NLS%%share/locale/sv/LC_MESSAGES/uptime.mo
+@dirrm lib/enlightenment/modules/uptime/%%MODULE_ARCH%%
@dirrm lib/enlightenment/modules/uptime