aboutsummaryrefslogtreecommitdiff
path: root/graphics/hs-hgl/Makefile
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-05-25 10:56:32 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-05-25 10:56:32 +0000
commit41c7a6b6ed2f8fb64349b7dd9dc459aa7369f3ab (patch)
tree5b91c09e0dd3ed4924796ad15d74986a09fcd686 /graphics/hs-hgl/Makefile
parentd4e087ffcc2965eae490737e8dae97fe90ace3a2 (diff)
downloadports-41c7a6b6ed2f8fb64349b7dd9dc459aa7369f3ab.tar.gz
ports-41c7a6b6ed2f8fb64349b7dd9dc459aa7369f3ab.zip
Add hgl-2.0.4
HGL is graphics library for Hugs98, an implementation of Haskell 98. Submitted by: Byunghyun Oh <octaphial@yahoo.com> PR: ports/34193
Notes
Notes: svn path=/head/; revision=59972
Diffstat (limited to 'graphics/hs-hgl/Makefile')
-rw-r--r--graphics/hs-hgl/Makefile44
1 files changed, 44 insertions, 0 deletions
diff --git a/graphics/hs-hgl/Makefile b/graphics/hs-hgl/Makefile
new file mode 100644
index 000000000000..8ee83096c2d4
--- /dev/null
+++ b/graphics/hs-hgl/Makefile
@@ -0,0 +1,44 @@
+# New ports collection makefile for: hgl
+# Date created: 22 January 2002
+# Whom: octaphial
+#
+# $FreeBSD$
+#
+
+PORTNAME= hgl
+PORTVERSION= 2.0.4
+CATEGORIES= graphics
+MASTER_SITES= http://haskell.org/graphics/downloads/
+DISTNAME= graphics-${PORTVERSION}.src
+
+MAINTAINER= octaphial@yahoo.com
+
+RUN_DEPENDS= hugs:${PORTSDIR}/lang/hugs
+
+WRKSRC= ${WRKDIR}/graphics-${PORTVERSION}
+USE_GMAKE= yes
+
+BUILD_WRKSRC= ${WRKSRC}/lib/x11
+MAKE_ENV= system=FreeBSD \
+ hugs_install=${PREFIX}/share/hugs
+ALL_TARGET= all
+
+do-install:
+ ${MKDIR} ${PREFIX}/share/hugs/lib/x11
+ ${MKDIR} ${PREFIX}/share/hugs/demos/hgl
+ ${INSTALL_SCRIPT} ${PKGDIR}/scripts/hugs-hgl ${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/lib/x11/*.hs ${PREFIX}/share/hugs/lib/x11
+ ${INSTALL_PROGRAM} ${WRKSRC}/lib/x11/*.o ${PREFIX}/share/hugs/lib/x11
+ ${INSTALL_PROGRAM} ${WRKSRC}/lib/x11/*.so ${PREFIX}/share/hugs/lib/x11
+ ${INSTALL_DATA} ${WRKSRC}/demos/* ${PREFIX}/share/hugs/demos/hgl
+ ${INSTALL_DATA} ${WRKSRC}/test/* ${PREFIX}/share/hugs/demos/hgl
+
+post-install:
+ ${MKDIR} ${PREFIX}/share/doc/hgl
+ ${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/hgl
+ ${INSTALL_DATA} ${WRKSRC}/License ${PREFIX}/share/doc/hgl
+ ${INSTALL_DATA} ${WRKSRC}/Readme ${PREFIX}/share/doc/hgl
+ ${INSTALL_DATA} ${WRKSRC}/Version ${PREFIX}/share/doc/hgl
+ ${INSTALL_DATA} ${WRKSRC}/Version-2.0.4 ${PREFIX}/share/doc/hgl
+
+.include <bsd.port.mk>