1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/sysutils/sample/Makefile
Mathieu Arnold 77f8276a88 Github cleanup.
- Use the version tag instead of commit hash when they're the same.
- Remove unnneeded variables.
- Simplify go- ports when possible.
- Various fixes.

Sponsored by:	Absolight
2016-06-01 13:15:36 +00:00

37 lines
845 B
Makefile

# $FreeBSD$
PORTNAME= sample
PORTVERSION= 0.02f
PORTREVISION= 1
CATEGORIES= sysutils
MAINTAINER= wg@FreeBSD.org
COMMENT= Examine periodic stack traces of all running processes
LICENSE= BSD3CLAUSE
BROKEN_powerpc64= Does not build
BUILD_DEPENDS= ${LOCALBASE}/lib/libbfd.a:devel/libbfd \
${LOCALBASE}/lib/libiberty.a:devel/gnulibiberty \
${LOCALBASE}/lib/libxo.a:devel/libxo \
${LOCALBASE}/bin/cython:lang/cython \
${LOCALBASE}/bin/python:lang/python
USE_GITHUB= yes
GH_ACCOUNT= freenas
GH_TAGNAME= 45e2b86
USES= python:build kmod
MAKE_ENV= SYSDIR=${SRC_BASE}/sys
SSP_UNSAFE= YES
do-install:
${INSTALL_KLD} ${WRKSRC}/driver/sample_driver.ko ${STAGEDIR}${KMODDIR}
${INSTALL_MAN} ${WRKSRC}/sample/sample.8 ${STAGEDIR}${PREFIX}/man/man8
${INSTALL_PROGRAM} ${WRKSRC}/sample/sample ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>