diff options
author | ahze <ahze@FreeBSD.org> | 2005-02-03 11:32:26 +0800 |
---|---|---|
committer | ahze <ahze@FreeBSD.org> | 2005-02-03 11:32:26 +0800 |
commit | 07d46c5225814a09ed92b3941dffc94c77a0e5a3 (patch) | |
tree | 75f0b3ea53e28de60e5254f68175eabba8c3392e | |
parent | 81e382f52679a81ca1b72e86938e3384b1021f71 (diff) | |
download | freebsd-ports-gnome-07d46c5225814a09ed92b3941dffc94c77a0e5a3.tar.gz freebsd-ports-gnome-07d46c5225814a09ed92b3941dffc94c77a0e5a3.tar.zst freebsd-ports-gnome-07d46c5225814a09ed92b3941dffc94c77a0e5a3.zip |
- Install icons.
-rw-r--r-- | audio/tunesbrowser/Makefile | 11 | ||||
-rw-r--r-- | audio/tunesbrowser/files/patch-Makefile.in | 17 | ||||
-rw-r--r-- | audio/tunesbrowser/files/patch-main.c | 2 | ||||
-rw-r--r-- | audio/tunesbrowser/pkg-plist | 7 |
4 files changed, 26 insertions, 11 deletions
diff --git a/audio/tunesbrowser/Makefile b/audio/tunesbrowser/Makefile index 951a5de33afb..98a961cd01eb 100644 --- a/audio/tunesbrowser/Makefile +++ b/audio/tunesbrowser/Makefile @@ -18,23 +18,14 @@ LIB_DEPENDS= opendaap.0:${PORTSDIR}/devel/libopendaap USE_BZIP2= yes USE_INC_LIBTOOL_VER=15 USE_X_PREFIX= yes -USE_GNOME= libglade2 gstreamerplugins gnometarget gnomehack +USE_GNOME= libglade2 gstreamerplugins gnometarget gnomehack gnomeprefix DATADIR= ${PREFIX}/share/gnome/${PORTNAME} -PLIST_FILES= bin/tunesbrowser \ - %%DATADIR%%/tunesbrowser.glade -PLIST_DIRS= %%DATADIR%% - pre-everything:: @${ECHO_MSG} '===>' @${ECHO_MSG} '===> Warning: ${PORTNAME} is extremelly buggy, especially' @${ECHO_MSG} '===> on the FreeBSD 4.x branch, and may not run at all' @${ECHO_MSG} '===>' -do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/tunesbrowser ${PREFIX}/bin - @${MKDIR} ${DATADIR} - @${INSTALL_DATA} ${WRKSRC}/tunesbrowser.glade ${DATADIR} - .include <bsd.port.mk> diff --git a/audio/tunesbrowser/files/patch-Makefile.in b/audio/tunesbrowser/files/patch-Makefile.in new file mode 100644 index 000000000000..fd1b19bc0ca1 --- /dev/null +++ b/audio/tunesbrowser/files/patch-Makefile.in @@ -0,0 +1,17 @@ +--- 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: diff --git a/audio/tunesbrowser/files/patch-main.c b/audio/tunesbrowser/files/patch-main.c index 4d784a106f84..c6e8d99ba9ad 100644 --- a/audio/tunesbrowser/files/patch-main.c +++ b/audio/tunesbrowser/files/patch-main.c @@ -29,7 +29,7 @@ gtk_init(&argc, &argv); - xml = glade_xml_new(XSTR(UIDIR) "/tunesbrowser.glade", NULL, NULL); -+ xml = glade_xml_new(XSTR(UIDIR) "/gnome/tunesbrowser/tunesbrowser.glade", NULL, NULL); ++ xml = glade_xml_new(XSTR(UIDIR) "/tunesbrowser/tunesbrowser.glade", NULL, NULL); glade_xml_signal_autoconnect(xml); diff --git a/audio/tunesbrowser/pkg-plist b/audio/tunesbrowser/pkg-plist new file mode 100644 index 000000000000..a9a8abe1fd85 --- /dev/null +++ b/audio/tunesbrowser/pkg-plist @@ -0,0 +1,7 @@ +bin/tunesbrowser +share/gnome/tunesbrowser/comp.blue.png +share/gnome/tunesbrowser/comp.red.png +share/gnome/tunesbrowser/sound1.png +share/gnome/tunesbrowser/sound2.png +share/gnome/tunesbrowser/tunesbrowser.glade +@dirrm share/gnome/tunesbrowser |