games/dungeon: document ncurses rqmt (USES+=ncurses), respect LDFLAGS

approved by:	infrastructure blanket
This commit is contained in:
John Marino 2016-02-04 21:10:43 +00:00
parent 0283c95ea5
commit 68b199543b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=408094

View File

@ -22,6 +22,7 @@ EXTRACT_ONLY= dungeon-gdt-glk.tar.gz \
MAINTAINER= sailor@63bit.net
COMMENT= Text adventure which became Zork I-III
USES= ncurses
NO_WRKSUBDIR= yes
PLIST_FILES= bin/dungeon \
@ -43,6 +44,7 @@ pre-patch:
@${REINPLACE_CMD} -e 's/^CC =/CC ?=/' \
-e 's/^CFLAGS =/CFLAGS +=/' \
-e 's/^OPTIONS = -g/OPTIONS =/' \
-e "s@LIBS = @LIBS = ${LDFLAGS} @g" \
-e '/^OPTIONS = -O/d' \
${WRKSRC}/glkterm/Makefile ${WRKSRC}/dungeon-gdt/Makefile