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

(-)fortune/Makefile (+5 lines)
Lines 23-28 Link Here
23
USE_GMAKE=	yes
23
USE_GMAKE=	yes
24
USE_BZIP2=	yes
24
USE_BZIP2=	yes
25
25
26
PKGMESSAGE=	${.CURDIR}/pkg-message
27
26
.if !exists(/usr/games/fortune) || !exists(/usr/games/strfile)
28
.if !exists(/usr/games/fortune) || !exists(/usr/games/strfile)
27
IGNORE=		needs the FreeBSD games distribution
29
IGNORE=		needs the FreeBSD games distribution
28
.endif
30
.endif
Lines 35-38 Link Here
35
		-e "s|strfile|/usr/games/strfile|" \
37
		-e "s|strfile|/usr/games/strfile|" \
36
		${WRKSRC}/src/Makefile
38
		${WRKSRC}/src/Makefile
37
39
40
post-install:
41
	@${CAT} ${PKGMESSAGE}
42
38
.include <bsd.port.mk>
43
.include <bsd.port.mk>
(-)fortune/pkg-message (+16 lines)
Line 0 Link Here
1
************************************************************
2
You should create your own ~/.fortune-zh.conf file, and put
3
one or more lines such as the following into the file:
4
5
/usr/local/share/fortune/zh/caigentan
6
/usr/local/share/fortune/zh/dao
7
/usr/local/share/fortune/zh/joke
8
/usr/local/share/fortune/zh/lunyu
9
/usr/local/share/fortune/zh/maoshici
10
/usr/local/share/fortune/zh/maoyulu
11
/usr/local/share/fortune/zh/proverb
12
/usr/local/share/fortune/zh/song100
13
/usr/local/share/fortune/zh/songproses
14
/usr/local/share/fortune/zh/tang300
15
/usr/local/share/fortune/zh/zengguang
16
************************************************************

Return to bug 142527