1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/games/gnake/Makefile
Jason Helfman a7de274859 - shift master_sites around, and use project as primary
- drop default defined docsdir
- adopt new options format for docs, and define
2013-08-19 05:45:23 +00:00

39 lines
751 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
.include <bsd.port.options.mk>
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>