diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-06-07 02:46:34 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-06-07 02:46:34 +0000 |
commit | 3817fef8cd9e163bec38792f00b338af3e30ff19 (patch) | |
tree | 60ac4a327c1283dd7e3d994837834b65ae509fb8 | |
parent | Stagify. (diff) |
Stagify.
-rw-r--r-- | devel/cgprof/Makefile | 4 | ||||
-rw-r--r-- | devel/cgprof/files/patch-Makefile | 15 |
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 |