aboutsummaryrefslogtreecommitdiff
path: root/games/gnarr
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-06-15 14:04:12 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-06-15 14:04:12 +0000
commit6ddbb159115e49ab177b496d2653c9681ccaad14 (patch)
tree1940d4393aa81eced1bbd43b7fdcaf48feee026f /games/gnarr
parentac44c6a7372b9c2cf7872baace45c8df14e6d979 (diff)
downloadports-6ddbb159115e49ab177b496d2653c9681ccaad14.tar.gz
ports-6ddbb159115e49ab177b496d2653c9681ccaad14.zip
Notes
Diffstat (limited to 'games/gnarr')
-rw-r--r--games/gnarr/Makefile6
-rw-r--r--games/gnarr/files/patch-Makefile21
-rw-r--r--games/gnarr/pkg-plist1
3 files changed, 25 insertions, 3 deletions
diff --git a/games/gnarr/Makefile b/games/gnarr/Makefile
index 3e7ac88d1153..c38563fe74e3 100644
--- a/games/gnarr/Makefile
+++ b/games/gnarr/Makefile
@@ -3,15 +3,15 @@
PORTNAME= gnarr
PORTVERSION= 3
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://www.volny.cz/nakamura/gnarr/
MAINTAINER= daniel.ryslink@dialtelecom.cz
COMMENT= Program for generating battle cries
-MAN6= gnarr.6
-
NO_BUILD= yes
+USES= perl5 shebangfix
+SHEBANG_FILES= gnarr
-NO_STAGE= yes
.include <bsd.port.mk>
diff --git a/games/gnarr/files/patch-Makefile b/games/gnarr/files/patch-Makefile
new file mode 100644
index 000000000000..c34d2f50a85c
--- /dev/null
+++ b/games/gnarr/files/patch-Makefile
@@ -0,0 +1,21 @@
+--- Makefile.orig 2014-06-15 18:04:50.966372146 +0800
++++ Makefile 2014-06-15 18:05:31.349376790 +0800
+@@ -20,12 +20,12 @@ RM ?= rm -f
+ all:
+
+ install:
+- ${MKDIR} ${BINDIR}
+- ${INSTALL_PROGRAM} gnarr ${BINDIR}
+- ${MKDIR} ${ETCDIR}
+- ${INSTALL_DATA} etc/gnarr/* ${ETCDIR}
+- ${MKDIR} ${MAN6DIR}
+- ${INSTALL_DATA} gnarr.6 ${MAN6DIR}
++ ${MKDIR} $(DESTDIR)${BINDIR}
++ ${INSTALL_PROGRAM} gnarr $(DESTDIR)${BINDIR}
++ ${MKDIR} $(DESTDIR)${ETCDIR}
++ ${INSTALL_DATA} etc/gnarr/* $(DESTDIR)${ETCDIR}
++ ${MKDIR} $(DESTDIR)${MAN6DIR}
++ ${INSTALL_DATA} gnarr.6 $(DESTDIR)${MAN6DIR}
+
+ clean:
+
diff --git a/games/gnarr/pkg-plist b/games/gnarr/pkg-plist
index 7b5b1a7caa69..7b4cc06e043e 100644
--- a/games/gnarr/pkg-plist
+++ b/games/gnarr/pkg-plist
@@ -15,4 +15,5 @@ etc/gnarr/place
etc/gnarr/templates
etc/gnarr/time
etc/gnarr/weapon
+man/man6/gnarr.6.gz
@dirrm etc/gnarr