Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Nov 2014 09:48:48 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r371998 - head/games/nsnake
Message-ID:  <201411010948.sA19mmSp023301@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sat Nov  1 09:48:47 2014
New Revision: 371998
URL: https://svnweb.freebsd.org/changeset/ports/371998
QAT: https://qat.redports.org/buildarchive/r371998/

Log:
  Fix packaging

Modified:
  head/games/nsnake/Makefile

Modified: head/games/nsnake/Makefile
==============================================================================
--- head/games/nsnake/Makefile	Sat Nov  1 08:47:42 2014	(r371997)
+++ head/games/nsnake/Makefile	Sat Nov  1 09:48:47 2014	(r371998)
@@ -6,18 +6,17 @@ PORTVERSION=	1.4
 PORTREVISION=	2
 CATEGORIES=	games
 MASTER_SITES=	http://releases.malikania.fr/nsnake/
-EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	demelier.david@gmail.com
 COMMENT=	Snake game written in C and ncurses
 
 LICENSE=	MIT
 
+USES=		tar:tgz
+
 OPTIONS_DEFINE=	DOCS
 OPTIONS_SUB=	yes
 
-.include <bsd.port.options.mk>
-
 do-build:
 	(cd ${WRKSRC} && ${CC} ${CFLAGS} -o ${PORTNAME} ${PORTNAME}.c -lcurses)
 
@@ -25,9 +24,8 @@ do-install:
 	(cd ${WRKSRC} \
 		&& ${INSTALL_PROGRAM} ${PORTNAME} ${STAGEDIR}${PREFIX}/bin \
 		&& ${INSTALL_MAN} ${PORTNAME}.6 ${STAGEDIR}${MANPREFIX}/man/man6)
-.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	(cd ${WRKSRC} && ${INSTALL_DATA} CHANGELOG ${STAGEDIR}${DOCSDIR})
-.endif
+	@${MKDIR} ${STAGEDIR}/var/db/nsnake
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411010948.sA19mmSp023301>