diff options
author | Jason E. Hale <jhale@FreeBSD.org> | 2014-06-24 07:00:51 +0800 |
---|---|---|
committer | Jason E. Hale <jhale@FreeBSD.org> | 2014-06-24 07:00:51 +0800 |
commit | 3195e5bf2f3b7701055506d61e1b41f9e8464107 (patch) | |
tree | 33b577e313e09d14d3152aa820782ebd17a347c8 /games/trojka | |
parent | 56c6383aef8fb51d4919629b88ea9bef9f911c72 (diff) | |
download | freebsd-ports-gnome-3195e5bf2f3b7701055506d61e1b41f9e8464107.tar.gz freebsd-ports-gnome-3195e5bf2f3b7701055506d61e1b41f9e8464107.tar.zst freebsd-ports-gnome-3195e5bf2f3b7701055506d61e1b41f9e8464107.zip |
- Support staging
- Add LICENSE
- Rename generic patches
Approved by: portmgr (blanket approval)
Diffstat (limited to 'games/trojka')
-rw-r--r-- | games/trojka/Makefile | 10 | ||||
-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.in | 2 | ||||
-rw-r--r-- | games/trojka/pkg-plist | 8 |
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%% |