freebsd-ports/news/husky-base-devel/Makefile.inc
Baptiste Daroussin 55c7913e0e Do not define gmake usage after pre.mk
While here:
- trim headers
- convert to uses=gmake
- remove now useless pre.mk/post.mk dancing
2013-07-12 12:28:43 +00:00

23 lines
467 B
Makefile

#
# $FreeBSD$
#
PKGNAMEPREFIX= husky-
PKGNAMESUFFIX= -devel
DIST_SUBDIR= husky
WRKSRC?= ${WRKDIR}/${PORTNAME}
ONLY_FOR_ARCHS= i386
.if ${PORTNAME} != "base"
BUILD_DEPENDS= ${LOCALBASE}/etc/fido/huskymak.cfg:${PORTSDIR}/news/husky-base-devel
USES+= gmake
MAKE_ARGS+= PREFIX="${PREFIX}" \
CC="${CC}" CXX="${CXX}" GPP="${CXX}" MKSHARED="${CC}" \
OPTCFLAGS="-c ${CFLAGS}" WARNFLAGS=""
pre-build:
@${LN} -sf ${LOCALBASE}/etc/fido/huskymak.cfg ${WRKDIR}
.endif