svn commit: r487799 - head/devel/evdev-proto
Niclas Zeising
zeising at FreeBSD.org
Wed Dec 19 14:44:13 UTC 2018
Author: zeising
Date: Wed Dec 19 14:44:12 2018
New Revision: 487799
URL: https://svnweb.freebsd.org/changeset/ports/487799
Log:
devel/evdev-proto: cleanup makefile
Clean up makefile,
Use DIST_SUBDIR since distfiles are unversioned.
Use DISTFILES instead of DISTNAME
add NO_WRKSUBDIR
Reviewed by: mat
Differential Revision: https://reviews.freebsd.org/D18609
Modified:
head/devel/evdev-proto/Makefile
head/devel/evdev-proto/distinfo
Modified: head/devel/evdev-proto/Makefile
==============================================================================
--- head/devel/evdev-proto/Makefile Wed Dec 19 13:50:56 2018 (r487798)
+++ head/devel/evdev-proto/Makefile Wed Dec 19 14:44:12 2018 (r487799)
@@ -4,8 +4,8 @@ PORTNAME= evdev-proto
PORTVERSION= 4.19
CATEGORIES= devel
MASTER_SITES= https://github.com/torvalds/linux/raw/v${PORTVERSION}/include/uapi/linux/
-DISTNAME= input.h input-event-codes.h uinput.h
-EXTRACT_SUFX= # empty
+DISTFILES= input.h input-event-codes.h uinput.h
+DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
MAINTAINER= x11 at FreeBSD.org
COMMENT= Input event device header files
@@ -14,14 +14,14 @@ LICENSE= GPLv2
NO_BUILD= yes
NO_ARCH= yes
-WRKSRC= ${WRKDIR}
+NO_WRKSUBDIR= yes
-PLIST_FILES= ${DISTNAME:S|^|include/linux/|}
+PLIST_FILES= ${DISTFILES:S|^|include/linux/|}
do-extract:
@${MKDIR} ${WRKSRC}
-.for i in ${DISTNAME}
- @${CP} ${DISTDIR}/${i} ${WRKSRC}
+.for i in ${DISTFILES}
+ @${CP} ${DISTDIR}/${DIST_SUBDIR}/${i} ${WRKSRC}
.endfor
post-patch:
@@ -50,7 +50,7 @@ post-patch:
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/include/linux/
-.for i in ${DISTNAME}
+.for i in ${DISTFILES}
${INSTALL_DATA} ${WRKSRC}/${i} \
${STAGEDIR}${PREFIX}/include/linux/
.endfor
Modified: head/devel/evdev-proto/distinfo
==============================================================================
--- head/devel/evdev-proto/distinfo Wed Dec 19 13:50:56 2018 (r487798)
+++ head/devel/evdev-proto/distinfo Wed Dec 19 14:44:12 2018 (r487799)
@@ -1,7 +1,7 @@
-TIMESTAMP = 1544273147
-SHA256 (input.h) = 6daff6404fe93484d1c53f8f8bd49d3ae2094f3c1b41871e05a9ba5c8eecc420
-SIZE (input.h) = 15929
-SHA256 (input-event-codes.h) = a736ca688b6d5fd5d0f52d77b620387dd1f0d360ebba53106ca7be96a8231249
-SIZE (input-event-codes.h) = 24313
-SHA256 (uinput.h) = 9123b078f13047c34797332c4f835e5f1e418387e9a950024920faa5a1186974
-SIZE (uinput.h) = 9276
+TIMESTAMP = 1545220953
+SHA256 (evdev-proto-4.19/input.h) = 6daff6404fe93484d1c53f8f8bd49d3ae2094f3c1b41871e05a9ba5c8eecc420
+SIZE (evdev-proto-4.19/input.h) = 15929
+SHA256 (evdev-proto-4.19/input-event-codes.h) = a736ca688b6d5fd5d0f52d77b620387dd1f0d360ebba53106ca7be96a8231249
+SIZE (evdev-proto-4.19/input-event-codes.h) = 24313
+SHA256 (evdev-proto-4.19/uinput.h) = 9123b078f13047c34797332c4f835e5f1e418387e9a950024920faa5a1186974
+SIZE (evdev-proto-4.19/uinput.h) = 9276
More information about the svn-ports-all
mailing list