aboutsummaryrefslogtreecommitdiff
path: root/graphics/c-a-i-r
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-28 14:18:45 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-28 14:18:45 +0000
commit6cd8803bb4453fd7c526c408394eaea3b38da346 (patch)
treeada517e10d860a7226e921b63386fd945c5242c7 /graphics/c-a-i-r
parentddd030995b0373318921cec5945e3a24383e2440 (diff)
downloadports-6cd8803bb4453fd7c526c408394eaea3b38da346.tar.gz
ports-6cd8803bb4453fd7c526c408394eaea3b38da346.zip
- Support staging
- Strip binary
Notes
Notes: svn path=/head/; revision=346522
Diffstat (limited to 'graphics/c-a-i-r')
-rw-r--r--graphics/c-a-i-r/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/graphics/c-a-i-r/Makefile b/graphics/c-a-i-r/Makefile
index 87db3b6bf80b..c6e79937da81 100644
--- a/graphics/c-a-i-r/Makefile
+++ b/graphics/c-a-i-r/Makefile
@@ -12,14 +12,15 @@ COMMENT= Content Aware Image Resizer is an implementation of seam carving
USE_ZIP= yes
USES= gmake
+
MAKE_ARGS+= CC="${CXX}"
WRKSRC= ${WRKDIR}
PLIST_FILES= bin/cair
-NO_STAGE= yes
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/cair ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/cair ${STAGEDIR}${PREFIX}/bin
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/cair
.include <bsd.port.mk>