diff options
-rw-r--r-- | devel/avra/Makefile | 1 | ||||
-rw-r--r-- | devel/avra/files/patch-SOURCE-Makefile | 23 |
2 files changed, 18 insertions, 6 deletions
diff --git a/devel/avra/Makefile b/devel/avra/Makefile index abcb7a048801..40844469f83c 100644 --- a/devel/avra/Makefile +++ b/devel/avra/Makefile @@ -7,6 +7,7 @@ PORTNAME= avra PORTVERSION= 1.0.1 +PORTREVISION= 1 DISTVERSIONSUFFIX= -src CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} diff --git a/devel/avra/files/patch-SOURCE-Makefile b/devel/avra/files/patch-SOURCE-Makefile index 74bab38c1623..b5c06d58e38a 100644 --- a/devel/avra/files/patch-SOURCE-Makefile +++ b/devel/avra/files/patch-SOURCE-Makefile @@ -1,13 +1,24 @@ ---- SOURCE/Makefile.orig Tue Feb 15 07:40:36 2005 -+++ SOURCE/Makefile Tue Feb 15 07:40:58 2005 -@@ -27,8 +27,8 @@ +--- SOURCE/Makefile.orig Thu Jun 10 15:21:52 2004 ++++ SOURCE/Makefile Fri Oct 28 21:02:00 2005 +@@ -19,6 +19,8 @@ + + BINFILES = avra README ChangeLog COPYING avra.1 avra.txt + ++PREFIX ?= /usr/local ++ + VERSION = 1.0.0 + + #******************************************************************** +@@ -26,9 +28,9 @@ + all: avra install: avra - cp avra /usr/local/bin +- cp avra /usr/local/bin - cp avra.1 /usr/local/man/man1 - chmod +r /usr/local/man/man1/avra.1 -+# cp avra.1 /usr/local/man/man1 -+# chmod +r /usr/local/man/man1/avra.1 ++ cp avra $(PREFIX)/bin ++# cp avra.1 $(PREFIX)/man/man1 ++# chmod +r $(PREFIX)/man/man1/avra.1 clean: rm -f avra *.o *.p *~ avra.exe |