- update alacarte 0.11.6

- specify license version
- use SUBST_CMD

feedback and ok ajacoutot@
This commit is contained in:
jasper 2008-11-21 16:56:44 +00:00
parent 409c321e08
commit f2744f75b6
4 changed files with 26 additions and 19 deletions

View File

@ -1,13 +1,12 @@
# $OpenBSD: Makefile,v 1.7 2008/10/01 19:30:03 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.8 2008/11/21 16:56:44 jasper Exp $
COMMENT= easy GNOME menu editing tool
GNOME_PROJECT= alacarte
GNOME_VERSION= 0.11.4
PKGNAME= ${DISTNAME}p1
GNOME_VERSION= 0.11.6
CATEGORIES= x11
# LGPL
# LGPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
@ -27,14 +26,12 @@ RUN_DEPENDS= ::devel/gettext \
USE_X11= Yes
DESKTOP_FILES= Yes
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
PYTHON="${MODPY_BIN}"
pre-configure:
perl -pi -e 's,!!LOCALBASE!!,${LOCALBASE},g; \
s,!!SYSCONFDIR!!,${SYSCONFDIR},g' ${WRKSRC}/Alacarte/util.py
${SUBST_CMD} ${WRKSRC}/Alacarte/util.py
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
MD5 (gnome/alacarte-0.11.4.tar.bz2) = EfaI6P9eAAHBF8P0GBE57g==
RMD160 (gnome/alacarte-0.11.4.tar.bz2) = bBJBp+Rj9QmBNp4yJorKI2MGRCA=
SHA1 (gnome/alacarte-0.11.4.tar.bz2) = mqIpTdfSQp4c06xmYIsRwQKm1+M=
SHA256 (gnome/alacarte-0.11.4.tar.bz2) = Mjg1giHE6MQ2tzG/xnxvJ0FXjt2yisa4aiDRVZ/YT5k=
SIZE (gnome/alacarte-0.11.4.tar.bz2) = 204278
MD5 (gnome/alacarte-0.11.6.tar.bz2) = 3mU19yioAAeVdTYjxG6DeA==
RMD160 (gnome/alacarte-0.11.6.tar.bz2) = Goh8fm86wqYdMq/GrfpL44xSqIk=
SHA1 (gnome/alacarte-0.11.6.tar.bz2) = jlcLlSy6GxPM4PjcAFA2pI6Olvg=
SHA256 (gnome/alacarte-0.11.6.tar.bz2) = fKVqn5/B5XNU1BcDSdI+TbV9NRsXuR9WKeBwkoS0mqM=
SIZE (gnome/alacarte-0.11.6.tar.bz2) = 177406

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-Alacarte_util_py,v 1.1.1.1 2007/11/10 16:23:55 jasper Exp $
$OpenBSD: patch-Alacarte_util_py,v 1.2 2008/11/21 16:56:44 jasper Exp $
--- Alacarte/util.py.orig Tue Oct 3 01:48:07 2006
+++ Alacarte/util.py Mon May 7 21:12:13 2007
@@ -141,7 +141,7 @@ def getItemPath(file_id):
@ -6,7 +6,7 @@ $OpenBSD: patch-Alacarte_util_py,v 1.1.1.1 2007/11/10 16:23:55 jasper Exp $
if os.path.isfile(file_path):
return file_path
- file_path = os.path.join('/', 'usr', 'share', 'applications', file_id)
+ file_path = os.path.join('/', '!!LOCALBASE!!', 'share', 'gnome', 'applications', file_id)
+ file_path = os.path.join('/', '${LOCALBASE}', 'share', 'gnome', 'applications', file_id)
if os.path.isfile(file_path):
return file_path
return False
@ -15,7 +15,7 @@ $OpenBSD: patch-Alacarte_util_py,v 1.1.1.1 2007/11/10 16:23:55 jasper Exp $
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('/', '!!LOCALBASE!!', 'share', 'gnome', 'desktop-directories', file_id)
+ file_path = os.path.join('/', '${LOCALBASE}', 'share', 'gnome', 'desktop-directories', file_id)
if os.path.isfile(file_path):
return file_path
return False

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.3 2008/04/17 08:46:48 ajacoutot Exp $
@comment $OpenBSD: PLIST,v 1.4 2008/11/21 16:56:44 jasper Exp $
bin/alacarte
lib/python${MODPY_VERSION}/site-packages/Alacarte/
lib/python${MODPY_VERSION}/site-packages/Alacarte/MainWindow.py
@ -18,10 +18,15 @@ lib/python${MODPY_VERSION}/site-packages/Alacarte/util.pyc
lib/python${MODPY_VERSION}/site-packages/Alacarte/util.pyo
share/alacarte/
share/alacarte/alacarte.glade
share/alacarte/logo.svg
share/applications/alacarte.desktop
share/icons/hicolor/16x16/apps/alacarte.png
share/icons/hicolor/22x22/apps/alacarte.png
share/icons/hicolor/scalable/apps/alacarte.svg
share/icons/hicolor/24x24/apps/alacarte.png
share/icons/hicolor/256x256/
share/icons/hicolor/256x256/apps/
share/icons/hicolor/256x256/apps/alacarte.png
share/icons/hicolor/32x32/apps/alacarte.png
share/icons/hicolor/48x48/apps/alacarte.png
share/locale/ar/LC_MESSAGES/alacarte.mo
share/locale/as/LC_MESSAGES/alacarte.mo
share/locale/be/LC_MESSAGES/alacarte.mo
@ -44,10 +49,13 @@ 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/fur/LC_MESSAGES/alacarte.mo
share/locale/ga/LC_MESSAGES/alacarte.mo
share/locale/gl/LC_MESSAGES/alacarte.mo
share/locale/gu/LC_MESSAGES/alacarte.mo
share/locale/he/LC_MESSAGES/alacarte.mo
share/locale/hi/LC_MESSAGES/alacarte.mo
share/locale/hr/LC_MESSAGES/alacarte.mo
share/locale/hu/LC_MESSAGES/alacarte.mo
share/locale/id/LC_MESSAGES/alacarte.mo
share/locale/io/LC_MESSAGES/alacarte.mo
@ -71,15 +79,17 @@ share/locale/oc/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/ps/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/sk/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/sr@latin/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