mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-22 20:41:26 +00:00
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
This commit is contained in:
parent
d845566b81
commit
7c9630984c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=119944
@ -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)
|
||||
|
@ -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%%
|
||||
|
Loading…
Reference in New Issue
Block a user