aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2004-10-26 17:48:32 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2004-10-26 17:48:32 +0000
commit65824e118a9d5f4aa84f54a58d63f2ce82698f79 (patch)
tree9034c19e492e396f63778e51d15e198a7f76a151 /editors
parent47d974c2ed5869845a0c2b312e405f52489db162 (diff)
downloadports-65824e118a9d5f4aa84f54a58d63f2ce82698f79.tar.gz
ports-65824e118a9d5f4aa84f54a58d63f2ce82698f79.zip
Notes
Diffstat (limited to 'editors')
-rw-r--r--editors/leafpad/Makefile9
-rw-r--r--editors/leafpad/distinfo4
-rw-r--r--editors/leafpad/files/patch-src::dnd.c23
3 files changed, 5 insertions, 31 deletions
diff --git a/editors/leafpad/Makefile b/editors/leafpad/Makefile
index b2e88ce5610f..396a9798adbe 100644
--- a/editors/leafpad/Makefile
+++ b/editors/leafpad/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= leafpad
-PORTVERSION= 0.7.3.1
-PORTREVISION= 1
+PORTVERSION= 0.7.4
CATEGORIES= editors
MASTER_SITES= http://tarot.freeshell.org/leafpad/
@@ -33,10 +32,8 @@ PLIST_SUB+= NLS:="@comment "
.endif
post-patch:
- @${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
+ @${REINPLACE_CMD} -e 's|/pixmaps|/${PORTNAME}|g' \
+ ${WRKSRC}/Makefile.in ${WRKSRC}/src/Makefile.in
.ifndef (NOPORTDOCS)
post-install:
diff --git a/editors/leafpad/distinfo b/editors/leafpad/distinfo
index bc548aff6489..002fae981714 100644
--- a/editors/leafpad/distinfo
+++ b/editors/leafpad/distinfo
@@ -1,2 +1,2 @@
-MD5 (leafpad-0.7.3.1.tar.gz) = 8eaf0105cbf86a2c00c833205c10cbee
-SIZE (leafpad-0.7.3.1.tar.gz) = 162439
+MD5 (leafpad-0.7.4.tar.gz) = 3aa3495d6071b1b2c049f0d52f35afe5
+SIZE (leafpad-0.7.4.tar.gz) = 165158
diff --git a/editors/leafpad/files/patch-src::dnd.c b/editors/leafpad/files/patch-src::dnd.c
deleted file mode 100644
index 9736bb1e7447..000000000000
--- a/editors/leafpad/files/patch-src::dnd.c
+++ /dev/null
@@ -1,23 +0,0 @@
---- src/dnd.c.orig Mon Oct 25 16:50:41 2004
-+++ src/dnd.c Mon Oct 25 16:51:00 2004
-@@ -7,6 +7,9 @@
- GdkDragContext *context, gint x, gint y,
- GtkSelectionData *selection_data, guint info, guint time)
- {
-+ gchar *filename;
-+ gchar *filename_real;
-+ gchar *comline;
- static gboolean flag_called_once = FALSE;
-
- if (flag_called_once) {
-@@ -24,10 +27,6 @@
- g_print("selection_data->data = %s\n", selection_data->data);
- g_print("selection_data->length = %d\n", selection_data->length);
- });
-- gchar *filename;
-- gchar *filename_real;
-- gchar *comline;
--
- if (selection_data->data && g_strstr_len(selection_data->data, 7, "file://")) {
- filename = g_filename_from_uri(selection_data->data, NULL, NULL);
- filename_real = g_strndup(filename, selection_data->length - 7 - 2);