diff options
Diffstat (limited to 'sysutils/mcelog/Makefile')
-rw-r--r-- | sysutils/mcelog/Makefile | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/sysutils/mcelog/Makefile b/sysutils/mcelog/Makefile new file mode 100644 index 000000000000..84058cf05e78 --- /dev/null +++ b/sysutils/mcelog/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: mcelog +# Date created: 1 October 2011 +# Whom: Jeremy Chadwick <freebsd@jdc.parodius.com> +# +# $FreeBSD$ +# + +PORTNAME= mcelog +DISTVERSION= 1.0pre2 +CATEGORIES= sysutils +MASTER_SITES= ftp://ftp.kernel.org/pub/linux/utils/cpu/mce/ \ + http://147.52.159.12/mirrors/ftp.kernel.org/pub/linux/utils/cpu/mce/ + +MAINTAINER= freebsd@jdc.parodius.com +COMMENT= Collects and decodes Machine Check Exception data + +LICENSE= GPLv2 + +PATCH_STRIP= -p1 + +USE_GMAKE= yes +MAKE_ENV+= FREEBSD=1 +LDFLAGS= -lkvm + +PLIST_FILES= bin/mcelog +MAN8= mcelog.8 + +post-patch: + @${CP} ${FILESDIR}/memstream.c ${WRKSRC}/memstream.c + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/mcelog ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/mcelog.8 ${MAN8PREFIX}/man/man8 + +post-install: + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> |