diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-04-28 13:22:16 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-04-28 13:22:16 +0800 |
commit | a990b26f5c6a36111b6b26213419b6084a066e5d (patch) | |
tree | c483d3f397684b7b77f1b7f75a7448f3b1eea9a2 | |
parent | 3d337eba843469908ab7a970981e6e4bd1ff5a5c (diff) | |
download | marcuscom-ports-a990b26f5c6a36111b6b26213419b6084a066e5d.tar marcuscom-ports-a990b26f5c6a36111b6b26213419b6084a066e5d.tar.gz marcuscom-ports-a990b26f5c6a36111b6b26213419b6084a066e5d.tar.bz2 marcuscom-ports-a990b26f5c6a36111b6b26213419b6084a066e5d.tar.lz marcuscom-ports-a990b26f5c6a36111b6b26213419b6084a066e5d.tar.xz marcuscom-ports-a990b26f5c6a36111b6b26213419b6084a066e5d.tar.zst marcuscom-ports-a990b26f5c6a36111b6b26213419b6084a066e5d.zip |
share/gnome -> share
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8656 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r-- | deskutils/alacarte/Makefile | 40 | ||||
-rw-r--r-- | deskutils/alacarte/distinfo | 3 | ||||
-rw-r--r-- | deskutils/alacarte/files/patch-Alacarte_util.py | 29 | ||||
-rw-r--r-- | deskutils/alacarte/pkg-descr | 6 | ||||
-rw-r--r-- | deskutils/alacarte/pkg-plist | 132 |
5 files changed, 210 insertions, 0 deletions
diff --git a/deskutils/alacarte/Makefile b/deskutils/alacarte/Makefile new file mode 100644 index 000000000..e72de0b65 --- /dev/null +++ b/deskutils/alacarte/Makefile @@ -0,0 +1,40 @@ +# New ports collection makefile for: menueditor +# Date created: 22 March 2005 +# Whom: FreeBSD GNOME Team +# +# $FreeBSD$ +# $MCom: ports/deskutils/alacarte/Makefile,v 1.14 2007/02/13 06:29:20 mezz Exp $ +# + +PORTNAME= alacarte +PORTVERSION= 0.11.3 +PORTREVISION= 1 +CATEGORIES= deskutils gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= An editor for the freedesktop.org menu specification + +USE_BZIP2= yes +USE_GNOME= gnomehack gnomeprefix pygnomedesktop intlhack +USE_GMAKE= yes +USE_GETTEXT= yes +USE_PYTHON= yes +INSTALLS_ICONS= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" \ + GMSGFMT="${LOCALBASE}/bin/msgfmt" + +post-patch: + @${REINPLACE_CMD} -e 's|applications.menu|gnome-applications.menu|' \ + ${WRKSRC}/Alacarte/MenuEditor.py + @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ + ${WRKSRC}/Alacarte/util.py + @${REINPLACE_CMD} -e 's|gmsgfmt|msgfmt|g ; \ + s|python2.4|${PYTHON_VERSION}|g' \ + ${WRKSRC}/configure + +.include <bsd.port.mk> diff --git a/deskutils/alacarte/distinfo b/deskutils/alacarte/distinfo new file mode 100644 index 000000000..35a5ad076 --- /dev/null +++ b/deskutils/alacarte/distinfo @@ -0,0 +1,3 @@ +MD5 (gnome2/alacarte-0.11.3.tar.bz2) = 5ca9f07e839f64b7fcefc84cfb05aa17 +SHA256 (gnome2/alacarte-0.11.3.tar.bz2) = 9983e56cd43ee97e6f294145ea4420f7a8aa3f76284928f16e590b7d9b5039c0 +SIZE (gnome2/alacarte-0.11.3.tar.bz2) = 217547 diff --git a/deskutils/alacarte/files/patch-Alacarte_util.py b/deskutils/alacarte/files/patch-Alacarte_util.py new file mode 100644 index 000000000..fa7e2d800 --- /dev/null +++ b/deskutils/alacarte/files/patch-Alacarte_util.py @@ -0,0 +1,29 @@ +--- Alacarte/util.py.orig Tue Oct 3 15:11:10 2006 ++++ Alacarte/util.py Tue Oct 3 15:12:35 2006 +@@ -141,7 +141,7 @@ + file_path = os.path.join(system_path, 'applications', file_id) + if os.path.isfile(file_path): + return file_path +- file_path = os.path.join('/', 'usr', 'share', 'applications', file_id) ++ file_path = os.path.join('/', '/usr/local', 'share', 'applications', file_id) + if os.path.isfile(file_path): + return file_path + return False +@@ -166,7 +166,7 @@ + file_path = os.path.join(system_path, 'desktop-directories', file_id) + if os.path.isfile(file_path): + return file_path +- file_path = os.path.join('/', 'usr', 'share', 'desktop-directories', file_id) ++ file_path = os.path.join('/', '/usr/local', 'share', 'desktop-directories', file_id) + if os.path.isfile(file_path): + return file_path + return False +@@ -187,7 +187,7 @@ + file_path = os.path.join(system_path, 'menus', file_name) + if os.path.isfile(file_path): + return file_path +- file_path = os.path.join('/', 'etc', 'xdg', 'menus', file_name) ++ file_path = os.path.join('/', '/usr/local', 'etc', 'xdg', 'menus', file_name) + if os.path.isfile(file_path): + return file_path + return False diff --git a/deskutils/alacarte/pkg-descr b/deskutils/alacarte/pkg-descr new file mode 100644 index 000000000..da883f8ed --- /dev/null +++ b/deskutils/alacarte/pkg-descr @@ -0,0 +1,6 @@ +Alacarte is a simple freedesktop.org compliant menu editor +for GNOME that lets you change your menus, simply and +quickly. Just click and type to edit, add, and delete any +menu entry. + +WWW: http://www.realistanew.com/projects/alacarte/ diff --git a/deskutils/alacarte/pkg-plist b/deskutils/alacarte/pkg-plist new file mode 100644 index 000000000..8cd08f022 --- /dev/null +++ b/deskutils/alacarte/pkg-plist @@ -0,0 +1,132 @@ +bin/alacarte +%%PYTHON_SITELIBDIR%%/Alacarte/MainWindow.py +%%PYTHON_SITELIBDIR%%/Alacarte/MainWindow.pyc +%%PYTHON_SITELIBDIR%%/Alacarte/MainWindow.pyo +%%PYTHON_SITELIBDIR%%/Alacarte/MenuEditor.py +%%PYTHON_SITELIBDIR%%/Alacarte/MenuEditor.pyc +%%PYTHON_SITELIBDIR%%/Alacarte/MenuEditor.pyo +%%PYTHON_SITELIBDIR%%/Alacarte/__init__.py +%%PYTHON_SITELIBDIR%%/Alacarte/__init__.pyc +%%PYTHON_SITELIBDIR%%/Alacarte/__init__.pyo +%%PYTHON_SITELIBDIR%%/Alacarte/config.py +%%PYTHON_SITELIBDIR%%/Alacarte/config.pyc +%%PYTHON_SITELIBDIR%%/Alacarte/config.pyo +%%PYTHON_SITELIBDIR%%/Alacarte/util.py +%%PYTHON_SITELIBDIR%%/Alacarte/util.pyc +%%PYTHON_SITELIBDIR%%/Alacarte/util.pyo +share/alacarte/alacarte.glade +share/alacarte/logo.svg +share/applications/alacarte.desktop +share/icons/hicolor/22x22/apps/alacarte.png +share/icons/hicolor/scalable/apps/alacarte.svg +share/locale/ar/LC_MESSAGES/alacarte.mo +share/locale/as/LC_MESSAGES/alacarte.mo +share/locale/be/LC_MESSAGES/alacarte.mo +share/locale/bg/LC_MESSAGES/alacarte.mo +share/locale/bn/LC_MESSAGES/alacarte.mo +share/locale/bn_IN/LC_MESSAGES/alacarte.mo +share/locale/ca/LC_MESSAGES/alacarte.mo +share/locale/cs/LC_MESSAGES/alacarte.mo +share/locale/da/LC_MESSAGES/alacarte.mo +share/locale/de/LC_MESSAGES/alacarte.mo +share/locale/dz/LC_MESSAGES/alacarte.mo +share/locale/el/LC_MESSAGES/alacarte.mo +share/locale/en_CA/LC_MESSAGES/alacarte.mo +share/locale/en_GB/LC_MESSAGES/alacarte.mo +share/locale/eo/LC_MESSAGES/alacarte.mo +share/locale/es/LC_MESSAGES/alacarte.mo +share/locale/et/LC_MESSAGES/alacarte.mo +share/locale/eu/LC_MESSAGES/alacarte.mo +share/locale/fa/LC_MESSAGES/alacarte.mo +share/locale/fi/LC_MESSAGES/alacarte.mo +share/locale/fr/LC_MESSAGES/alacarte.mo +share/locale/gl/LC_MESSAGES/alacarte.mo +share/locale/gu/LC_MESSAGES/alacarte.mo +share/locale/hi/LC_MESSAGES/alacarte.mo +share/locale/hu/LC_MESSAGES/alacarte.mo +share/locale/it/LC_MESSAGES/alacarte.mo +share/locale/ja/LC_MESSAGES/alacarte.mo +share/locale/ka/LC_MESSAGES/alacarte.mo +share/locale/ko/LC_MESSAGES/alacarte.mo +share/locale/ku/LC_MESSAGES/alacarte.mo +share/locale/lt/LC_MESSAGES/alacarte.mo +share/locale/lv/LC_MESSAGES/alacarte.mo +share/locale/mg/LC_MESSAGES/alacarte.mo +share/locale/mk/LC_MESSAGES/alacarte.mo +share/locale/ml/LC_MESSAGES/alacarte.mo +share/locale/mn/LC_MESSAGES/alacarte.mo +share/locale/mr/LC_MESSAGES/alacarte.mo +share/locale/nb/LC_MESSAGES/alacarte.mo +share/locale/nl/LC_MESSAGES/alacarte.mo +share/locale/or/LC_MESSAGES/alacarte.mo +share/locale/pa/LC_MESSAGES/alacarte.mo +share/locale/pl/LC_MESSAGES/alacarte.mo +share/locale/pt/LC_MESSAGES/alacarte.mo +share/locale/pt_BR/LC_MESSAGES/alacarte.mo +share/locale/ro/LC_MESSAGES/alacarte.mo +share/locale/ru/LC_MESSAGES/alacarte.mo +share/locale/si/LC_MESSAGES/alacarte.mo +share/locale/sl/LC_MESSAGES/alacarte.mo +share/locale/sq/LC_MESSAGES/alacarte.mo +share/locale/sr/LC_MESSAGES/alacarte.mo +share/locale/sr@Latn/LC_MESSAGES/alacarte.mo +share/locale/sv/LC_MESSAGES/alacarte.mo +share/locale/ta/LC_MESSAGES/alacarte.mo +share/locale/te/LC_MESSAGES/alacarte.mo +share/locale/th/LC_MESSAGES/alacarte.mo +share/locale/tr/LC_MESSAGES/alacarte.mo +share/locale/uk/LC_MESSAGES/alacarte.mo +share/locale/vi/LC_MESSAGES/alacarte.mo +share/locale/zh_CN/LC_MESSAGES/alacarte.mo +share/locale/zh_HK/LC_MESSAGES/alacarte.mo +share/locale/zh_TW/LC_MESSAGES/alacarte.mo +@dirrmtry share/locale/zh_TW/LC_MESSAGES +@dirrmtry share/locale/zh_TW +@dirrmtry share/locale/zh_HK/LC_MESSAGES +@dirrmtry share/locale/zh_HK +@dirrmtry share/locale/zh_CN/LC_MESSAGES +@dirrmtry share/locale/zh_CN +@dirrmtry share/locale/uk/LC_MESSAGES +@dirrmtry share/locale/uk +@dirrmtry share/locale/te/LC_MESSAGES +@dirrmtry share/locale/te +@dirrmtry share/locale/sr/LC_MESSAGES +@dirrmtry share/locale/sr +@dirrmtry share/locale/sl/LC_MESSAGES +@dirrmtry share/locale/sl +@dirrmtry share/locale/si/LC_MESSAGES +@dirrmtry share/locale/si +@dirrmtry share/locale/ro/LC_MESSAGES +@dirrmtry share/locale/ro +@dirrmtry share/locale/pt/LC_MESSAGES +@dirrmtry share/locale/pt +@dirrmtry share/locale/pl/LC_MESSAGES +@dirrmtry share/locale/pl +@dirrmtry share/locale/mr/LC_MESSAGES +@dirrmtry share/locale/mr +@dirrmtry share/locale/mg/LC_MESSAGES +@dirrmtry share/locale/mg +@dirrmtry share/locale/ku/LC_MESSAGES +@dirrmtry share/locale/ku +@dirrmtry share/locale/ko/LC_MESSAGES +@dirrmtry share/locale/ko +@dirrmtry share/locale/gl/LC_MESSAGES +@dirrmtry share/locale/gl +@dirrmtry share/locale/fi/LC_MESSAGES +@dirrmtry share/locale/fi +@dirrmtry share/locale/el/LC_MESSAGES +@dirrmtry share/locale/el +@dirrmtry share/locale/dz/LC_MESSAGES +@dirrmtry share/locale/dz +@dirrmtry share/locale/cs/LC_MESSAGES +@dirrmtry share/locale/cs +@dirrmtry share/locale/ca/LC_MESSAGES +@dirrmtry share/locale/ca +@dirrmtry share/locale/bn_IN/LC_MESSAGES +@dirrmtry share/locale/bn_IN +@dirrmtry share/locale/be/LC_MESSAGES +@dirrmtry share/locale/be +@dirrmtry share/locale/as/LC_MESSAGES +@dirrmtry share/locale/as +@dirrm share/alacarte +@dirrm %%PYTHON_SITELIBDIR%%/Alacarte |