summaryrefslogtreecommitdiff
path: root/graphics/exiftags/patches/patch-aa
blob: eff36f107396c513534ebdf1ae31463ecbe88854 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
$NetBSD: patch-aa,v 1.6 2010/02/03 23:25:05 joerg Exp $

--- Makefile.orig	2005-01-05 00:30:32.000000000 +0000
+++ Makefile
@@ -14,9 +14,9 @@ NOMKRS=makers_stub.o
 #
 # A few parameters...
 #
-CC=cc
+#CC=cc
 DEBUG=
-CFLAGS=$(DEBUG)
+#CFLAGS=$(DEBUG)
 DESTDIR=
 
 prefix=/usr/local
@@ -49,8 +49,5 @@ clean:
 	timevary.o exiftags exifcom exiftime
 
 install: all
-	cp exiftags exifcom exiftime $(bindir)
-	chmod 0755 $(bindir)/exiftags $(bindir)/exifcom $(bindir)/exiftime
-	cp exiftags.1 exifcom.1 exiftime.1 $(mandir)/man1
-	chmod 0644 $(mandir)/man1/exiftags.1 $(mandir)/man1/exifcom.1 \
-	$(mandir)/man1/exiftime.1
+	${BSD_INSTALL_PROGRAM} exiftags exifcom exiftime ${DESTDIR}${PREFIX}/bin
+	${BSD_INSTALL_MAN} exiftags.1 exifcom.1 exiftime.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1