Edit

IABSD.fr/ports/graphics/ocaml-graphics/Makefile

Branch :

  • Show log

    Commit

  • Author : volker
    Date : 2024-04-24 17:09:43
    Hash : 1309d0ed
    Message : Bump OCaml ports following update to 4.14.2

  • graphics/ocaml-graphics/Makefile
  • COMMENT =	graphics library providing basic drawing primitives
    CATEGORIES =	graphics
    
    V =		5.0.0
    REVISION =	6
    DISTNAME =	graphics-$V
    PKGNAME =	ocaml-graphics-$V
    
    # LGPL 2.1 with linking exception
    PERMIT_PACKAGE = Yes
    
    WANTLIB +=	X11
    
    SITES =		https://github.com/ocaml/graphics/releases/download/${V}/
    EXTRACT_SUFX =	.tbz
    
    MODULES =	lang/ocaml
    
    BUILD_DEPENDS = devel/dune
    
    MAKE_ENV =	CPATH=${X11BASE}/include \
    		LIBRARY_PATH=${X11BASE}/lib
    
    ALL_TARGET =	default
    
    post-install:
    	mv ${PREFIX}/share/doc/graphics ${PREFIX}/share/doc/ocaml-graphics
    
    .include <bsd.port.mk>