summaryrefslogtreecommitdiff
path: root/audio/csound5/Makefile
diff options
context:
space:
mode:
authorjperkin <jperkin>2014-01-09 16:55:16 +0000
committerjperkin <jperkin>2014-01-09 16:55:16 +0000
commitad52eeb6667f2f87e45940c479617a661cdcc0f3 (patch)
treee0121b11067e269425623e3e0260e16a54e0877b /audio/csound5/Makefile
parent99b0e2394acc286e3ce468c5ef2ebcfb09593893 (diff)
downloadpkgsrc-ad52eeb6667f2f87e45940c479617a661cdcc0f3.tar.gz
Add SunOS support.
Diffstat (limited to 'audio/csound5/Makefile')
-rw-r--r--audio/csound5/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/audio/csound5/Makefile b/audio/csound5/Makefile
index b9b4a98689e..5c8f0bc730c 100644
--- a/audio/csound5/Makefile
+++ b/audio/csound5/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2013/02/16 11:20:07 wiz Exp $
+# $NetBSD: Makefile,v 1.28 2014/01/09 16:55:16 jperkin Exp $
#
DISTNAME= Csound${CSOUND_VERSION}_src
@@ -28,6 +28,15 @@ SCONS_ARGS+= buildInterfaces=0
INSTALLATION_DIRS= bin
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+SUBST_CLASSES+= strip
+SUBST_STAGE.strip= pre-build
+SUBST_FILES.strip= install.py installer/misc/mkpackage.py
+SUBST_SED.strip= -e 's/--strip-unneeded//g'
+.endif
+
do-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${SCONS} ${SCONS_ARGS}