aboutsummaryrefslogblamecommitdiff
path: root/x11/xkbctrl/Makefile
blob: 5ad9d7df569057669dc11b8d79bec0d845268444 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                
 
                       
                   
                 
                   
                                                  

                                   
                                 
                                                                                 
 


                                 
                       
                           
                          
                           


                   





                                                                      

           
                                                                         

                      
# Created by: Yoshiro MIHIRA <sanpei@sanpei.org>

PORTNAME=	xkbctrl
PORTVERSION=	1.0
PORTREVISION=	2
CATEGORIES=	x11
MASTER_SITES=	XORG/unsupported/test/Xkb/programs
DISTFILES=	Imakefile xkbctrl.c

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Display and manipulate XKB keyboard controls from the commandline

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/COPYING

DIST_SUBDIR=	xkbctrl
PLIST_FILES=	bin/xkbctrl
USES=		imake xorg
USE_XORG=	x11 xkbfile
NO_WRKSUBDIR=	yes

do-extract:
	@${RM} -r ${WRKSRC}
	@${MKDIR} ${WRKSRC}
	@for _file in ${DISTFILES}; do \
		${CP} ${DISTDIR}/${DIST_SUBDIR}/$${_file} ${WRKSRC}; \
	done
	@${SED} -n '3,24p' <${WRKSRC}/xkbctrl.c >${WRKSRC}/COPYING

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin

.include <bsd.port.mk>