2013-08-17 18:21:37 +02:00
|
|
|
# Created by: chinsan
|
2011-02-23 10:35:51 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= gnake
|
|
|
|
PORTVERSION= 0.94b
|
|
|
|
CATEGORIES= games
|
2013-08-19 07:45:23 +02:00
|
|
|
MASTER_SITES= http://lightless.org/files/ \
|
|
|
|
LOCAL/jgh/games/${PORTNAME}/
|
2011-02-23 10:35:51 +01:00
|
|
|
DISTNAME= Gnake.${PORTVERSION}
|
|
|
|
|
2013-08-17 22:16:17 +02:00
|
|
|
MAINTAINER= jgh@FreeBSD.org
|
|
|
|
COMMENT= Nibbles clone for GNU/Linux and *BSD
|
2011-02-23 10:35:51 +01:00
|
|
|
|
|
|
|
LICENSE= GPLv2
|
2013-08-19 07:45:23 +02:00
|
|
|
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2011-02-23 10:35:51 +01:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib -lncurses
|
|
|
|
CFLAGS+= -Wall
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
PORTDOCS= README
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
${CC} ${CFLAGS} ${LDFLAGS} -o ${WRKSRC}/${PORTNAME} \
|
|
|
|
${WRKSRC}/gnake.c
|
|
|
|
|
|
|
|
do-install:
|
2013-09-24 06:28:17 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
2011-02-23 10:35:51 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|