2004-01-19 06:24:52 +00:00
|
|
|
# New ports collection makefile for: harbour
|
|
|
|
# Date created: 9 May 2003
|
|
|
|
# Whom: David G. Holm <harbour@netfang.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2004-03-18 11:57:20 +00:00
|
|
|
PORTNAME= harbour
|
2009-05-11 00:14:24 +00:00
|
|
|
PORTVERSION= 1.0.1
|
2010-03-28 06:47:48 +00:00
|
|
|
PORTREVISION= 1
|
2004-03-18 11:57:20 +00:00
|
|
|
CATEGORIES= lang
|
2009-08-22 00:24:37 +00:00
|
|
|
MASTER_SITES= SF/${PORTNAME}-project/source/${PORTVERSION}
|
2004-01-19 06:24:52 +00:00
|
|
|
|
2010-04-27 01:41:02 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2004-03-18 11:57:20 +00:00
|
|
|
COMMENT= An open source Clipper-compatible compiler
|
2004-01-19 06:24:52 +00:00
|
|
|
|
2009-02-08 03:14:14 +00:00
|
|
|
LIB_DEPENDS= slang.2:${PORTSDIR}/devel/libslang2
|
2009-05-11 00:14:24 +00:00
|
|
|
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash
|
2009-06-18 20:51:13 +00:00
|
|
|
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
|
2004-01-19 06:24:52 +00:00
|
|
|
|
2009-06-18 20:51:13 +00:00
|
|
|
MAKE_JOBS_SAFE= yes
|
2009-05-16 06:27:56 +00:00
|
|
|
|
2007-10-17 10:13:01 +00:00
|
|
|
USE_BISON= build
|
2004-03-18 11:57:20 +00:00
|
|
|
USE_GMAKE= yes
|
2004-01-19 06:24:52 +00:00
|
|
|
|
2009-05-11 00:14:24 +00:00
|
|
|
HB_WITHOUT_X11= yes
|
|
|
|
HB_ARCHITECTURE= bsd
|
|
|
|
HB_COMPILER= gcc
|
|
|
|
HB_GT_LIB= gtsln
|
|
|
|
|
|
|
|
HB_BIN_INSTALL= ${LOCALBASE}/bin
|
|
|
|
HB_DOC_INSTALL= ${DOCSDIR}
|
|
|
|
HB_LIB_INSTALL= ${LOCALBASE}/lib
|
|
|
|
HB_INC_INSTALL= ${LOCALBASE}/include
|
|
|
|
|
|
|
|
MAKE_ENV+= HB_ARCHITECTURE=${HB_ARCHITECTURE} \
|
|
|
|
HB_COMPILER=${HB_COMPILER} \
|
|
|
|
HB_GT_LIB=${HB_GT_LIB} \
|
|
|
|
HB_BIN_INSTALL=${HB_BIN_INSTALL} \
|
|
|
|
HB_LIB_INSTALL=${HB_LIB_INSTALL} \
|
|
|
|
HB_INC_INSTALL=${HB_INC_INSTALL} \
|
|
|
|
HB_WITHOUT_X11=${HB_WITHOUT_X11}
|
2004-03-13 10:22:00 +00:00
|
|
|
|
2004-08-03 19:23:16 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2009-08-15 08:32:15 +00:00
|
|
|
MAKE_ENV+= HB_DOC_INSTALL=${HB_DOC_INSTALL}
|
2004-08-03 19:23:16 +00:00
|
|
|
.endif
|
2009-05-11 00:14:24 +00:00
|
|
|
|
|
|
|
PORTDOCS= *.txt genhtm.bat genhtm.lnk genhtm.rsp
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
(cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${SH} ./make_gnu.sh)
|
|
|
|
|
|
|
|
pre-install:
|
2004-08-03 19:23:16 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2009-05-11 00:14:24 +00:00
|
|
|
${MKDIR} ${DOCSDIR}/
|
2004-08-03 19:23:16 +00:00
|
|
|
.endif
|
2004-01-19 06:24:52 +00:00
|
|
|
|
2009-08-15 08:32:15 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${ARCH} == "amd64"
|
|
|
|
BROKEN= Leaves files behind on deinstall
|
|
|
|
.elif ${ARCH} == "sparc64"
|
|
|
|
BROKEN= Does not compile on sparc64: assertion failed
|
2010-03-20 15:45:21 +00:00
|
|
|
.elif ${OSVERSION} > 900007
|
|
|
|
BROKEN= fails to build with new utmpx
|
2009-08-15 08:32:15 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|