diff options
-rw-r--r-- | chinese/fortune/Makefile | 5 | ||||
-rw-r--r-- | chinese/fortune/files/pkg-message.in | 17 |
2 files changed, 22 insertions, 0 deletions
diff --git a/chinese/fortune/Makefile b/chinese/fortune/Makefile index e1a2d1288cc4..deceb99fdbe0 100644 --- a/chinese/fortune/Makefile +++ b/chinese/fortune/Makefile @@ -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> diff --git a/chinese/fortune/files/pkg-message.in b/chinese/fortune/files/pkg-message.in new file mode 100644 index 000000000000..8b503124558e --- /dev/null +++ b/chinese/fortune/files/pkg-message.in @@ -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 +************************************************************ + |