freebsd-ports/games/gnake/Makefile

35 lines
719 B
Makefile
Raw Normal View History

# Created by: chinsan
# $FreeBSD$
PORTNAME= gnake
PORTVERSION= 0.94b
CATEGORIES= games
MASTER_SITES= http://lightless.org/files/ \
LOCAL/jgh/games/${PORTNAME}/
DISTNAME= Gnake.${PORTVERSION}
2013-08-17 22:16:17 +02:00
MAINTAINER= jgh@FreeBSD.org
COMMENT= Nibbles clone for GNU/Linux and *BSD
LICENSE= GPLv2
OPTIONS_DEFINE= DOCS
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}
.include <bsd.port.mk>