mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
13fbe05fcc
The LIBS Make argument no longer works; libcurses was hardcoded to the curses target in the 2048 v0.9.1 makefile. To restore the build on systems without base ncurses (e.g. DragonFly), extend the existing Makefile file to link to libncurses instead. While here, remove the non-functional MAKE_ARGS=LIBS definition. Approved by: just-fix-it / Restore DF functionality blanket
33 lines
686 B
Makefile
33 lines
686 B
Makefile
# Created by: Steve Wills <swills@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= 2048
|
|
PORTVERSION= 0.9.1
|
|
DISTVERSIONPREFIX= v
|
|
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
|
|
|
|
USES= ncurses gmake
|
|
ALL_TARGET= curses
|
|
PLIST_FILES= bin/2048 man/man1/2048.1.gz
|
|
PORTDOCS= README.md
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/2048 ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/man/2048.1 ${STAGEDIR}${PREFIX}/man/man1
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|