svn commit: r347259 - in head/editors/puff: . files

Emanuel Haupt ehaupt at FreeBSD.org
Thu Mar 6 15:28:17 UTC 2014


Author: ehaupt
Date: Thu Mar  6 15:28:16 2014
New Revision: 347259
URL: http://svnweb.freebsd.org/changeset/ports/347259
QAT: https://qat.redports.org/buildarchive/r347259/

Log:
  Support staging

Added:
  head/editors/puff/files/
  head/editors/puff/files/patch-Makefile   (contents, props changed)
Modified:
  head/editors/puff/Makefile

Modified: head/editors/puff/Makefile
==============================================================================
--- head/editors/puff/Makefile	Thu Mar  6 15:27:04 2014	(r347258)
+++ head/editors/puff/Makefile	Thu Mar  6 15:28:16 2014	(r347259)
@@ -12,5 +12,4 @@ COMMENT=	Simple and efficient text edito
 
 PLIST_FILES=	bin/puff etc/puff.conf.sample
 
-NO_STAGE=	yes
 .include <bsd.port.mk>

Added: head/editors/puff/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/editors/puff/files/patch-Makefile	Thu Mar  6 15:28:16 2014	(r347259)
@@ -0,0 +1,16 @@
+--- ./Makefile.orig	2007-11-04 09:49:37.000000000 +0100
++++ ./Makefile	2014-03-06 16:27:34.118280667 +0100
+@@ -9,9 +9,10 @@
+ fortune:
+ 	- at 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:


More information about the svn-ports-all mailing list