Update to 0.9.3. This version kills win32 support, pulls in a bunch of patches from Debian, and now uses gtk2. While here, PKG_DESTDIR=user-destdir'ify and use the proper framework for handling configuration files instead of just sticking them in share/grun as they were before.diff -r1.18 -r1.19 pkgsrc/sysutils/grun/Makefile
(snj)
@@ -1,23 +1,35 @@ | @@ -1,23 +1,35 @@ | |||
1 | # $NetBSD: Makefile,v 1.18 2007/01/07 09:14:11 rillig Exp $ | 1 | # $NetBSD: Makefile,v 1.19 2009/08/26 15:55:14 snj Exp $ | |
2 | 2 | |||
3 | DISTNAME= grun-0.9.2 | 3 | DISTNAME= grun-0.9.3 | |
4 | PKGREVISION= 5 | |||
5 | CATEGORIES= misc | 4 | CATEGORIES= misc | |
6 | MASTER_SITES= http://www.geocities.com/ResearchTriangle/Facility/1468/sg/ | 5 | MASTER_SITES= http://grun.googlecode.com/files/ | |
7 | 6 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 7 | MAINTAINER= pkgsrc-users@NetBSD.org | |
8 | HOMEPAGE= http://code.google.com/p/grun/ | |||
9 | HOMEPAGE= ${MASTER_SITES}/grun.html | 9 | HOMEPAGE= ${MASTER_SITES}/grun.html | |
10 | COMMENT= GTK+ based Run dialog | 10 | COMMENT= GTK+ based Run dialog | |
11 | 11 | |||
12 | GNU_CONFIGURE= YES | 12 | GNU_CONFIGURE= YES | |
13 | USE_PKGLOCALEDIR= YES | 13 | USE_PKGLOCALEDIR= YES | |
14 | USE_TOOLS+= gmake | 14 | USE_TOOLS+= gmake pkg-config | |
15 | PTHREAD_OPTS+= require | 15 | ||
16 | PKG_DESTDIR_SUPPORT= user-destdir | |||
17 | ||||
18 | PKG_SYSCONFSUBDIR= grun | |||
19 | EGDIR= ${PREFIX}/share/examples/grun | |||
20 | CONF_FILES= ${EGDIR}/gassoc ${PKG_SYSCONFDIR}/gassoc | |||
21 | CONF_FILES+= ${EGDIR}/consfile ${PKG_SYSCONFDIR}/consfile | |||
22 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} | |||
23 | ||||
24 | INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/examples/grun | |||
16 | 25 | |||
17 | post-install: | 26 | post-install: | |
18 | ${MV} ${PREFIX}/${PKGMANDIR}/man1/grun.1x ${PREFIX}/${PKGMANDIR}/man1/grun.1 | 27 | ${INSTALL_MAN} ${WRKSRC}/grun.1x \ | |
28 | ${DESTDIR}/${PREFIX}/${PKGMANDIR}/man1/grun.1 | |||
29 | ${INSTALL_DATA} ${WRKSRC}/gassoc ${DESTDIR}/${EGDIR} | |||
30 | ${INSTALL_DATA} ${WRKSRC}/consfile ${DESTDIR}/${EGDIR} | |||
19 | 31 | |||
20 | .include "../../x11/gtk/buildlink3.mk" | 32 | .include "../../x11/gtk2/buildlink3.mk" | |
21 | .include "../../mk/pthread.buildlink3.mk" | 33 | .include "../../mk/pthread.buildlink3.mk" | |
22 | 34 | |||
23 | .include "../../mk/bsd.pkg.mk" | 35 | .include "../../mk/bsd.pkg.mk" |
@@ -1,9 +1,11 @@ | @@ -1,9 +1,11 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.4 2009/06/14 18:16:07 joerg Exp $ | 1 | @comment $NetBSD: PLIST,v 1.5 2009/08/26 15:55:14 snj Exp $ | |
2 | bin/grun | 2 | bin/grun | |
3 | man/man1/grun.1 | 3 | man/man1/grun.1 | |
4 | share/grun/consfile | 4 | share/examples/grun/consfile | |
5 | share/grun/gassoc | 5 | share/examples/grun/gassoc | |
6 | share/locale/de/LC_MESSAGES/grun.mo | 6 | share/locale/de/LC_MESSAGES/grun.mo | |
7 | share/locale/en@boldquot/LC_MESSAGES/grun.mo | |||
8 | share/locale/en@quot/LC_MESSAGES/grun.mo | |||
7 | share/locale/es/LC_MESSAGES/grun.mo | 9 | share/locale/es/LC_MESSAGES/grun.mo | |
8 | share/locale/fr/LC_MESSAGES/grun.mo | 10 | share/locale/fr/LC_MESSAGES/grun.mo | |
9 | share/locale/pt/LC_MESSAGES/grun.mo | 11 | share/locale/pt/LC_MESSAGES/grun.mo |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.2 2005/02/24 13:40:53 agc Exp $ | 1 | $NetBSD: distinfo,v 1.3 2009/08/26 15:55:14 snj Exp $ | |
2 | 2 | |||
3 | SHA1 (grun-0.9.2.tar.gz) = 3b4a06b75aa07aa5d19a4594566773db34ea937d | 3 | SHA1 (grun-0.9.3.tar.gz) = 53ed0f6d449331b6967d3f49d67072c8714a1305 | |
4 | RMD160 (grun-0.9.2.tar.gz) = 16b97485badd41da671012538b19388975ee9670 | 4 | RMD160 (grun-0.9.3.tar.gz) = efb7c197de41c2060042b9111ceba3aa8e02b67c | |
5 | Size (grun-0.9.2.tar.gz) = 113745 bytes | 5 | Size (grun-0.9.3.tar.gz) = 368318 bytes | |
6 | SHA1 (patch-aa) = cd9b0f80c3144403fddd59446918bf59db356131 | 6 | SHA1 (patch-aa) = 505acaf3f2b9dd4b416b73fcd7a6e912dda6eb55 |
@@ -1,27 +1,22 @@ | @@ -1,27 +1,22 @@ | |||
1 | $NetBSD: patch-aa,v 1.1.1.1 2001/11/18 22:41:41 agc Exp $ | 1 | $NetBSD: patch-aa,v 1.2 2009/08/26 15:55:14 snj Exp $ | |
2 | 2 | |||
3 | Use correct header file for locale information | 3 | --- Makefile.in.orig 2008-01-13 22:18:12.000000000 -0800 | |
4 | 4 | +++ Makefile.in 2009-08-26 08:30:31.000000000 -0700 | ||
5 | --- grun.c 2001/11/13 14:57:16 1.1 | 5 | @@ -718,7 +718,7 @@ install-data: install-data-recursive | |
6 | +++ grun.c 2001/11/13 14:57:44 | 6 | uninstall: uninstall-recursive | |
7 | @@ -50,6 +50,10 @@ | 7 | ||
8 | #define ARG_BASE 1 | 8 | install-am: all-am | |
9 | #endif | 9 | - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | |
10 | 10 | + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am | ||
11 | +#ifdef HAVE_LOCALE_H | 11 | ||
12 | +#include <locale.h> | 12 | installcheck: installcheck-recursive | |
13 | +#endif | 13 | install-strip: | |
14 | + | 14 | @@ -760,7 +760,7 @@ install-data-am: install-man | |
15 | #include <sys/stat.h> | 15 | ||
16 | 16 | install-dvi: install-dvi-recursive | ||
17 | #define MAX_BUFF 1024 | 17 | ||
18 | @@ -894,7 +898,9 @@ | 18 | -install-exec-am: install-binPROGRAMS install-dist_sysconfDATA | |
19 | 19 | +install-exec-am: install-binPROGRAMS | ||
20 | gtk_init(&argc, &argv); | 20 | ||
21 | #ifndef WIN32 | 21 | install-html: install-html-recursive | |
22 | +#ifdef HAVE_SETLOCALE | 22 | ||
23 | setlocale (LC_ALL, ""); | |||
24 | +#endif | |||
25 | bindtextdomain (PACKAGE, LOCALEDIR); | |||
26 | textdomain (PACKAGE); | |||
27 | #endif /* WIN32 */ |