Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Changeset 39650 for trunk

Show
Ignore:
Timestamp:
08/27/08 15:14:11 (3 months ago)
Author:
ryandesign@…
Message:

dcraw: build the dcraw binary in the build directory too

Location:
trunk/dports/graphics/dcraw
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/dports/graphics/dcraw/Portfile

    r39649 r39650  
    3535post-extract { 
    3636    xinstall -W ${filespath} Makefile.in ${worksrcpath}/Makefile 
    37     xinstall -d ${worksrcpath}/build 
    3837    # Move "install" script; it conflicts with the destroot phase ("make install") 
    3938    move ${worksrcpath}/install ${worksrcpath}/install.sh 
  • trunk/dports/graphics/dcraw/files/Makefile.in

    r39645 r39650  
    55PREFIX = @PREFIX@ 
    66 
    7 all: dcraw 
     7BUILD_DIR = build 
    88 
    9 dcraw: 
    10         $(CC) -o dcraw $(CFLAGS) dcraw.c -ljpeg -llcms -lintl -liconv $(CPPFLAGS) $(LDFLAGS) -DLOCALEDIR=\"$(PREFIX)/share/locale/\" 
     9all: $(BUILD_DIR)/dcraw 
     10 
     11$(BUILD_DIR)/dcraw: $(BUILD_DIR) 
     12        $(CC) -o $(BUILD_DIR)/dcraw $(CFLAGS) dcraw.c -ljpeg -llcms -lintl -liconv $(CPPFLAGS) $(LDFLAGS) -DLOCALEDIR=\"$(PREFIX)/share/locale/\" 
     13 
     14$(BUILD_DIR): 
     15        mkdir -p $(BUILD_DIR) 
    1116 
    1217install: 
    13         install -s -m 755 dcraw $(DESTDIR)$(PREFIX)/bin 
     18        install -s -m 755 $(BUILD_DIR)/dcraw $(DESTDIR)$(PREFIX)/bin