[103631] users/cal/base-sqlite-portindex/Mk/macports.tea.mk
cal at macports.org
cal at macports.org
Sun Mar 3 12:51:34 PST 2013
Revision: 103631
https://trac.macports.org/changeset/103631
Author: cal at macports.org
Date: 2013-03-03 12:51:34 -0800 (Sun, 03 Mar 2013)
Log Message:
-----------
macports.tea.mk: unify variable brace style, support DESTDIRs with spaces
Modified Paths:
--------------
users/cal/base-sqlite-portindex/Mk/macports.tea.mk
Modified: users/cal/base-sqlite-portindex/Mk/macports.tea.mk
===================================================================
--- users/cal/base-sqlite-portindex/Mk/macports.tea.mk 2013-03-03 20:49:22 UTC (rev 103630)
+++ users/cal/base-sqlite-portindex/Mk/macports.tea.mk 2013-03-03 20:51:34 UTC (rev 103631)
@@ -2,26 +2,26 @@
.SUFFIXES: .m
-.m.o:
- ${CC} -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED ${OBJCFLAGS} ${CPPFLAGS} ${SHLIB_CFLAGS} $< -o $@
+%.o: %.m
+ $(CC) -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED $(OBJCFLAGS) $(CPPFLAGS) $(SHLIB_CFLAGS) $< -o $@
-.c.o:
- ${CC} -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED ${CFLAGS} ${CPPFLAGS} ${SHLIB_CFLAGS} $< -o $@
+%.o: %.c
+ $(CC) -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED $(CFLAGS) $(CPPFLAGS) $(SHLIB_CFLAGS) $< -o $@
-all:: ${SHLIB_NAME} pkgIndex.tcl
+all:: $(SHLIB_NAME) pkgIndex.tcl
-$(SHLIB_NAME):: ${OBJS}
- ${SHLIB_LD} ${OBJS} -o ${SHLIB_NAME} ${TCL_STUB_LIB_SPEC} ${SHLIB_LDFLAGS} ${LIBS}
+$(SHLIB_NAME):: $(OBJS)
+ $(SHLIB_LD) $(OBJS) -o $(SHLIB_NAME) $(TCL_STUB_LIB_SPEC) $(SHLIB_LDFLAGS) $(LIBS)
pkgIndex.tcl: $(SHLIB_NAME)
$(SILENT) ../pkg_mkindex.sh . || ( rm -rf $@ && exit 1 )
clean::
- rm -f ${OBJS} ${SHLIB_NAME} so_locations pkgIndex.tcl
+ rm -f $(OBJS) $(SHLIB_NAME) pkgIndex.tcl
distclean:: clean
install:: all
- $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m ${DSTMODE} ${INSTALLDIR}
- $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 ${SHLIB_NAME} ${INSTALLDIR}
- $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 pkgIndex.tcl ${INSTALLDIR}
+ $(INSTALL) -d -o "$(DSTUSR)" -g "$(DSTGRP)" -m "$(DSTMODE)" "$(INSTALLDIR)"
+ $(INSTALL) -o "$(DSTUSR)" -g "$(DSTGRP)" -m 444 $(SHLIB_NAME) "$(INSTALLDIR)"
+ $(INSTALL) -o "$(DSTUSR)" -g "$(DSTGRP)" -m 444 pkgIndex.tcl "$(INSTALLDIR)"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130303/b6998898/attachment.html>
More information about the macports-changes
mailing list