View | Details | Raw Unified | Return to bug 223798
Collapse All | Expand All

(-)misc/fortune-mod-freebsd-classic/Makefile (+44 lines)
Line 0 Link Here
1
# Created by: jdc@koitsu.org
2
# $FreeBSD$
3
4
PORTNAME=	fortune-mod-freebsd-classic
5
PORTVERSION=	20171121
6
CATEGORIES=	misc
7
8
MAINTAINER=	jdc@koitsu.org
9
COMMENT=	Classic FreeBSD fortunes (incl. offensives)
10
11
# LICENSE is intentionally unset.  Some fortune files, such as
12
# gerrold.limerick, are copyright the author but used with permission.
13
# Others have no license defined in them.  I get the impression many
14
# are Public Domain or possibly BSD4CLAUSE -- consider fortune was
15
# originally written by Ken Arnold at UC Berkeley; the FreeBSD
16
# fortune import was from 4.4BSD-Lite circa 1995.
17
18
USE_GITHUB=	yes
19
GH_ACCOUNT=	koitsu
20
GH_TAGNAME=	58ee9c5
21
22
.if exists(/usr/games/strfile)
23
STRFILE=	/usr/games/strfile
24
.elif exists(/usr/bin/strfile)
25
STRFILE=	/usr/bin/strfile
26
.else
27
IGNORE=		needs strfile command. Please install games distribution of base system
28
.endif
29
30
SRCF=		fortunes gerrold.limerick limerick murphy murphy-o startrek zippy
31
PLIST_FILES=	${SRCF:S|^|share/games/fortune/|} ${SRCF:S|^|share/games/fortune/|:S|$|.dat|}
32
33
do-build:
34
.for f in ${SRCF}
35
	@${STRFILE} -Cs ${WRKSRC}/datfiles/${f} ${WRKSRC}/datfiles/${f}.dat
36
.endfor
37
38
do-install:
39
	@${MKDIR} ${STAGEDIR}${PREFIX}/share/games/fortune
40
.for f in ${SRCF}
41
	${INSTALL_DATA} ${WRKSRC}/datfiles/${f} ${WRKSRC}/datfiles/${f}.dat ${STAGEDIR}${PREFIX}/share/games/fortune
42
.endfor
43
44
.include <bsd.port.mk>
(-)misc/fortune-mod-freebsd-classic/distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1511322487
2
SHA256 (koitsu-fortune-mod-freebsd-classic-20171121-58ee9c5_GH0.tar.gz) = 4fd3376dad7e1b5682709ed6f62e30342da724e70e828a79b31e5bbce23c46f7
3
SIZE (koitsu-fortune-mod-freebsd-classic-20171121-58ee9c5_GH0.tar.gz) = 1045867
(-)misc/fortune-mod-freebsd-classic/pkg-descr (+4 lines)
Line 0 Link Here
1
fortune-mod-freebsd-classic contains of all the "classic" FreeBSD
2
fortunes, including offensives.
3
4
WWW: https://github.com/koitsu/fortune-mod-freebsd-classic

Return to bug 223798