28b9b3306a
- remove USE_GROFF - regen patches from gleydson soares
35 lines
1.1 KiB
Plaintext
35 lines
1.1 KiB
Plaintext
$OpenBSD: patch-Makefile,v 1.2 2011/03/16 08:53:44 jasper Exp $
|
|
--- Makefile.orig Mon Sep 17 19:36:17 2007
|
|
+++ Makefile Wed Mar 16 09:50:32 2011
|
|
@@ -1,10 +1,10 @@
|
|
# $Id: patch-Makefile,v 1.2 2011/03/16 08:53:44 jasper Exp $
|
|
NAME=podbrowser
|
|
-PREFIX=/usr/local
|
|
+PREFIX?=/usr/local
|
|
BINDIR=$(PREFIX)/bin
|
|
DATADIR=$(PREFIX)/share
|
|
ICONDIR=$(DATADIR)/icons/hicolor/48x48/apps
|
|
-MANDIR=$(DATADIR)/man/man1
|
|
+MANDIR=$(PREFIX)/man/man1
|
|
|
|
all: podbrowser
|
|
|
|
@@ -12,7 +12,7 @@ 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
|
|
+ pod2man $(NAME).pl > build/$(NAME).1
|
|
|
|
install:
|
|
mkdir -p $(BINDIR) \
|
|
@@ -23,7 +23,7 @@ install:
|
|
install -m 0644 $(NAME).glade $(DATADIR)/$(NAME)/
|
|
install -m 0644 $(NAME).png $(ICONDIR)/
|
|
install -m 0644 $(NAME).desktop $(DATADIR)/applications/
|
|
- install -m 0644 build/$(NAME).1.gz $(MANDIR)/
|
|
+ install -m 0644 build/$(NAME).1 $(MANDIR)/
|
|
install -m 0755 build/$(NAME) $(BINDIR)/$(NAME)
|
|
install -m 0755 html2ps-$(NAME) $(BINDIR)/html2ps-$(NAME)
|
|
|