- Use a different way of detecting glade and icons

Submitted by:	Ports Fury
This commit is contained in:
Michael Johnson 2005-05-17 07:02:03 +00:00
parent 4859ccb83b
commit 19df9a37eb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=135442
3 changed files with 22 additions and 28 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= tunesbrowser
PORTVERSION= 0.3.0
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://craz.net/programs/itunes/files/

View File

@ -1,17 +1,21 @@
--- Makefile.in.orig Wed Feb 2 22:27:56 2005
+++ Makefile.in Wed Feb 2 22:29:51 2005
@@ -389,12 +389,12 @@
uiDATA_INSTALL = $(INSTALL_DATA)
install-uiDATA: $(ui_DATA)
@$(NORMAL_INSTALL)
- $(mkinstalldirs) $(DESTDIR)$(uidir)
+ $(mkinstalldirs) $(DESTDIR)$(uidir)/tunesbrowser
@list='$(ui_DATA)'; for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
f="`echo $$p | sed -e 's|^.*/||'`"; \
echo " $(uiDATA_INSTALL) $$d$$p $(DESTDIR)$(uidir)/$$f"; \
- $(uiDATA_INSTALL) $$d$$p $(DESTDIR)$(uidir)/$$f; \
+ $(uiDATA_INSTALL) $$d$$p $(DESTDIR)$(uidir)/tunesbrowser/$$f; \
done
uninstall-uiDATA:
+--- Makefile.in.orig Mon May 16 14:48:28 2005
++++ Makefile.in Mon May 16 19:39:09 2005
+@@ -144,7 +144,7 @@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
+ SUBDIRS = debug
+-uidir = $(datadir)
++uidir = $(pkgdatadir)
+ bin_PROGRAMS = tunesbrowser
+ tunesbrowser_SOURCES = albumlist.c artistlist.c audioplayer.c \
+ daap.c main.c misc_ui.c songlist.c sourcelist.c \
+@@ -158,7 +158,7 @@
+ man_MANS = tunesbrowser.1
- uninstall-uiDATA:
+ INCLUDES = -I$(srcdir) -I$(srcdir)/debug
+-AM_CFLAGS = $(TB_CFLAGS) -W -Wall -DUIDIR=$(datadir)
++AM_CFLAGS = $(TB_CFLAGS) -W -Wall -DUIDIR=$(pkgdatadir)
+
+ ui_DATA = tunesbrowser.glade \
+ comp.blue.png comp.red.png \

View File

@ -1,11 +0,0 @@
--- main.c.orig Mon May 16 14:27:54 2005
+++ main.c Mon May 16 14:28:12 2005
@@ -129,7 +129,7 @@
gtk_init(&argc, &argv);
- xml = glade_xml_new(XSTR(UIDIR) "/tunesbrowser.glade", NULL, NULL);
+ xml = glade_xml_new(XSTR(UIDIR) "/tunesbrowser/tunesbrowser.glade", NULL, NULL);
glade_xml_signal_autoconnect(xml);