- Add distfile mirror, unbreak fetch

- Switch to options helpers

PR:		210030
Submitted by:	lightside@gmx.com
This commit is contained in:
Dmitry Marakasov 2016-06-06 17:21:34 +00:00
parent df85355ab9
commit 460a77eb5f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=416476

View file

@ -4,20 +4,14 @@
PORTNAME= gnake
PORTVERSION= 0.94b
CATEGORIES= games
MASTER_SITES= SF/fbsdports/gnake
MASTER_SITES= http://www.sourcefiles.org/Games/Arcade/
DISTNAME= Gnake.${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Nibbles clone for GNU/Linux and *BSD
BROKEN= unfetchable
DEPRECATED= Broken for more than 6 months
EXPIRATION_DATE= 2016-07-04
LICENSE= GPLv2
OPTIONS_DEFINE= DOCS
LDFLAGS+= -L${LOCALBASE}/lib -lncurses
CFLAGS+= -Wall
@ -25,12 +19,16 @@ 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}