summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cummings <mcummings@gentoo.org>2006-01-08 15:15:59 +0000
committerMichael Cummings <mcummings@gentoo.org>2006-01-08 15:15:59 +0000
commit94d7604d0b2229b7e56729af93fff0185dc6cc96 (patch)
tree2eb6a3d68e3f07338836bd1aafbc03f091f4ab3d /app-doc/podbrowser/files
parentVersion bumped, Bug 117121. (diff)
downloadgentoo-2-94d7604d0b2229b7e56729af93fff0185dc6cc96.tar.gz
gentoo-2-94d7604d0b2229b7e56729af93fff0185dc6cc96.tar.bz2
gentoo-2-94d7604d0b2229b7e56729af93fff0185dc6cc96.zip
Bug 117889, fixed ebuild, fixed makefile
(Portage version: 2.1_pre1)
Diffstat (limited to 'app-doc/podbrowser/files')
-rw-r--r--app-doc/podbrowser/files/Makefile.new32
1 files changed, 32 insertions, 0 deletions
diff --git a/app-doc/podbrowser/files/Makefile.new b/app-doc/podbrowser/files/Makefile.new
new file mode 100644
index 000000000000..9901cdc4e828
--- /dev/null
+++ b/app-doc/podbrowser/files/Makefile.new
@@ -0,0 +1,32 @@
+# $Id: Makefile.new,v 1.1 2006/01/08 15:15:59 mcummings Exp $
+NAME=podbrowser
+PREFIX=/usr/local
+BINDIR=$(PREFIX)/bin
+DATADIR=$(PREFIX)/share
+ICONDIR=$(DATADIR)/icons/hicolor/48x48/apps
+MANDIR=$(DATADIR)/man/man1
+DESTDIR=
+
+all: podbrowser
+
+podbrowser:
+ @mkdir -p build
+
+ perl -ne 's!\@PREFIX\@!$(PREFIX)!g ; s!\@LIBDIR\@!$(LIBDIR)!g ; print' < $(NAME).pl > build/$(NAME)
+ pod2man $(NAME).pl | gzip -c > build/$(NAME).1.gz
+
+install:
+ mkdir -p $(DESTDIR)/$(BINDIR) \
+ $(DESTDIR)/$(DATADIR)/$(NAME) \
+ $(DESTDIR)/$(DATADIR)/applications \
+ $(DESTDIR)/$(ICONDIR) \
+ $(DESTDIR)/$(MANDIR)
+ install -m 0644 $(NAME).glade $(DESTDIR)/$(DATADIR)/$(NAME)/
+ install -m 0644 $(NAME).png $(DESTDIR)/$(ICONDIR)/
+ install -m 0644 $(NAME).desktop $(DESTDIR)/$(DATADIR)/applications/
+ install -m 0644 build/$(NAME).1.gz $(DESTDIR)/$(MANDIR)/
+ install -m 0755 build/$(NAME) $(DESTDIR)/$(BINDIR)/$(NAME)
+ install -m 0755 html2ps-$(NAME) $(DESTDIR)/$(BINDIR)/html2ps-$(NAME)
+
+clean:
+ rm -rf build