openbsd-ports/graphics/xzgv/patches/patch-src_Makefile
alek 57b5969b4f Import xzgv 0.8
xzgv is a picture viewer for X, with a thumbnail-based file selector.
It uses GTK+ and Imlib. Most file formats are supported, and the
thumbnails used are compatible with xv, zgv, and the Gimp. It can also
be used with `xzgv file(s)', to effectively bypass the file selector.

From Julian Leyh <oenone@oenone.de>
2005-05-22 11:32:11 +00:00

25 lines
724 B
Plaintext

$OpenBSD: patch-src_Makefile,v 1.1.1.1 2005/05/22 11:32:11 alek Exp $
--- src/Makefile.orig Tue Jan 1 06:37:45 2002
+++ src/Makefile Thu May 12 15:53:36 2005
@@ -30,7 +30,7 @@ BACKEND_LIBS=`case "$(BACKEND)" in \
# compile when you do `make install'. :-)
# (It would also be weird to have it made by the `doc' Makefile, IMHO.)
-all: xzgv install-info
+all: xzgv
OBJS= main.o \
filedetails.o gotodir.o updatetn.o confirm.o help.o \
@@ -57,9 +57,8 @@ install-info: install-info.c getopt.o ge
installdirs:
/bin/sh ../mkinstalldirs $(BINDIR)
-install: xzgv installdirs
- install xzgv $(BINDIR)
- chmod 755 $(BINDIR)/xzgv
+install: xzgv
+ ${BSD_INSTALL_PROGRAM} xzgv $(BINDIR)
uninstall:
$(RM) $(BINDIR)/xzgv