438dcd27fe
- Remove MASTER_SITES, this is handled by USE_GITHUB - Fix LICENSE_FILE - Improve installation PR: 193580 Submitted by: amdmi3 Approved by: swills (maintainer, via irc)
32 lines
691 B
Makefile
32 lines
691 B
Makefile
# Created by: Steve Wills <swills@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= 2048
|
|
PORTVERSION= 0.0.0.2014091301
|
|
CATEGORIES= games
|
|
|
|
MAINTAINER= swills@FreeBSD.org
|
|
COMMENT= Command line version of 2048
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= Tiehuis
|
|
GH_PROJECT= 2048-cli
|
|
GH_COMMIT= e9e6ce2
|
|
GH_TAGNAME= ${GH_COMMIT}
|
|
|
|
ALL_TARGET= 2048 2048nc
|
|
PLIST_FILES= bin/2048 bin/2048nc
|
|
PORTDOCS= README.md
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/2048 ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${WRKSRC}/2048nc ${STAGEDIR}${PREFIX}/bin
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|