freebsd-ports/devel/linux_kdump/Makefile
Mathieu Arnold 60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00

35 lines
900 B
Makefile

# Created by: msmith@FreeBSD.org
# $FreeBSD$
PORTNAME= linux_kdump
PORTVERSION= 1.5
PORTREVISION= 3
CATEGORIES= devel linux
MASTER_SITES= LOCAL/marcel
MAINTAINER= emulation@FreeBSD.org
COMMENT= Linux-compatibility ktrace.out processor
BUILD_DEPENDS= ${RUN_DEPENDS} # USE_LINUX_APPS only sets RUN_DEPENDS
USES= uidfix
USE_LINUX= yes
USE_LINUX_APPS= devtools
ONLY_FOR_ARCHS= i386 amd64
PLIST_FILES= bin/linux_kdump man/man1/linux_kdump.1.gz
.include <bsd.port.pre.mk>
pre-everything::
@${ECHO_MSG} '===> Using the FreeBSD source tree under ${SRC_BASE}'
@${ECHO_MSG} '===> Set SRC_BASE to use an alternate source tree'
.if !exists(${SRC_BASE}/sys/i386/linux/syscalls.master)
IGNORE= requires kernel source present in ${SRC_BASE}/sys
.endif
.if !exists(${SRC_BASE}/usr.bin/ktrace/subr.c)
IGNORE= requires ktrace source present in ${SRC_BASE}/usr.bin/ktrace
.endif
.include <bsd.port.post.mk>