From 7c9630984caafd800d79e2c6f2a122c5afe50b61 Mon Sep 17 00:00:00 2001 From: Jeremy Messenger Date: Thu, 21 Oct 2004 22:35:34 +0000 Subject: Fix the language install in the correct path. If this is a GNOME app, normal the solution would be add 'gnomehack' but this is just a GTK+ app. Therefore, remove 'gnomeprefix' and install in $(datadir)/leafpad. Bump PORTREVISION for pkg-plist change. Reported by: pointyhat via kris --- editors/leafpad/Makefile | 9 ++++++--- editors/leafpad/pkg-plist | 3 ++- 2 files changed, 8 insertions(+), 4 deletions(-) (limited to 'editors/leafpad') diff --git a/editors/leafpad/Makefile b/editors/leafpad/Makefile index 665d25ea4818..b2e88ce5610f 100644 --- a/editors/leafpad/Makefile +++ b/editors/leafpad/Makefile @@ -7,13 +7,15 @@ PORTNAME= leafpad PORTVERSION= 0.7.3.1 +PORTREVISION= 1 CATEGORIES= editors MASTER_SITES= http://tarot.freeshell.org/leafpad/ MAINTAINER= ports@FreeBSD.org COMMENT= Light-weight GTK+ Editor similar to notepad.exe -USE_GNOME= gnomeprefix gtk20 +USE_GNOME= gtk20 +USE_X_PREFIX= yes GNU_CONFIGURE= yes USE_REINPLACE= yes @@ -31,8 +33,9 @@ PLIST_SUB+= NLS:="@comment " .endif post-patch: - @${REINPLACE_CMD} -e 's|/icons|/pixmaps|g' ${WRKSRC}/Makefile.in - @${REINPLACE_CMD} -e 's|/share/icons/|/share/gnome/pixmaps/|g' \ + @${REINPLACE_CMD} -e 's|/icons|/${PORTNAME}|g' \ + ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e 's|/share/icons/|/share/${PORTNAME}/|g' \ ${WRKSRC}/src/callback.c ${WRKSRC}/src/window.c .ifndef (NOPORTDOCS) diff --git a/editors/leafpad/pkg-plist b/editors/leafpad/pkg-plist index 227215e14835..0107e2efe272 100644 --- a/editors/leafpad/pkg-plist +++ b/editors/leafpad/pkg-plist @@ -4,8 +4,9 @@ bin/leafpad %%PORTDOCS%%%%DOCSDIR%%/ChangeLog %%PORTDOCS%%%%DOCSDIR%%/INSTALL %%PORTDOCS%%%%DOCSDIR%%/README -share/gnome/pixmaps/leafpad.png +share/leafpad/leafpad.png %%NLS:%%share/locale/ja/LC_MESSAGES/leafpad.mo %%NLS:%%share/locale/zh_CN/LC_MESSAGES/leafpad.mo %%NLS:%%share/locale/zh_TW/LC_MESSAGES/leafpad.mo +@dirrm share/leafpad %%PORTDOCS%%@dirrm %%DOCSDIR%% -- cgit v1.2.3