Index: head/editors/puff/Makefile =================================================================== --- head/editors/puff/Makefile (revision 407644) +++ head/editors/puff/Makefile (revision 407645) @@ -1,15 +1,16 @@ # Created by: Leif Pedersen # $FreeBSD$ PORTNAME= puff PORTVERSION= 1.0.1 CATEGORIES= editors MASTER_SITES= http://devpit.org/puff/ \ http://www.freebsdbrasil.com.br/~jmelo/ MAINTAINER= bilbo@hobbiton.org COMMENT= Simple and efficient text editor +USES= ncurses PLIST_FILES= bin/puff etc/puff.conf.sample .include Index: head/editors/puff/files/patch-Makefile =================================================================== --- head/editors/puff/files/patch-Makefile (revision 407644) +++ head/editors/puff/files/patch-Makefile (revision 407645) @@ -1,16 +1,23 @@ ---- ./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 - install -m 0755 puff $(PREFIX)/bin - mkdir -p $(PREFIX)/etc || echo -n - install -m 0644 puff.conf $(PREFIX)/etc/puff.conf.sample + strip puff + install -m 0755 puff $(DESTDIR)$(PREFIX)/bin + mkdir -p $(DESTDIR)$(PREFIX)/etc || echo -n + install -m 0644 puff.conf $(DESTDIR)$(PREFIX)/etc/puff.conf.sample uninstall: rm -f $(PREFIX)/bin/puff $(PREFIX)/etc/puff.conf clean: