svn commit: r341579 - in head/textproc/hgrep: . files
Mathieu Arnold
mat at FreeBSD.org
Tue Jan 28 14:31:24 UTC 2014
Author: mat
Date: Tue Jan 28 14:31:22 2014
New Revision: 341579
URL: http://svnweb.freebsd.org/changeset/ports/341579
QAT: https://qat.redports.org/buildarchive/r341579/
Log:
Support staging.
Sponsored by: Absolight
Added:
head/textproc/hgrep/files/
head/textproc/hgrep/files/patch-Makefile (contents, props changed)
Modified:
head/textproc/hgrep/Makefile
head/textproc/hgrep/pkg-plist
Modified: head/textproc/hgrep/Makefile
==============================================================================
--- head/textproc/hgrep/Makefile Tue Jan 28 14:26:43 2014 (r341578)
+++ head/textproc/hgrep/Makefile Tue Jan 28 14:31:22 2014 (r341579)
@@ -12,8 +12,4 @@ COMMENT= A nice Highlighting Hack for gr
WRKSRC= ${WRKDIR}/hgrep
-MAN1= hgrep.1
-MANCOMPRESSED= no
-
-NO_STAGE= yes
.include <bsd.port.mk>
Added: head/textproc/hgrep/files/patch-Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/hgrep/files/patch-Makefile Tue Jan 28 14:31:22 2014 (r341579)
@@ -0,0 +1,39 @@
+--- ./Makefile.orig 1999-10-05 02:43:40.000000000 +0000
++++ ./Makefile 2014-01-28 14:29:53.000000000 +0000
+@@ -8,10 +8,9 @@
+
+ # CONFIGURE: your favorite C compiler
+ #CC = cc
+-CC = gcc -ansi -pedantic -fpcc-struct-return
+
+ # CONFIGURE: your favorite C flags
+-CFLAGS = -O
++CFLAGS = -O -ansi -pedantic -fpcc-struct-return
+ #CFLAGS = -g -O
+
+ # CONFIGURE: your favorite loader flags
+@@ -51,18 +50,18 @@
+
+ install.bin: all
+ for i in $(EXES) ; do \
+- rm -f $(BINDIR)/$$i ; \
+- cp $$i $(BINDIR) ; \
++ rm -f $(DESTDIR)$(BINDIR)/$$i ; \
++ cp $$i $(DESTDIR)$(BINDIR) ; \
+ done
+ for l in a e f n ; do \
+- rm -f $(BINDIR)/h$${l}grep ; \
+- ln -s $(BINDIR)/hgrep $(BINDIR)/h$${l}grep ; \
++ rm -f $(DESTDIR)$(BINDIR)/h$${l}grep ; \
++ ln -s $(BINDIR)/hgrep $(DESTDIR)$(BINDIR)/h$${l}grep ; \
+ done
+
+ install.man:
+ for i in $(MANS) ; do \
+- rm -f $(MANDIR)/$$i.1 ; \
+- cp $$i.1 $(MANDIR) ; \
++ rm -f $(DESTDIR)$(MANDIR)/$$i.1 ; \
++ cp $$i.1 $(DESTDIR)$(MANDIR) ; \
+ done
+
+ clean:
Modified: head/textproc/hgrep/pkg-plist
==============================================================================
--- head/textproc/hgrep/pkg-plist Tue Jan 28 14:26:43 2014 (r341578)
+++ head/textproc/hgrep/pkg-plist Tue Jan 28 14:31:22 2014 (r341579)
@@ -3,3 +3,4 @@ bin/hagrep
bin/hegrep
bin/hfgrep
bin/hngrep
+man/man1/hgrep.1.gz
More information about the svn-ports-all
mailing list