mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
8a7cf99eb9
I have no ability to test and fix the build on other platforms.
33 lines
669 B
Makefile
33 lines
669 B
Makefile
#
|
|
# $Id$
|
|
#
|
|
|
|
PKGNAMEPREFIX= husky-
|
|
#MASTER_SITES= http://www.physcip.uni-stuttgart.de:8080/fidosoft.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}" \
|
|
CC="${CC}" CXX="${CXX}" GPP="${CXX}" MKSHARED="${CC}" \
|
|
OPTCFLAGS="-c ${CFLAGS}" WARNFLAGS=""
|
|
|
|
.if !defined(WITHOUT_PERL)
|
|
MAKE_ARGS+= PERL=1
|
|
USE_PERL5= yes
|
|
.else
|
|
MAKE_ARGS+= PERL=0
|
|
.endif
|
|
|
|
pre-build:
|
|
@${LN} -sf ${LOCALBASE}/etc/fido/huskymak.cfg ${WRKDIR}
|
|
.endif
|