- Add files/pkg-message.in
PR: ports/142527 Submitted by: Ju Pengfei <jupengfei@gmail.com> (maintainer)
This commit is contained in:
parent
de2fcae4d4
commit
0d8668d89b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=247574
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= fortune
|
||||
PORTVERSION= 1.2.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= chinese
|
||||
MASTER_SITES= GOOGLE_CODE
|
||||
PKGNAMEPREFIX= zh-
|
||||
@ -22,6 +23,7 @@ PROJECTHOST= chinese-fortune
|
||||
NO_BUILD= yes
|
||||
USE_GMAKE= yes
|
||||
USE_BZIP2= yes
|
||||
SUB_FILES= pkg-message
|
||||
|
||||
.if !exists(/usr/games/fortune) || !exists(/usr/games/strfile)
|
||||
IGNORE= needs the FreeBSD games distribution
|
||||
@ -35,4 +37,7 @@ post-patch:
|
||||
-e "s|strfile|/usr/games/strfile|" \
|
||||
${WRKSRC}/src/Makefile
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
17
chinese/fortune/files/pkg-message.in
Normal file
17
chinese/fortune/files/pkg-message.in
Normal file
@ -0,0 +1,17 @@
|
||||
************************************************************
|
||||
You should create your own ~/.fortune-zh.conf file, and put
|
||||
one or more lines such as the following into the file:
|
||||
|
||||
%%DATADIR%%/zh/caigentan
|
||||
%%DATADIR%%/zh/dao
|
||||
%%DATADIR%%/zh/joke
|
||||
%%DATADIR%%/zh/lunyu
|
||||
%%DATADIR%%/zh/maoshici
|
||||
%%DATADIR%%/zh/maoyulu
|
||||
%%DATADIR%%/zh/proverb
|
||||
%%DATADIR%%/zh/song100
|
||||
%%DATADIR%%/zh/songproses
|
||||
%%DATADIR%%/zh/tang300
|
||||
%%DATADIR%%/zh/zengguang
|
||||
************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user