aboutsummaryrefslogtreecommitdiffstats
path: root/lang/harbour/Makefile
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2004-01-19 14:24:52 +0800
committerlinimon <linimon@FreeBSD.org>2004-01-19 14:24:52 +0800
commitb50fbeca91f8c1c064c084c8153cc06f808bcd1c (patch)
treef5e8f00bb4a79ef08bcbed61b71afa75dd909d56 /lang/harbour/Makefile
parentd1233551f892c63a60402bb675857cc6ce770d5f (diff)
downloadfreebsd-ports-gnome-b50fbeca91f8c1c064c084c8153cc06f808bcd1c.tar.gz
freebsd-ports-gnome-b50fbeca91f8c1c064c084c8153cc06f808bcd1c.tar.zst
freebsd-ports-gnome-b50fbeca91f8c1c064c084c8153cc06f808bcd1c.zip
Add lang/harbour, an open source Clipper-compatible compiler.
PR: ports/52016 Submitted by: David G. Holm <harbour@netfang.net>
Diffstat (limited to 'lang/harbour/Makefile')
-rw-r--r--lang/harbour/Makefile87
1 files changed, 87 insertions, 0 deletions
diff --git a/lang/harbour/Makefile b/lang/harbour/Makefile
new file mode 100644
index 000000000000..6998e00ca77f
--- /dev/null
+++ b/lang/harbour/Makefile
@@ -0,0 +1,87 @@
+# New ports collection makefile for: harbour
+# Date created: 9 May 2003
+# Whom: David G. Holm <harbour@netfang.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= harbour
+PORTVERSION= 0.43.2
+PORTREVISION= 0
+CATEGORIES= lang
+MASTER_SITES= ftp://ftp.jsd0.com/public/harbour/dgh/
+
+MAINTAINER= harbour@netfang.net
+COMMENT= An open source Clipper-compatible compiler
+
+WRKSRC=${WRKDIR}
+
+USE_BISON=yes
+USE_FLEX=yes
+USE_GMAKE=yes
+NO_INSTALL_MANPAGES=yes
+
+LIB_DEPENDS= slang.1:${PORTSDIR}/devel/libslang
+
+HB_DIR=${WRKDIR}/${PORTNAME}
+
+.if defined(NOPORTDOCS)
+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_DATA} ${HB_DIR}/include/hb* ${PREFIX}/include
+ ${INSTALL_DATA} ${HB_DIR}/lib/*.a ${PREFIX}/lib
+ .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 @
+ -@echo @ See pkg-plist for a list of all installed files.
+ -@echo @
+ -@echo @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
+ -@echo
+.else
+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
+ ${MKDIR} ${PREFIX}/share/doc/harbour
+ ${INSTALL_MAN} ${HB_DIR}/doc/*.txt ${PREFIX}/share/doc/harbour
+ ${MKDIR} ${PREFIX}/share/doc/harbour/en
+ ${INSTALL_MAN} ${HB_DIR}/doc/en/*.txt ${PREFIX}/share/doc/harbour/en
+ ${MKDIR} ${PREFIX}/share/doc/harbour/es
+ ${INSTALL_MAN} ${HB_DIR}/doc/es/*.txt ${PREFIX}/share/doc/harbour/es
+ -@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 @
+ -@echo @ Documentation files are installed in ${PREFIX}/share/doc/harbour,
+ -@echo @ ${PREFIX}/share/doc/harbour/en, and ${PREFIX}/share/doc/harbour/es.
+ -@echo @
+ -@echo @ See pkg-plist for a list of all installed files.
+ -@echo @
+ -@echo @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
+ -@echo
+.endif
+
+.include <bsd.port.mk>