aboutsummaryrefslogtreecommitdiff
path: root/editors/leafpad
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2004-10-21 22:35:34 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2004-10-21 22:35:34 +0000
commit7c9630984caafd800d79e2c6f2a122c5afe50b61 (patch)
tree4a3a95ccc01c313dc1632103ce8f0066bb89296e /editors/leafpad
parentd845566b81154382a08dc5c79111e8975d984c89 (diff)
downloadports-7c9630984caafd800d79e2c6f2a122c5afe50b61.tar.gz
ports-7c9630984caafd800d79e2c6f2a122c5afe50b61.zip
Notes
Diffstat (limited to 'editors/leafpad')
-rw-r--r--editors/leafpad/Makefile9
-rw-r--r--editors/leafpad/pkg-plist3
2 files changed, 8 insertions, 4 deletions
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%%