1 # -*- mode: Makefile; tab-width: 4; -*-
4 # bsd.local.mk - Sandbox for local modification to ports framework.
6 # Created by: Mark Linimon <linimon@FreeBSD.org>
8 # $FreeBSD: ports/Mk/bsd.local.mk,v 1.2 2006/12/10 18:15:33 linimon Exp $
11 .if !defined(_POSTMKINCLUDED) && !defined(Local_Pre_Include)
13 Local_Pre_Include= bsd.local.mk
15 .if defined(STRIP_PERL5)
16 PKGNAMESUFFIX := $(PKGNAMESUFFIX)+noperl
18 . undef USE_PERL5_BUILD
20 .elif defined(STRIP_PERL5_BUILD)
21 USE_PERL5_RUN := ${USE_PERL5}
23 . undef USE_PERL5_BUILD
24 .elif defined(STRIP_PERL5_RUN)
25 PKGNAMESUFFIX := $(PKGNAMESUFFIX)+noperl
26 USE_PERL5_BUILD := ${USE_PERL5}
31 .if defined(STRIP_PYTHON)
32 PKGNAMESUFFIX := $(PKGNAMESUFFIX)+nopython
34 . undef USE_PYTHON_BUILD
35 . undef USE_PYTHON_RUN
36 .elif defined(STRIP_PYTHON_BUILD)
37 USE_PYTHON_RUN := ${USE_PYTHON}
39 . undef USE_PYTHON_BUILD
40 .elif defined(STRIP_PYTHON_RUN)
41 PKGNAMESUFFIX := $(PKGNAMESUFFIX)+nopython
42 USE_PYTHON_BUILD := ${USE_PYTHON}
44 . undef USE_PYTHON_RUN
48 # Here is where any code that needs to run at bsd.port.pre.mk inclusion
52 .endif # !defined(_POSTMKINCLUDED) && !defined(Local_Pre_Include)
54 .if defined(_POSTMKINCLUDED) && !defined(Local_Post_Include)
56 Local_Post_Include= bsd.local.mk
59 # here is where any code that needs to run at bsd.port.post.mk inclusion
63 .endif # defined(_POSTMKINCLUDED) && !defined(Local_Post_Include)