diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2016-12-29 16:52:37 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2016-12-29 16:52:37 +0800 |
commit | f3b25518362d9b0713fdb429e23f135c0cb07ff4 (patch) | |
tree | cafb92a1480fec95e61cc79638535da10ee61200 /sysutils/x86info | |
parent | 55f6c58b6581945d6179a756c54081b6c994eab6 (diff) | |
download | freebsd-ports-gnome-f3b25518362d9b0713fdb429e23f135c0cb07ff4.tar.gz freebsd-ports-gnome-f3b25518362d9b0713fdb429e23f135c0cb07ff4.tar.zst freebsd-ports-gnome-f3b25518362d9b0713fdb429e23f135c0cb07ff4.zip |
- Add LICENSE_FILE
- Remove bogus (in presence of USE_GITHUB) USES=tar*
- Pet portlint
Diffstat (limited to 'sysutils/x86info')
-rw-r--r-- | sysutils/x86info/Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/sysutils/x86info/Makefile b/sysutils/x86info/Makefile index f350e4d7e73e..d4dc48eb68f1 100644 --- a/sysutils/x86info/Makefile +++ b/sysutils/x86info/Makefile @@ -9,17 +9,19 @@ MAINTAINER= ports@FreeBSD.org COMMENT= x86 CPU identification and feature display utility LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpci.so:devel/libpci ONLY_FOR_ARCHS= i386 amd64 -USES= gmake pkgconfig python:build tar:tgz USE_GITHUB= yes GH_ACCOUNT= kernelslacker GH_PROJECT= x86info GH_TAGNAME= 636fbaa +USES= gmake pkgconfig python:build + PLIST_FILES= bin/lsmsr bin/x86info man/man8/lsmsr.8.gz man/man1/x86info.1.gz .include <bsd.port.pre.mk> @@ -28,6 +30,11 @@ PLIST_FILES= bin/lsmsr bin/x86info man/man8/lsmsr.8.gz man/man1/x86info.1.gz USE_GCC= yes .endif +post-patch: + @${REINPLACE_CMD} \ + -e 's|python createheader.py|${PYTHON_CMD} createheader.py|' \ + ${WRKSRC}/lsmsr/Makefile + do-build: @cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${_MAKE_JOBS} ${MAKE_ARGS} @cd ${WRKSRC}/lsmsr ; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${_MAKE_JOBS} ${MAKE_ARGS} @@ -38,9 +45,4 @@ do-install: ${INSTALL_MAN} ${WRKSRC}/x86info.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/lsmsr/lsmsr.8 ${STAGEDIR}${MAN8PREFIX}/man/man8 -post-patch: - @${REINPLACE_CMD} \ - -e 's|python createheader.py|${PYTHON_CMD} createheader.py|' \ - ${WRKSRC}/lsmsr/Makefile - .include <bsd.port.post.mk> |