55c7913e0e
While here: - trim headers - convert to uses=gmake - remove now useless pre.mk/post.mk dancing
23 lines
467 B
Makefile
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
|