Menu

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

Download this file

51 lines (39 with data), 1.5 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
40
41
42
43
44
45
46
47
48
49
50
################################################################
# This file contains macros (defaults) used in
# FreeNAS packages/plugins Makefiles.
#
# Copyright (C) 2007 Volker Theile <votdev@gmx.de>.
################################################################
# Check if environment variables are set.
.for variable in FREENAS_ROOTDIR FREENAS_PRODUCTNAME FREENAS_VERSION
.if !defined(${variable})
check-makevars::
@${ECHO_MSG} "${PKGNAME}: Environment error: '${variable}' not defined."
@${FALSE}
.endif
.endfor
# No files are needed to be fetched for this package.
DISTFILES?=
# No build is required for this package.
NO_BUILD?= 1
# No manpages are installed for this package.
NO_INSTALL_MANPAGES?= 1
# Overwrite any existing package registration information.
FORCE_PKG_REGISTER?= 1
# A top level directory where all packages go.
PACKAGES?= ${FREENAS_ROOTDIR}/packages
# The temporary working directory.
WRKDIR?= ${PACKAGES}/work/${PORTNAME}
# Suffix to specify compilation options.
PKGNAMESUFFIX?= -${FREENAS_PRODUCTNAME}
# Version of software.
PORTVERSION?= ${FREENAS_VERSION}
################################################################
# Special configuration if package depends on a port:
# - 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.