svn commit: r356877 - in head/devel/cgprof: . files
Vanilla I. Shu
vanilla at FreeBSD.org
Sat Jun 7 02:46:35 UTC 2014
Author: vanilla
Date: Sat Jun 7 02:46:34 2014
New Revision: 356877
URL: http://svnweb.freebsd.org/changeset/ports/356877
QAT: https://qat.redports.org/buildarchive/r356877/
Log:
Stagify.
Added:
head/devel/cgprof/files/
head/devel/cgprof/files/patch-Makefile (contents, props changed)
Modified:
head/devel/cgprof/Makefile
Modified: head/devel/cgprof/Makefile
==============================================================================
--- head/devel/cgprof/Makefile Sat Jun 7 02:33:32 2014 (r356876)
+++ head/devel/cgprof/Makefile Sat Jun 7 02:46:34 2014 (r356877)
@@ -16,8 +16,6 @@ RUN_DEPENDS= gawk:${PORTSDIR}/lang/gawk
NO_BUILD= yes
MAKE_ENV= prefix=${PREFIX}
-MAN1= cgprof.1
-PLIST_FILES= bin/cgprof
+PLIST_FILES= bin/cgprof man/man1/${PORTNAME}.1.gz
-NO_STAGE= yes
.include <bsd.port.mk>
Added: head/devel/cgprof/files/patch-Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/cgprof/files/patch-Makefile Sat Jun 7 02:46:34 2014 (r356877)
@@ -0,0 +1,15 @@
+--- Makefile.orig 2014-06-07 10:44:39.760142355 +0800
++++ Makefile 2014-06-07 10:45:04.495140272 +0800
+@@ -1,9 +1,9 @@
+ prefix ?= /usr/local
+
+ install: cgprof.1 cgprof
+- mkdir -p $(prefix)/bin $(prefix)/man/man1
+- cp -p cgprof $(prefix)/bin/
+- cp -p cgprof.1 $(prefix)/man/man1/cgprof.1
++ mkdir -p $(DESTDIR)$(prefix)/bin $(DESTDIR)$(prefix)/man/man1
++ cp -p cgprof $(DESTDIR)$(prefix)/bin/
++ cp -p cgprof.1 $(DESTDIR)$(prefix)/man/man1/cgprof.1
+
+ cgprof.1: cgprof.txt
+ txt2man -p cgprof.txt > cgprof.1
More information about the svn-ports-all
mailing list