Import nonogram-1.9.13.

nonogram is a terminal-based command-line nonogram puzzle solver, written
by Dr. Steven Simpson.

ok juanfra@
This commit is contained in:
bentley 2016-08-05 05:44:50 +00:00
parent 2cdc63b10b
commit 86cf673f50
4 changed files with 45 additions and 0 deletions

36
math/nonogram/Makefile Normal file
View File

@ -0,0 +1,36 @@
# $OpenBSD: Makefile,v 1.1.1.1 2016/08/05 05:44:50 bentley Exp $
COMMENT = terminal-based nonogram solver
V = 1.9.13
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_CDROM = Yes
WANTLIB += c
MASTER_SITES = https://www.lancs.ac.uk/~simpsons/archives/
EXTRACT_SUFX = .zip
LIB_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>

2
math/nonogram/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (nonogram-1.9.13.zip) = Y2jEdtHaVjNyL0/jM95h84wzu4DcfT8v1Eujh4/xk9M=
SIZE (nonogram-1.9.13.zip) = 28867

2
math/nonogram/pkg/DESCR Normal file
View File

@ -0,0 +1,2 @@
nonogram is a terminal-based command-line nonogram puzzle solver, written
by Dr. Steven Simpson.

5
math/nonogram/pkg/PLIST Normal file
View File

@ -0,0 +1,5 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2016/08/05 05:44:50 bentley Exp $
@bin bin/nonogram
share/doc/nonogram/
share/doc/nonogram/README.nonogram
share/doc/nonogram/utnomore.non