aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-28 22:18:45 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-28 22:18:45 +0800
commitf7c3d3a54a554c3b17e16b4b9d80e8682fbc4aac (patch)
treeada517e10d860a7226e921b63386fd945c5242c7 /graphics
parentb8381208acd954ed73ab29601ce7448605a291eb (diff)
downloadfreebsd-ports-gnome-f7c3d3a54a554c3b17e16b4b9d80e8682fbc4aac.tar.gz
freebsd-ports-gnome-f7c3d3a54a554c3b17e16b4b9d80e8682fbc4aac.tar.zst
freebsd-ports-gnome-f7c3d3a54a554c3b17e16b4b9d80e8682fbc4aac.zip
- Support staging
- Strip binary
Diffstat (limited to 'graphics')
-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>