aboutsummaryrefslogtreecommitdiff
path: root/editors/puff
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2016-01-31 14:44:32 +0000
committerJohn Marino <marino@FreeBSD.org>2016-01-31 14:44:32 +0000
commit9e20c719f75b3b3c058391f3f7dde819d0a8e097 (patch)
treeabd8faaed969234dd797366c7b0fbee5f990eaea /editors/puff
parentbcd345a41486b623fbbdae2e3311a7773c57f6d1 (diff)
downloadports-9e20c719f75b3b3c058391f3f7dde819d0a8e097.tar.gz
ports-9e20c719f75b3b3c058391f3f7dde819d0a8e097.zip
editors/puff: document ncurses rqmt (USES+=ncurses), respect LDFLAGS
approved by: infrastructure blanket
Notes
Notes: svn path=/head/; revision=407645
Diffstat (limited to 'editors/puff')
-rw-r--r--editors/puff/Makefile1
-rw-r--r--editors/puff/files/patch-Makefile13
2 files changed, 11 insertions, 3 deletions
diff --git a/editors/puff/Makefile b/editors/puff/Makefile
index f199690fed0e..7a7371e706d5 100644
--- a/editors/puff/Makefile
+++ b/editors/puff/Makefile
@@ -10,6 +10,7 @@ MASTER_SITES= http://devpit.org/puff/ \
MAINTAINER= bilbo@hobbiton.org
COMMENT= Simple and efficient text editor
+USES= ncurses
PLIST_FILES= bin/puff etc/puff.conf.sample
.include <bsd.port.mk>
diff --git a/editors/puff/files/patch-Makefile b/editors/puff/files/patch-Makefile
index 4fb4ee4b8cf0..631e6d9b4628 100644
--- a/editors/puff/files/patch-Makefile
+++ b/editors/puff/files/patch-Makefile
@@ -1,6 +1,13 @@
---- ./Makefile.orig 2007-11-04 09:49:37.000000000 +0100
-+++ ./Makefile 2014-03-06 16:27:34.118280667 +0100
-@@ -9,9 +9,10 @@
+--- Makefile.orig 2007-11-04 08:49:37 UTC
++++ Makefile
+@@ -3,15 +3,16 @@ CFLAGS += -Wall
+ #CFLAGS += -DDEBUG -g
+ OBJS = shared.o editfile.o keys.o puff.o
+ HEAD = shared.h editfile.h keys.h
+-LIBS = -lcurses -lm
++LIBS = ${LDFLAGS} -lncurses -lm
+
+ all: fortune puff
fortune:
-@fortune
install: all