blob: 8c14f297aaff0d9585e0040c1673a20c10d64e97 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# $NetBSD: Makefile,v 1.1.1.1 2007/05/19 01:10:17 heinz Exp $
#
DISTNAME= sudoku-1.0.1
PKGNAME= ${DISTNAME:S/sudoku/sudoku-cli/}
CATEGORIES= games
MASTER_SITES= http://www.laurasia.com.au/downloads/
EXTRACT_SUFX= .tgz
MAINTAINER= heinz@NetBSD.org
HOMEPAGE= http://www.laurasia.com.au/downloads/
COMMENT= Commandline version of sudoku board game
PKG_DESTDIR_SUPPORT= user-destdir
BUILD_TARGET= sudoku
INSTALLATION_DIRS+= bin ${PKGMANDIR}/man6 ${SHARE_SUBDIR}
SHARE_SUBDIR= share/sudoku-cli
SHARE_DIR= ${PREFIX}/${SHARE_SUBDIR}
MAKE_FLAGS+= INSTALL_BIN=${INSTALL_PROGRAM:Q}
MAKE_FLAGS+= INSTALL_DATADIR=${INSTALL_DATA_DIR:Q}
MAKE_FLAGS+= INSTALL_DATA=${INSTALL_DATA:Q}
MAKE_FLAGS+= INSTALL_MAN=${INSTALL_MAN:Q}
MAKE_FLAGS+= BINDIR=${PREFIX:Q}/bin
MAKE_FLAGS+= LIBDIR=${SHARE_DIR:Q}
MAKE_FLAGS+= MAN6DIR=${PREFIX:Q}/${PKGMANDIR:Q}/man6
MAKE_FLAGS+= DEFS=${CFLAGS:Q}
MAKE_FLAGS+= SUDOKUNAME=sudoku-cli
CFLAGS+= -DTEMPLATE="${SHARE_DIR:Q}/template"
CFLAGS+= -DPRECANNED="${SHARE_DIR:Q}/precanned"
SUBST_CLASSES+= sudoku-cli
SUBST_STAGE.sudoku-cli= pre-build
SUBST_MESSAGE.sudoku-cli=Correcting path names in man page
SUBST_FILES.sudoku-cli+=sudoku.6
SUBST_SED.sudoku-cli+= -e s,/usr/lib/sudoku,${SHARE_DIR:Q},
.include "../../devel/ncurses/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|