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

PKGNAMEPREFIX=  husky-
MASTER_SITES?=  ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= husky
DIST_SUBDIR=    husky

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

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

USE_GMAKE=  yes

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