60d1a83c2a
- Replace ${MASTER_SITE_FOO} with FOO. - Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9% of the time.) - Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and no hint of what it should be was present. - Fix some logic. - And generally, make things more simple and easy to understand. While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and SAMBA macros. Also, replace some EXTRACT_SUFX occurences with USES=tar:*. Checked by: make fetch-urlall-list With hat: portmgr Sponsored by: Absolight
30 lines
680 B
Makefile
30 lines
680 B
Makefile
# Created by: Yoshiro MIHIRA <sanpei@sanpei.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= xkbctrl
|
|
PORTVERSION= 1.0
|
|
PORTREVISION= 2
|
|
CATEGORIES= x11
|
|
MASTER_SITES= XORG/unsupported/test/Xkb/programs
|
|
DISTFILES= Imakefile xkbctrl.c
|
|
|
|
MAINTAINER= sanpei@FreeBSD.org
|
|
COMMENT= Display and manipulate XKB keyboard controls from the commandline
|
|
|
|
DIST_SUBDIR= xkbctrl
|
|
PLIST_FILES= bin/xkbctrl
|
|
USES= imake
|
|
USE_XORG= x11 xkbfile
|
|
NO_WRKSUBDIR= yes
|
|
|
|
do-extract:
|
|
@${RM} -rf ${WRKDIR}
|
|
@${MKDIR} ${WRKDIR}
|
|
@for _file in ${DISTFILES}; do \
|
|
${CP} ${DISTDIR}/${DIST_SUBDIR}/$${_file} ${WRKSRC}; \
|
|
done
|
|
|
|
do-install:
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|