diff --git a/devel/exercisix/Makefile b/devel/exercisix/Makefile index 992f1b15edb9..cf9db3e71ba9 100644 --- a/devel/exercisix/Makefile +++ b/devel/exercisix/Makefile @@ -1,14 +1,15 @@ PORTNAME= exercisix PORTVERSION= 1.2 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://alexanderchuranov.com/files/ MAINTAINER= exercisix@alexanderchuranov.com COMMENT= Innovative lightweight unit-test framework for C++ WWW= http://alexanderchuranov.com/software/exercisix USES= tar:bzip2 OPTIONS_DEFINE= EXAMPLES .include diff --git a/devel/exercisix/files/patch-Makefile b/devel/exercisix/files/patch-Makefile index 297b59717bb8..418ed9117166 100644 --- a/devel/exercisix/files/patch-Makefile +++ b/devel/exercisix/files/patch-Makefile @@ -1,19 +1,28 @@ ---- ./Makefile.orig 2014-02-18 11:06:36.485355646 +0100 -+++ ./Makefile 2014-02-18 11:07:14.494356722 +0100 -@@ -22,12 +22,12 @@ +--- Makefile.orig 2009-05-15 15:11:40 UTC ++++ Makefile +@@ -2,7 +2,7 @@ INCLUDEDIR=$(PREFIX)/include + PREFIX?=/usr/local + + INCLUDEDIR=$(PREFIX)/include +-MANDIR=$(PREFIX)/man/man ++MANDIR=$(PREFIX)/share/man/man + FILESDIR=$(PREFIX)/share/examples/exercisix + + INCS=exercisix.hh +@@ -22,12 +22,12 @@ install: all $(FILESDIR) .PHONY: clean install: all $(FILESDIR) - install -o root -g wheel -m 444 $(FILES) $(FILESDIR) - install -C -o root -g wheel -m 444 $(INCS) $(INCLUDEDIR) - install -o root -g wheel -m 444 $(COMPRESSED_MAN) $(MANDIR)3 + $(BSD_INSTALL_DATA) $(FILES) $(DESTDIR)$(FILESDIR) + $(BSD_INSTALL_DATA) $(INCS) $(DESTDIR)$(INCLUDEDIR) + $(BSD_INSTALL_MAN) $(COMPRESSED_MAN) $(DESTDIR)$(MANDIR)3 $(FILESDIR): - mkdir $(FILESDIR) + mkdir $(DESTDIR)$(FILESDIR) deinstall: rm -r $(FILESDIR) diff --git a/devel/exercisix/pkg-plist b/devel/exercisix/pkg-plist index da6271902d88..708c0bf48f2a 100644 --- a/devel/exercisix/pkg-plist +++ b/devel/exercisix/pkg-plist @@ -1,4 +1,4 @@ include/exercisix.hh share/examples/exercisix/BSDmakefile share/examples/exercisix/example.cc -man/man3/exercisix.3.gz +share/man/man3/exercisix.3.gz