mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
c693730cc4
PR: ports/172237 Submitted by: KATO Tsuguru <tkato432@yahoo.com> Feature safe: yes
36 lines
729 B
Makefile
36 lines
729 B
Makefile
# Created by: markand
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= nsnake
|
|
PORTVERSION= 1.4
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://softs.malikania.fr/releases/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Snake game written in C and ncurses
|
|
|
|
LICENSE= MIT
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
MAN6= ${PORTNAME}.6
|
|
PORTDOCS= CHANGELOG
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
do-build:
|
|
(cd ${WRKSRC} && ${CC} ${CFLAGS} -o ${PORTNAME} ${PORTNAME}.c -lcurses)
|
|
|
|
do-install:
|
|
(cd ${WRKSRC} \
|
|
&& ${INSTALL_PROGRAM} ${PORTNAME} ${PREFIX}/bin \
|
|
&& ${INSTALL_MAN} ${PORTNAME}.6 ${MANPREFIX}/man/man6)
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
@${MKDIR} ${DOCSDIR}
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} CHANGELOG ${DOCSDIR})
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|