aboutsummaryrefslogtreecommitdiff
path: root/games/trojka
diff options
context:
space:
mode:
authorJason E. Hale <jhale@FreeBSD.org>2014-06-23 23:00:51 +0000
committerJason E. Hale <jhale@FreeBSD.org>2014-06-23 23:00:51 +0000
commit3195e5bf2f3b7701055506d61e1b41f9e8464107 (patch)
tree33b577e313e09d14d3152aa820782ebd17a347c8 /games/trojka
parent56c6383aef8fb51d4919629b88ea9bef9f911c72 (diff)
downloadports-3195e5bf2f3b7701055506d61e1b41f9e8464107.tar.gz
ports-3195e5bf2f3b7701055506d61e1b41f9e8464107.zip
Notes
Diffstat (limited to 'games/trojka')
-rw-r--r--games/trojka/Makefile10
-rw-r--r--games/trojka/files/patch-Makefile (renamed from games/trojka/files/patch-aa)10
-rw-r--r--games/trojka/files/patch-sys_custom.h (renamed from games/trojka/files/patch-ac)0
-rw-r--r--games/trojka/files/patch-system.c (renamed from games/trojka/files/patch-ab)0
-rw-r--r--games/trojka/files/patch-trojka.6 (renamed from games/trojka/files/patch-ad)0
-rw-r--r--games/trojka/files/pkg-message.in2
-rw-r--r--games/trojka/pkg-plist8
7 files changed, 18 insertions, 12 deletions
diff --git a/games/trojka/Makefile b/games/trojka/Makefile
index 82601c41e5b0..195a58b4b9a7 100644
--- a/games/trojka/Makefile
+++ b/games/trojka/Makefile
@@ -10,11 +10,11 @@ DISTNAME= ${PORTNAME}
MAINTAINER= e@ik.nu
COMMENT= Game of skill
-MAN6= trojka.6
-SUB_FILES= pkg-message
+LICENSE= TROJKA
+LICENSE_NAME= Trojka Copyright
+LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+LICENSE_FILE= ${WRKSRC}/COPYRIGHT
-NO_STAGE= yes
-post-install:
- @${CAT} ${PKGMESSAGE}
+SUB_FILES= pkg-message
.include <bsd.port.mk>
diff --git a/games/trojka/files/patch-aa b/games/trojka/files/patch-Makefile
index d814e16729af..7f0360b996cc 100644
--- a/games/trojka/files/patch-aa
+++ b/games/trojka/files/patch-Makefile
@@ -17,11 +17,11 @@
install:
- cp trojka /usr/games
-+ install -c -d -m 0755 $(SCOREDIR)
-+ install -c -m 2755 -g games -s trojka $(PREFIX)/bin
-+ install -c -m 0644 COPYRIGHT README $(SCOREDIR)
-+ install -c -m 0664 -g games /dev/null $(SCOREFILE)
-+ install -c -m 0444 trojka.6.out $(PREFIX)/man/man6/trojka.6
++ install -c -d -m 0755 $(DESTDIR)$(SCOREDIR)
++ install -c -s trojka $(DESTDIR)$(PREFIX)/bin
++ install -c -m 0644 README $(DESTDIR)$(SCOREDIR)
++ install -c -m 0664 /dev/null $(DESTDIR)$(SCOREFILE)
++ install -c -m 0444 trojka.6.out $(DESTDIR)$(PREFIX)/man/man6/trojka.6
+
+trojka.6.out: trojka.6
+ sed "s|%%PREFIX%%|$(PREFIX)|" trojka.6 > trojka.6.out
diff --git a/games/trojka/files/patch-ac b/games/trojka/files/patch-sys_custom.h
index b11771664e50..b11771664e50 100644
--- a/games/trojka/files/patch-ac
+++ b/games/trojka/files/patch-sys_custom.h
diff --git a/games/trojka/files/patch-ab b/games/trojka/files/patch-system.c
index e4940565d031..e4940565d031 100644
--- a/games/trojka/files/patch-ab
+++ b/games/trojka/files/patch-system.c
diff --git a/games/trojka/files/patch-ad b/games/trojka/files/patch-trojka.6
index c581ceb7cc6f..c581ceb7cc6f 100644
--- a/games/trojka/files/patch-ad
+++ b/games/trojka/files/patch-trojka.6
diff --git a/games/trojka/files/pkg-message.in b/games/trojka/files/pkg-message.in
index 6f3b8e6278c6..ae85aabc78a7 100644
--- a/games/trojka/files/pkg-message.in
+++ b/games/trojka/files/pkg-message.in
@@ -3,5 +3,5 @@ You now have suid binary (2755):
%%PREFIX%%/bin/trojka
-Scores will not be writed if you don't set suid.
+Scores will not be saved if you don't set suid.
============================================================
diff --git a/games/trojka/pkg-plist b/games/trojka/pkg-plist
index 17a4fda4e4d1..6c55a9ccb2af 100644
--- a/games/trojka/pkg-plist
+++ b/games/trojka/pkg-plist
@@ -1,5 +1,11 @@
+@mode 2755
+@group games
bin/trojka
-%%DATADIR%%/COPYRIGHT
+@group
+@mode
+man/man6/trojka.6.gz
%%DATADIR%%/README
+@group games
%%DATADIR%%/trojka.scores
+@group
@dirrm %%DATADIR%%