aboutsummaryrefslogtreecommitdiff
path: root/graphics/c-a-i-r/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/c-a-i-r/Makefile')
-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>