| @@ -1,27 +1,28 @@ | | | @@ -1,27 +1,28 @@ |
1 | # $NetBSD: Makefile,v 1.9 2018/08/14 12:34:45 pgoyette Exp $ | | 1 | # $NetBSD: Makefile,v 1.10 2018/09/27 19:38:46 tnn Exp $ |
2 | | | 2 | |
3 | # no Release yet | | 3 | # no Release yet |
4 | GIT_COMMIT= 84da8192c7c409f37c1906b60ef166c58aafc847 | | 4 | GIT_COMMIT= 84da8192c7c409f37c1906b60ef166c58aafc847 |
5 | DISTNAME= i2c-tools-${GIT_COMMIT} | | 5 | DISTNAME= i2c-tools-${GIT_COMMIT} |
6 | PKGNAME= decode-dimms-0.0.20181205 | | 6 | PKGNAME= decode-dimms-0.0.20181205 |
7 | CATEGORIES= sysutils | | 7 | CATEGORIES= sysutils |
8 | MASTER_SITES= https://git.kernel.org/pub/scm/utils/i2c-tools/i2c-tools.git/snapshot/ | | 8 | MASTER_SITES= https://git.kernel.org/pub/scm/utils/i2c-tools/i2c-tools.git/snapshot/ |
9 | | | 9 | |
10 | MAINTAINER= pgoyette@NetBSD.org | | 10 | MAINTAINER= pgoyette@NetBSD.org |
11 | HOMEPAGE= https://git.kernel.org/pub/scm/utils/i2c-tools/ | | 11 | HOMEPAGE= https://git.kernel.org/pub/scm/utils/i2c-tools/ |
12 | COMMENT= Decode memory DIMM SPD ROM info | | 12 | COMMENT= Decode memory DIMM SPD ROM info |
13 | LICENSE= gnu-gpl-v2 | | 13 | LICENSE= gnu-gpl-v2 |
14 | | | 14 | |
| | | 15 | USE_TOOLS+= perl:run |
15 | REPLACE_PERL= eeprom/decode-dimms | | 16 | REPLACE_PERL= eeprom/decode-dimms |
16 | | | 17 | |
17 | SUBST_CLASSES+= rev | | 18 | SUBST_CLASSES+= rev |
18 | SUBST_STAGE.rev= pre-patch | | 19 | SUBST_STAGE.rev= pre-patch |
19 | SUBST_FILES.rev= eeprom/decode-dimms | | 20 | SUBST_FILES.rev= eeprom/decode-dimms |
20 | SUBST_SED.rev= -e 's/^$$revision = .*;/$$revision = "20171205-${GIT_COMMIT}";/' | | 21 | SUBST_SED.rev= -e 's/^$$revision = .*;/$$revision = "20171205-${GIT_COMMIT}";/' |
21 | SUBST_SED.rev+= -e '/^$$revision =~/d' | | 22 | SUBST_SED.rev+= -e '/^$$revision =~/d' |
22 | | | 23 | |
23 | NO_BUILD= yes | | 24 | NO_BUILD= yes |
24 | | | 25 | |
25 | USE_LANGUAGES= # empty | | 26 | USE_LANGUAGES= # empty |
26 | | | 27 | |
27 | ONLY_FOR_PLATFORM= NetBSD-*-* | | 28 | ONLY_FOR_PLATFORM= NetBSD-*-* |