aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-06-07 10:46:34 +0800
committervanilla <vanilla@FreeBSD.org>2014-06-07 10:46:34 +0800
commitd421e6317ca8190c73c568c63263e86a40c114d9 (patch)
tree60ac4a327c1283dd7e3d994837834b65ae509fb8 /devel
parentc02d1c9932a25c168a2af4938ca5f160b12f97f0 (diff)
downloadfreebsd-ports-gnome-d421e6317ca8190c73c568c63263e86a40c114d9.tar.gz
freebsd-ports-gnome-d421e6317ca8190c73c568c63263e86a40c114d9.tar.zst
freebsd-ports-gnome-d421e6317ca8190c73c568c63263e86a40c114d9.zip
Stagify.
Diffstat (limited to 'devel')
-rw-r--r--devel/cgprof/Makefile4
-rw-r--r--devel/cgprof/files/patch-Makefile15
2 files changed, 16 insertions, 3 deletions
diff --git a/devel/cgprof/Makefile b/devel/cgprof/Makefile
index 9e253acdcbee..ebc5d56122ef 100644
--- a/devel/cgprof/Makefile
+++ b/devel/cgprof/Makefile
@@ -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>
diff --git a/devel/cgprof/files/patch-Makefile b/devel/cgprof/files/patch-Makefile
new file mode 100644
index 000000000000..1b3074c4c86b
--- /dev/null
+++ b/devel/cgprof/files/patch-Makefile
@@ -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