]> CyberLeo.Net >> Repos - CDN/cdn-ports-overlay.git/blob - Mk/bsd.local.mk
Hopefully portshaker-compatible
[CDN/cdn-ports-overlay.git] / Mk / bsd.local.mk
1 # -*- mode: Makefile; tab-width: 4; -*-
2 # ex: ts=4
3 #
4 # bsd.local.mk - Sandbox for local modification to ports framework.
5 #
6 # Created by: Mark Linimon <linimon@FreeBSD.org>
7 #
8 # $FreeBSD: ports/Mk/bsd.local.mk,v 1.2 2006/12/10 18:15:33 linimon Exp $
9 #
10
11 .if !defined(_POSTMKINCLUDED) && !defined(Local_Pre_Include)
12
13 Local_Pre_Include=              bsd.local.mk
14
15 .if defined(STRIP_PERL5)
16   PKGNAMESUFFIX := $(PKGNAMESUFFIX)+noperl
17 . undef USE_PERL5
18 . undef USE_PERL5_BUILD
19 . undef USE_PERL5_RUN
20 .elif defined(STRIP_PERL5_BUILD)
21   USE_PERL5_RUN := ${USE_PERL5}
22 . undef USE_PERL5
23 . undef USE_PERL5_BUILD
24 .elif defined(STRIP_PERL5_RUN)
25   PKGNAMESUFFIX := $(PKGNAMESUFFIX)+noperl
26   USE_PERL5_BUILD := ${USE_PERL5}
27 . undef USE_PERL5
28 . undef USE_PERL5_RUN
29 .endif
30
31 .if defined(STRIP_PYTHON)
32   PKGNAMESUFFIX := $(PKGNAMESUFFIX)+nopython
33 . undef USE_PYTHON
34 . undef USE_PYTHON_BUILD
35 . undef USE_PYTHON_RUN
36 .elif defined(STRIP_PYTHON_BUILD)
37   USE_PYTHON_RUN := ${USE_PYTHON}
38 . undef USE_PYTHON
39 . undef USE_PYTHON_BUILD
40 .elif defined(STRIP_PYTHON_RUN)
41   PKGNAMESUFFIX := $(PKGNAMESUFFIX)+nopython
42   USE_PYTHON_BUILD := ${USE_PYTHON}
43 . undef USE_PYTHON
44 . undef USE_PYTHON_RUN
45 .endif
46
47 #
48 # Here is where any code that needs to run at bsd.port.pre.mk inclusion
49 # time should live.
50 #
51
52 .endif # !defined(_POSTMKINCLUDED) && !defined(Local_Pre_Include)
53
54 .if defined(_POSTMKINCLUDED) && !defined(Local_Post_Include)
55
56 Local_Post_Include=     bsd.local.mk
57
58 #
59 # here is where any code that needs to run at bsd.port.post.mk inclusion
60 # time should live.
61 #
62
63 .endif # defined(_POSTMKINCLUDED) && !defined(Local_Post_Include)