aboutsummaryrefslogtreecommitdiffstats
path: root/math/concorde
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-21 18:18:51 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-21 18:18:51 +0800
commitccade7c7724aec198bc0522ab49c61993955d820 (patch)
treea155d33c76d833ed3c55f594a0e4f1bb13862a0a /math/concorde
parentda9a44d7d3cc7732c76fa1ae16025611058bc280 (diff)
downloadfreebsd-ports-gnome-ccade7c7724aec198bc0522ab49c61993955d820.tar.gz
freebsd-ports-gnome-ccade7c7724aec198bc0522ab49c61993955d820.tar.zst
freebsd-ports-gnome-ccade7c7724aec198bc0522ab49c61993955d820.zip
Support staging
Diffstat (limited to 'math/concorde')
-rw-r--r--math/concorde/Makefile21
1 files changed, 13 insertions, 8 deletions
diff --git a/math/concorde/Makefile b/math/concorde/Makefile
index ac26db2dc86d..2453a63bdfdf 100644
--- a/math/concorde/Makefile
+++ b/math/concorde/Makefile
@@ -31,18 +31,23 @@ BINFILES= BIGGUY/bg_test COMBS/combtest CUT/lin_all CUT/mincut \
TOOLS/tourlen TSP/bosstell TSP/concorde TSP/cutserv \
TSP/poolcat TSP/probserv TSP/test_tsp VERIFY/verify
-NO_STAGE= yes
do-install:
- ${INSTALL_DATA} ${WRKSRC}/concorde.a ${PREFIX}/lib/libconcorde.a
- ${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 755 ${PREFIX}/include/concorde
- ${INSTALL_DATA} ${WRKSRC}/concorde.h ${PREFIX}/include/concorde
+ ${INSTALL_DATA} ${WRKSRC}/concorde.a \
+ ${STAGEDIR}${PREFIX}/lib/libconcorde.a
+ ${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 755 \
+ ${STAGEDIR}${PREFIX}/include/concorde
+ ${INSTALL_DATA} ${WRKSRC}/concorde.h \
+ ${STAGEDIR}${PREFIX}/include/concorde
.for f in ${INCFILES}
- ${INSTALL_DATA} ${WRKSRC}/INCLUDE/${f} ${PREFIX}/include/concorde
+ ${INSTALL_DATA} ${WRKSRC}/INCLUDE/${f} \
+ ${STAGEDIR}${PREFIX}/include/concorde
.endfor
- ${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755 ${PREFIX}/bin/concorde
+ ${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755 \
+ ${STAGEDIR}${PREFIX}/bin/concorde
.for f in ${BINFILES}
- ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin/concorde
+ ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin/concorde
.endfor
- ${INSTALL_SCRIPT} ${WRKSRC}/TINY/randtsp.awk ${PREFIX}/bin/concorde
+ ${INSTALL_SCRIPT} ${WRKSRC}/TINY/randtsp.awk \
+ ${STAGEDIR}${PREFIX}/bin/concorde
.include <bsd.port.mk>