1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00
freebsd-ports/x11/gskrab/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

30 lines
744 B
Makefile

# $FreeBSD$
PORTNAME= gskrab
PORTVERSION= 0.0.1
PORTREVISION= 8
CATEGORIES= x11 gnustep
MASTER_SITES= http://organact.mine.nu/~wolfgang/gskrab/
DISTNAME= GSKrab-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= GNUstep Keyboard Grabber
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= gnustep
USE_GNUSTEP= back build
USE_LDCONFIG= ${GNUSTEP_LOCAL_LIBRARIES}
ADDITIONAL_LIB_DIRS+= -L${WRKSRC}/GSKrabFramework/GSKrab.framework/Versions/Current
post-patch:
@${REINPLACE_CMD} -e "/GNUSTEP_INSTALLATION_DIR/d" ${WRKSRC}/GNUmakefile
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/GNUstep/System/Tools/gsks \
${STAGEDIR}${PREFIX}/GNUstep/System/Library/Frameworks/GSKrab.framework/Versions/0/libGSKrab.so
.include <bsd.port.mk>