mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
37 lines
737 B
Makefile
37 lines
737 B
Makefile
# Created by: chinsan
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gnake
|
|
PORTVERSION= 0.94b
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://www.sourcefiles.org/Games/Arcade/
|
|
DISTNAME= Gnake.${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Nibbles clone for GNU/Linux and *BSD
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USES= ncurses
|
|
LDFLAGS+= -L${LOCALBASE}/lib -lncurses
|
|
CFLAGS+= -Wall
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
PORTDOCS= README
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
do-build:
|
|
${CC} ${CFLAGS} ${LDFLAGS} -o ${WRKSRC}/${PORTNAME} \
|
|
${WRKSRC}/gnake.c
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|