2004-01-19 07:24:52 +01:00
|
|
|
# New ports collection makefile for: harbour
|
|
|
|
# Date created: 9 May 2003
|
|
|
|
# Whom: David G. Holm <harbour@netfang.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2004-03-18 12:57:20 +01:00
|
|
|
PORTNAME= harbour
|
2009-05-11 02:14:24 +02:00
|
|
|
PORTVERSION= 1.0.1
|
2004-03-18 12:57:20 +01:00
|
|
|
CATEGORIES= lang
|
2009-05-11 02:14:24 +02:00
|
|
|
MASTER_SITES= SF
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}-project
|
2004-01-19 07:24:52 +01:00
|
|
|
|
2009-02-08 04:14:14 +01:00
|
|
|
MAINTAINER= pgollucci@FreeBSD.org
|
2004-03-18 12:57:20 +01:00
|
|
|
COMMENT= An open source Clipper-compatible compiler
|
2004-01-19 07:24:52 +01:00
|
|
|
|
2009-02-08 04:14:14 +01:00
|
|
|
LIB_DEPENDS= slang.2:${PORTSDIR}/devel/libslang2
|
2009-05-11 02:14:24 +02:00
|
|
|
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash
|
2009-06-18 22:51:13 +02:00
|
|
|
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
|
2004-01-19 07:24:52 +01:00
|
|
|
|
2009-06-18 22:51:13 +02:00
|
|
|
MAKE_JOBS_SAFE= yes
|
2009-05-16 08:27:56 +02:00
|
|
|
|
2007-10-17 12:13:01 +02:00
|
|
|
USE_BISON= build
|
2004-03-18 12:57:20 +01:00
|
|
|
USE_GMAKE= yes
|
2004-01-19 07:24:52 +01:00
|
|
|
|
2009-05-11 02:14:24 +02: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 11:22:00 +01:00
|
|
|
|
2004-08-03 21:23:16 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2009-05-11 02:14:24 +02:00
|
|
|
MAKE_ENV+= HB_DOC_INSTALL=${HB_DOC_INSTALL}
|
2004-08-03 21:23:16 +02:00
|
|
|
.endif
|
2009-05-11 02:14:24 +02: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 21:23:16 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2009-05-11 02:14:24 +02:00
|
|
|
${MKDIR} ${DOCSDIR}/
|
2004-08-03 21:23:16 +02:00
|
|
|
.endif
|
2004-01-19 07:24:52 +01:00
|
|
|
|
2005-04-08 21:19:39 +02:00
|
|
|
.include <bsd.port.mk>
|