mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
6301153955
approved by: infrastructure blanket
33 lines
736 B
Makefile
33 lines
736 B
Makefile
# Created by: markand
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= nsnake
|
|
PORTVERSION= 1.4
|
|
PORTREVISION= 2
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://releases.malikania.fr/nsnake/
|
|
|
|
MAINTAINER= demelier.david@gmail.com
|
|
COMMENT= Snake game written in C and ncurses
|
|
|
|
LICENSE= MIT
|
|
|
|
USES= ncurses tar:tgz
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
OPTIONS_SUB= yes
|
|
|
|
do-build:
|
|
(cd ${WRKSRC} && ${CC} ${CFLAGS} -o ${PORTNAME} ${PORTNAME}.c \
|
|
${LDFLAGS} -lncurses)
|
|
|
|
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} CHANGELOG ${STAGEDIR}${DOCSDIR})
|
|
@${MKDIR} ${STAGEDIR}/var/db/nsnake
|
|
|
|
.include <bsd.port.mk>
|