1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/games/sudoku/Makefile
Eitan Adler ceb713f7dd - Grant maintainership to sterling@camdensoftware.com
- update port version
- remove deprecation
- remove outdated port

PR: 	ports/160015
Submitted by:	Sterling Camden <sterling@camdensoftware.com>
Approved by:	sahil/bapt (mentor)
2011-08-23 13:33:22 +00:00

48 lines
1007 B
Makefile

# ex:ts=8
# Ports collection makefile for: sudoku
# Date created: Feb 27, 2006
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= sudoku
PORTVERSION= 1.0.2
CATEGORIES= games
MASTER_SITES= http://chipstips.com/download/
EXTRACT_SUFX= .tbz
MAINTAINER= sterling@camdensoftware.com
COMMENT= Console based sudoku games
USE_BZIP2= yes
USE_NCURSES= yes
PLIST_FILES= bin/sudoku \
share/sudoku/template
PLIST_DIRS= share/sudoku
MAN6= sudoku.6
.if !defined(NOPORTDOCS)
PORTDOCS= *
.endif
post-patch:
@${GREP} -lR "/usr/lib/sudoku" ${WRKSRC} | ${XARGS} \
${REINPLACE_CMD} -e "s,/usr/lib/sudoku,${DATADIR},"
do-build:
@cd ${WRKSRC} && ${CC} ${CFLAGS} -o ${PORTNAME} sudoku.c -lcurses
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
@${INSTALL_MAN} ${WRKSRC}/${MAN6} ${MAN6PREFIX}/man/man6
@${MKDIR} ${DATADIR}
@${INSTALL_DATA} ${WRKSRC}/template ${DATADIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/sudoku.html ${DOCSDIR}
.endif
.include <bsd.port.mk>