blob: 7c871586d0f9d36d1875915d59fd4587a5380691 (
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
28
29
30
31
32
33
34
|
$NetBSD: patch-aa,v 1.3 2004/05/20 17:41:39 minskim Exp $
--- Makefile.orig 2004-05-07 00:46:29.000000000 -0500
+++ Makefile
@@ -12,12 +12,12 @@ MKRS=makers.o canon.o olympus.o fuji.o n
NOMKRS=makers_stub.o
#
-# A few parameters...
+# Use pkgsrc defaults
#
-CC=cc
-DEBUG=
-CFLAGS=$(DEBUG)
-PREFIX=/usr/local
+#CC=cc
+#DEBUG=
+#CFLAGS=$(DEBUG)
+#PREFIX=/usr/local
OBJS=exif.o tagdefs.o exifutil.o exifgps.o jpeg.o
HDRS=exif.h exifint.h jpeg.h makers.h
@@ -44,9 +44,5 @@ clean:
timevary.o exiftags exifcom exiftime
install: all
- cp exiftags exifcom exiftime $(PREFIX)/bin
- chmod a+x $(PREFIX)/bin/exiftags $(PREFIX)/bin/exifcom \
- $(PREFIX)/bin/exiftime
- cp exiftags.1 exifcom.1 exiftime.1 $(PREFIX)/man/man1
- chmod a+r $(PREFIX)/man/man1/exiftags.1 $(PREFIX)/man/man1/exifcom.1 \
- $(PREFIX)/man/man1/exiftime.1
+ ${BSD_INSTALL_PROGRAM} exiftags exifcom exiftime ${PREFIX}/bin
+ ${BSD_INSTALL_MAN} exiftags.1 exifcom.1 exiftime.1 ${PREFIX}/man/man1
|