[39653] trunk/dports/graphics/dcraw/files/Makefile.in
ryandesign at macports.org
ryandesign at macports.org
Wed Aug 27 16:24:01 PDT 2008
Revision: 39653
http://trac.macosforge.org/projects/macports/changeset/39653
Author: ryandesign at macports.org
Date: 2008-08-27 16:24:01 -0700 (Wed, 27 Aug 2008)
Log Message:
-----------
dcraw: define and use some variables for programs in the Makefile
Modified Paths:
--------------
trunk/dports/graphics/dcraw/files/Makefile.in
Modified: trunk/dports/graphics/dcraw/files/Makefile.in
===================================================================
--- trunk/dports/graphics/dcraw/files/Makefile.in 2008-08-27 23:13:05 UTC (rev 39652)
+++ trunk/dports/graphics/dcraw/files/Makefile.in 2008-08-27 23:24:01 UTC (rev 39653)
@@ -6,6 +6,11 @@
BUILD_DIR = build
+INSTALL = install
+INSTALL_PROGRAM = $(INSTALL)
+INSTALL_DATA = $(INSTALL) -m 644
+MSGFMT = msgfmt
+
PO_FILES = $(wildcard *.po)
MO_FILES = $(patsubst %.po,$(BUILD_DIR)/%.mo,$(PO_FILES))
@@ -15,11 +20,11 @@
$(CC) -o $(BUILD_DIR)/dcraw $(CFLAGS) dcraw.c -ljpeg -llcms -lintl -liconv $(CPPFLAGS) $(LDFLAGS) -DLOCALEDIR=\"$(PREFIX)/share/locale/\"
$(BUILD_DIR)/%.mo: %.po $(BUILD_DIR)
- msgfmt -o $@ $<
+ $(MSGFMT) -o $@ $<
$(BUILD_DIR):
mkdir -p $(BUILD_DIR)
.PHONY: install
install:
- install -s -m 755 $(BUILD_DIR)/dcraw $(DESTDIR)$(PREFIX)/bin
+ $(INSTALL_PROGRAM) -s -m 755 $(BUILD_DIR)/dcraw $(DESTDIR)$(PREFIX)/bin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080827/a2168670/attachment.html
More information about the macports-changes
mailing list