mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
2fba138489
- Change MASTER_SITES to the new location - Pass maintainership to the submitter PR: ports/181256 Submitted by: David Demelier <demelier.david gmail.com>
36 lines
737 B
Makefile
36 lines
737 B
Makefile
# Created by: markand
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= nsnake
|
|
PORTVERSION= 1.4
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://releases.malikania.fr/nsnake/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= demelier.david@gmail.com
|
|
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>
|