freebsd-ports/audio/gnustep-cdplayer/Makefile
David Chisnall f9197640d9 Fix configure options for gnustep-make
We were not setting the flag to select the GNUstep ABI, so were defaulting to
using the GCC-compatible version, which was likely to trigger a lot of subtle
bugs.  This was noticed when C++ exceptions thrown through Objective-C stack
frames caused segfaults.
2017-12-03 12:23:53 +00:00

33 lines
866 B
Makefile

# $FreeBSD$
PORTNAME= cdplayer
PORTVERSION= 0.5.1
PORTREVISION= 6
CATEGORIES= audio gnustep
MASTER_SITES= SF/gsburn/${PORTNAME}/${PORTNAME}-${PORTVERSION}
PKGNAMEPREFIX= gnustep-
MAINTAINER= ports@FreeBSD.org
COMMENT= GNUstep CD player with CDDB support
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libcdaudio.so:audio/libcdaudio \
libPrefsModule.so:deskutils/preferences
BUILD_DEPENDS= cddb-bundle>0:audio/cddb-bundle
RUN_DEPENDS= cddb-bundle>0:audio/cddb-bundle
USES= tar:bzip2 gnustep
USE_GNUSTEP= back build
WRKSRC= ${WRKDIR}/CDPlayer-${PORTVERSION}
post-install:
${STRIP_CMD} \
${STAGEDIR}${PREFIX}/GNUstep/System/Library/Bundles/AudioCD.bundle/AudioCD \
${STAGEDIR}${PREFIX}/GNUstep/System/Library/Bundles/AudioCD.prefs/AudioCD \
${STAGEDIR}${PREFIX}/GNUstep/System/Applications/CDPlayer.app/CDPlayer
.include <bsd.port.mk>