1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/games/nsnake/Makefile
Jason Helfman c567546cee Update to version 2.2.0
- shift to xz
- build process is more straight-forward, so drop do-build target.
- CHANGELOG is now CHANGES.md
- update WWW project page
- update maintainer address

PR:		241749
Submitted by:	jgh@
Approved by:	maintainer (markand@malikania.fr)
2019-11-18 16:33:07 +00:00

35 lines
785 B
Makefile

# Created by: markand
# $FreeBSD$
PORTNAME= nsnake
PORTVERSION= 2.2.0
CATEGORIES= games
MASTER_SITES= http://releases.malikania.fr/nsnake/${PORTVERSION}/
MAINTAINER= markand@malikania.fr
COMMENT= Snake game written in C and ncurses
LICENSE= ISCL
USES= ncurses tar:xz
OPTIONS_DEFINE= DOCS
OPTIONS_SUB= yes
MAKE_ENV= CC="$CC" \
CFLAGS+="$CFLAGS" \
LDFLAGS+="$LDFLAGS"
post-patch:
@${REINPLACE_CMD} -e 's|VARDIR=.*|VARDIR=/var|' \
${WRKSRC}/config.mk
do-install:
(cd ${WRKSRC} \
&& ${INSTALL_PROGRAM} ${PORTNAME} ${STAGEDIR}${PREFIX}/bin \
&& ${INSTALL_MAN} ${PORTNAME}.6 ${STAGEDIR}${MANPREFIX}/man/man6)
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} CHANGES.md ${STAGEDIR}${DOCSDIR})
@${MKDIR} ${STAGEDIR}/var/db/nsnake
.include <bsd.port.mk>