freebsd-ports/x11/gskrab/Makefile
Baptiste Daroussin 06f79b66f2 Convert bsd.gnustep.mk to USES=gnustep
Simplify gnustep ports
Hook into the regular ports framework:
- LIB_DEPENDS for library dependencies
- Use regular USE_LDCONFIG

Reuse USES=objc (automatic)
USE_GNUSTEP is now a macro to set the dependencies and build feature needed.
Accepted arguments: back base build gui

Merge deskutils/preferencepanes into deskutils/systempreferences
2015-04-09 07:44:41 +00:00

29 lines
752 B
Makefile

# $FreeBSD$
PORTNAME= gskrab
PORTVERSION= 0.0.1
PORTREVISION= 5
CATEGORIES= x11 gnustep
MASTER_SITES= http://organact.mine.nu/~wolfgang/gskrab/
DISTNAME= GSKrab-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= GNUstep Keyboard Grabber
LICENSE= GPLv2 # or later
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/Local/Tools/gsks \
${STAGEDIR}${PREFIX}/GNUstep/Local/Library/Frameworks/GSKrab.framework/Versions/0/libGSKrab.so
.include <bsd.port.mk>