Menu

[r2127]: / trunk / build / mk / bsd.freenas.mk  Maximize  Restore  History

Download this file

40 lines (33 with data), 1.2 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
################################################################
# This is the master file for the most common elements to all
# FreeNAS Makefile.
#
# Copyright (C) 2007 Volker Theile <votdev@gmx.de>.
#
# Parts of code taken from FreeBSD <bsd.port.mk>.
################################################################
# Check if environment variables are set.
.for variable in FREENAS_ROOTFS FREENAS_SVNDIR FREENAS_PRODUCTNAME FREENAS_KERNCONF FREENAS_OBJDIRPREFIX
.if !defined(${variable})
check-makevars::
@${ECHO_MSG} "${PKGNAME}: Environment error: '${variable}' not defined."
@${FALSE}
.endif
.endfor
# No files are needed to be fetched if MASTER_SITES is not defined.
.if !defined(MASTER_SITES)
DISTFILES?=
.endif
# No manpages are installed for this port.
NO_INSTALL_MANPAGES?= 1
# Don't register a port installation as a package.
NO_PKG_REGISTER?= 1
################################################################
# Special configuration if port depends on other ports:
# - Always clean and build port but do not install it.
################################################################
.if defined(BUILD_DEPENDS)
ALWAYS_BUILD_DEPENDS= 1
DEPENDS_TARGET= clean build
.endif
.include <bsd.port.mk>
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.