aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2016-08-23 22:32:09 +0800
committermarino <marino@FreeBSD.org>2016-08-23 22:32:09 +0800
commitb24b74574523c9b38cf3e9476547fa38f7e4ffd8 (patch)
tree7f6d387cf57b80e49016043497144c56b0fabd4b /misc
parent47e6358e8e893170af4e9d1d459d8d870a8ef674 (diff)
downloadfreebsd-ports-gnome-b24b74574523c9b38cf3e9476547fa38f7e4ffd8.tar.gz
freebsd-ports-gnome-b24b74574523c9b38cf3e9476547fa38f7e4ffd8.tar.zst
freebsd-ports-gnome-b24b74574523c9b38cf3e9476547fa38f7e4ffd8.zip
misc/nms: document ncurses, honor CFLAGS and LDFLAGS
Approved by: just-fix-it + ncurses blanket
Diffstat (limited to 'misc')
-rw-r--r--misc/nms/Makefile3
-rw-r--r--misc/nms/files/patch-Makefile12
2 files changed, 10 insertions, 5 deletions
diff --git a/misc/nms/Makefile b/misc/nms/Makefile
index 5e632bc9256b..05df66b6f6f7 100644
--- a/misc/nms/Makefile
+++ b/misc/nms/Makefile
@@ -4,6 +4,7 @@
PORTNAME= nms
PORTVERSION= 0.2.1
DISTVERSIONPREFIX= v
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= misc
@@ -12,7 +13,7 @@ COMMENT= Recreate decrypting text effect from the Sneakers movie
LICENSE= GPLv3
-USES= gmake
+USES= gmake ncurses
USE_GITHUB= yes
GH_ACCOUNT= bartobri
GH_PROJECT= no-more-secrets
diff --git a/misc/nms/files/patch-Makefile b/misc/nms/files/patch-Makefile
index 4be0c2bc8f56..851174021f14 100644
--- a/misc/nms/files/patch-Makefile
+++ b/misc/nms/files/patch-Makefile
@@ -1,11 +1,15 @@
---- Makefile.orig 2016-04-30 01:05:20 UTC
+--- Makefile.orig 2016-07-14 12:48:22 UTC
+++ Makefile
-@@ -2,7 +2,7 @@ BIN=bin
+@@ -14,9 +14,9 @@ BIN=bin
OBJ=obj
SRC=src
-CC = gcc
+-CFLAGS = -Wextra -Wall
+-LDLIBS = -lncursesw
+CC ?= gcc
- CFLAGS = -Wextra -Wall
- LDLIBS = -lncurses
++CFLAGS ?= -Wextra -Wall
++LDLIBS = $(LDFLAGS) -lncursesw
+ DARWIN_LDLIBS = -lncurses
NCURSES_H = /usr/include/ncurses.h
+