mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
cd2ada601c
- remove now useless inclusion of bpom
35 lines
719 B
Makefile
35 lines
719 B
Makefile
# Created by: chinsan
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gnake
|
|
PORTVERSION= 0.94b
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://lightless.org/files/ \
|
|
LOCAL/jgh/games/${PORTNAME}/
|
|
DISTNAME= Gnake.${PORTVERSION}
|
|
|
|
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:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|