63f77f3ea0
Approved by: portmgr (self)
72 lines
2.1 KiB
Makefile
72 lines
2.1 KiB
Makefile
# New ports collection makefile for: harbour
|
|
# Date created: 9 May 2003
|
|
# Whom: David G. Holm <harbour@netfang.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= harbour
|
|
PORTVERSION= 0.44.0
|
|
CATEGORIES= lang
|
|
MASTER_SITES= ftp://ftp.jsd0.com/public/harbour/dgh/
|
|
|
|
MAINTAINER= harbour@netfang.net
|
|
COMMENT= An open source Clipper-compatible compiler
|
|
|
|
LIB_DEPENDS= slang.1:${PORTSDIR}/devel/libslang
|
|
|
|
# Not 64-bit clean
|
|
ONLY_FOR_ARCHS= i386
|
|
WRKSRC= ${WRKDIR}
|
|
USE_BISON= yes
|
|
USE_FLEX= yes
|
|
USE_GMAKE= yes
|
|
NO_INSTALL_MANPAGES=yes
|
|
|
|
HB_DIR= ${WRKDIR}/${PORTNAME}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} >= 502126
|
|
BROKEN= "Broken by make(1) changes on FreeBSD >= 5.x"
|
|
.endif
|
|
|
|
post-install:
|
|
${INSTALL_PROGRAM} ${HB_DIR}/bin/harbour ${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${HB_DIR}/bin/hbdoc ${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${HB_DIR}/bin/hbmake ${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${HB_DIR}/bin/hbpp ${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${HB_DIR}/bin/hbrun ${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${HB_DIR}/bin/hbtest ${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${HB_DIR}/bin/hbverfix ${PREFIX}/bin
|
|
${INSTALL_DATA} ${HB_DIR}/include/hb* ${PREFIX}/include
|
|
${INSTALL_DATA} ${HB_DIR}/lib/*.a ${PREFIX}/lib
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_MAN} ${HB_DIR}/doc/*.txt ${DOCSDIR}
|
|
${MKDIR} ${DOCSDIR}/en
|
|
${INSTALL_MAN} ${HB_DIR}/doc/en/*.txt ${DOCSDIR}/en
|
|
${MKDIR} ${DOCSDIR}/es
|
|
${INSTALL_MAN} ${HB_DIR}/doc/es/*.txt ${DOCSDIR}/es
|
|
.endif
|
|
-@${ECHO}
|
|
-@${ECHO} @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
|
|
-@${ECHO} @
|
|
-@${ECHO} @ Executable files are installed in ${PREFIX}/bin.
|
|
-@${ECHO} @
|
|
-@${ECHO} @ Header files are installed in ${PREFIX}/include.
|
|
-@${ECHO} @
|
|
-@${ECHO} @ Library files are installed in ${PREFIX}/lib.
|
|
-@${ECHO} @
|
|
.if !defined(NOPORTDOCS)
|
|
-@${ECHO} @ Documentation files are installed in ${DOCSDIR},
|
|
-@${ECHO} @ ${DOCSDIR}/en, and ${DOCSDIR}/es.
|
|
-@${ECHO} @
|
|
.endif
|
|
-@${ECHO} @ See pkg-plist for a list of all installed files.
|
|
-@${ECHO} @
|
|
-@${ECHO} @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
|
|
-@${ECHO}
|
|
|
|
.include <bsd.port.post.mk>
|