Edit

IABSD.fr/ports/math/nonogram/Makefile

Branch :

  • Show log

    Commit

  • Author : sthen
    Date : 2026-03-09 20:31:04
    Hash : b4704f19
    Message : math/nonolib is static only, change LDEP -> BDEP

  • math/nonogram/Makefile
  • COMMENT =		terminal-based nonogram solver
    
    V =			1.9.13
    REVISION =		0
    DISTNAME =		nonogram-$V
    
    CATEGORIES =		math
    
    HOMEPAGE =		https://www.lancs.ac.uk/~simpsons/software/pkg-nonowimp
    
    MAINTAINER =		Anthony J. Bentley <anthony@anjbe.name>
    
    # LGPLv2.1+
    PERMIT_PACKAGE =	Yes
    
    WANTLIB += c
    
    SITES =			https://www.lancs.ac.uk/~simpsons/archives/
    
    EXTRACT_SUFX =		.zip
    
    # static only
    BUILD_DEPENDS =		math/nonolib
    
    MAKE_FLAGS =		PREFIX="${DESTDIR}${PREFIX}" \
    			CC="${CC}" \
    			CFLAGS="-I${LOCALBASE}/include \
    				-DVERSION=\\\"$V\\\" ${CFLAGS}" \
    			nonogram_lib="-L${LOCALBASE}/lib -lnonogram"
    
    post-install:
    	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/nonogram
    	${INSTALL_DATA} ${WRKSRC}/README.nonogram ${PREFIX}/share/doc/nonogram
    	${INSTALL_DATA} ${WRKSRC}/utnomore.non ${PREFIX}/share/doc/nonogram
    
    .include <bsd.port.mk>