aboutsummaryrefslogtreecommitdiffstats
path: root/news/husky-base/Makefile.inc
blob: 4690657a5a1cc609b0fa6c6a631660b12147985d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#
# $Id$
#

PKGNAMEPREFIX=  husky-
DIST_SUBDIR=    husky

WRKSRC?=    ${WRKDIR}/${PORTNAME}

.if ${PORTNAME} != "base"
BUILD_DEPENDS=  ${LOCALBASE}/etc/fido/huskymak.cfg:${PORTSDIR}/news/husky-base

USES+=      gmake

MAKE_ARGS+= PREFIX="${PREFIX}" LOCALBASE="${LOCALBASE}" \
        CC="${CC}" CXX="${CXX}" GPP="${CXX}" MKSHARED="${CC}" \
        OPTCFLAGS="-c ${CFLAGS}" WARNFLAGS=""

pre-build:
    @${LN} -sf ${LOCALBASE}/etc/fido/huskymak.cfg ${WRKDIR}
.endif