summaryrefslogblamecommitdiff
path: root/x11/gskrab/Makefile
blob: fce165928bd29fb799b75167db0a6d8c55c0efcf (plain) (tree)
1
2
3
4
5
6
7
8
9
           


                      
                 
                           


                                                         
                                 

                                        

                                 
 


                                          
 
                                                                                     
 


                                                                                
             

                                                                                                               
 
                      
# $FreeBSD$

PORTNAME=	gskrab
PORTVERSION=	0.0.1
PORTREVISION=	6
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/System/Tools/gsks \
		${STAGEDIR}${PREFIX}/GNUstep/System/Library/Frameworks/GSKrab.framework/Versions/0/libGSKrab.so

.include <bsd.port.mk>