svn commit: r345356 - in head/security/rndpassw: . files

Martin Wilke miwi at FreeBSD.org
Fri Feb 21 10:14:58 UTC 2014


Author: miwi
Date: Fri Feb 21 10:14:57 2014
New Revision: 345356
URL: http://svnweb.freebsd.org/changeset/ports/345356
QAT: https://qat.redports.org/buildarchive/r345356/

Log:
  - Stage support

Added:
  head/security/rndpassw/files/
  head/security/rndpassw/files/patch-Makefile   (contents, props changed)
Modified:
  head/security/rndpassw/Makefile

Modified: head/security/rndpassw/Makefile
==============================================================================
--- head/security/rndpassw/Makefile	Fri Feb 21 10:14:16 2014	(r345355)
+++ head/security/rndpassw/Makefile	Fri Feb 21 10:14:57 2014	(r345356)
@@ -12,8 +12,7 @@ LICENSE=	BSD
 
 USE_BZIP2=	yes
 
-MAN1=		rndpassw.1
-PLIST_FILES=	bin/rndpassw
+PLIST_FILES=	bin/rndpassw \
+		man/man1/rndpassw.1.gz
 
-NO_STAGE=	yes
 .include <bsd.port.mk>

Added: head/security/rndpassw/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/rndpassw/files/patch-Makefile	Fri Feb 21 10:14:57 2014	(r345356)
@@ -0,0 +1,26 @@
+--- Makefile.org	2014-02-21 17:59:00.973237401 +0800
++++ Makefile	2014-02-21 17:59:53.848746216 +0800
+@@ -1,4 +1,4 @@
+-PREFIX?=/usr/local
++PREFIX?=$(DESTDIR)$(PREFIX)
+ 
+ CC?=	cc
+ CFLAGS?=-O2 -fno-strict-aliasing -pipe
+@@ -18,11 +18,11 @@
+ 	@rm -f $(PROG) $(PROG).o
+ 
+ install: build
+-	@install -d $(PREFIX)/bin
+-	@install -d $(PREFIX)/man/man1
+-	install -c $(PROG) $(PREFIX)/bin/$(PROG)
+-	install -c $(PROG).1 $(PREFIX)/man/man1/$(PROG).1
++	@install -d $(DESTDIR)$(PREFIX)/bin
++	@install -d $(DESTDIR)$(PREFIX)/man/man1
++	install -c $(PROG) $(DESTDIR)$(PREFIX)/bin/$(PROG)
++	install -c $(PROG).1 $(DESTDIR)$(PREFIX)/man/man1/$(PROG).1
+ 
+ uninstall:
+-	rm -f $(PREFIX)/bin/$(PROG)
+-	rm -f $(PREFIX)/man/man1/$(PROG).1.gz
++	rm -f $(DESTDIR)$(PREFIX)/bin/$(PROG)
++	rm -f $(DESTDIR)$(PREFIX)/man/man1/$(PROG).1.gz


More information about the svn-ports-all mailing list