7530de9ff6
- Support STAGEDIR - While I'm here, remove leading indefinite article from COMMENT PR: ports/183822 Submitted by: Rainer Hurling <rhurlin@gwdg.de> (maintainer)
28 lines
533 B
Makefile
28 lines
533 B
Makefile
# Created by: ijliao
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= sudoku_solver
|
|
PORTVERSION= 1.20
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://www.techfinesse.com/game/
|
|
DISTNAME= solver
|
|
|
|
MAINTAINER= rhurlin@gwdg.de
|
|
COMMENT= Sudoku Solver in C
|
|
|
|
LICENSE= GPLv2
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}_${PORTVERSION}
|
|
|
|
ALL_TARGET= # empty
|
|
|
|
PLIST_FILES= bin/sudoku_solver
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s,^CC,#CC, ; s,^CFLAGS,#CFLAGS," \
|
|
${WRKSRC}/${MAKEFILE}
|
|
|
|
do-install:
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/sudoku_solver ${STAGEDIR}${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|