aboutsummaryrefslogtreecommitdiff
path: root/audio/xmms-sapplug
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2013-11-12 15:52:20 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2013-11-12 15:52:20 +0000
commite3608906ab5180d386cda5c9566e5fcd7148505f (patch)
tree410421424cabb77170518566628dc1f1794e4424 /audio/xmms-sapplug
parentfd9c165593130fe6c503f8a827a7d1cc0d24dd05 (diff)
downloadports-e3608906ab5180d386cda5c9566e5fcd7148505f.tar.gz
ports-e3608906ab5180d386cda5c9566e5fcd7148505f.zip
Notes
Diffstat (limited to 'audio/xmms-sapplug')
-rw-r--r--audio/xmms-sapplug/Makefile19
1 files changed, 7 insertions, 12 deletions
diff --git a/audio/xmms-sapplug/Makefile b/audio/xmms-sapplug/Makefile
index a3192c74e14d..9b5fdd2be3ba 100644
--- a/audio/xmms-sapplug/Makefile
+++ b/audio/xmms-sapplug/Makefile
@@ -16,8 +16,7 @@ LICENSE= GPLv2
BUILD_DEPENDS= xmms:${PORTSDIR}/multimedia/xmms
RUN_DEPENDS= xmms:${PORTSDIR}/multimedia/xmms
-USES= gmake
-NO_STAGE= yes
+USES= gmake compiler
USE_GNOME= glib12
USE_LDCONFIG= yes
MAKE_JOBS_UNSAFE= yes
@@ -28,13 +27,10 @@ PLIST_FILES= lib/xmms/Input/libsap.so
OPTIONS_DEFINE= OPTIMIZED_CFLAGS
-.include <bsd.port.options.mk>
-
-_CLANG!= ${CXX} --version | ${HEAD} -1 | ${SED} -e 's/.*clang version \([0-9]\)\.\([0-9]\).*/\1\2/'
-ISCLANG= ${_CLANG:M[34][0-9]}
+.include <bsd.port.pre.mk>
# clang can build this without -fno-exceptions
-.if empty(ISCLANG)
+.if ${COMPILER_TYPE} == "gcc"
CXXFLAGS+= -fno-exceptions
.endif
@@ -56,9 +52,8 @@ post-patch:
${WRKSRC}/saplib/Makefile
do-install:
- ${INSTALL_DATA} ${WRKSRC}/libsap.so ${PREFIX}/lib/xmms/Input/libsap.so
-
-post-install:
- @${CAT} ${PKGMESSAGE}
+ ${MKDIR} ${STAGEDIR}${PREFIX}/lib/xmms/Input
+ ${INSTALL_DATA} ${WRKSRC}/libsap.so \
+ ${STAGEDIR}${PREFIX}/lib/xmms/Input/libsap.so
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>