diff options
author | wen <wen@FreeBSD.org> | 2010-01-11 10:37:42 +0800 |
---|---|---|
committer | wen <wen@FreeBSD.org> | 2010-01-11 10:37:42 +0800 |
commit | 78e481660270d4ba505654821599f27de1670312 (patch) | |
tree | 4105e64a0926fd7debb5cc65d74d5bf17c61b602 /chinese | |
parent | adf3b39022e4911c7483faaf2d66fd94b8d3a443 (diff) | |
download | freebsd-ports-gnome-78e481660270d4ba505654821599f27de1670312.tar.gz freebsd-ports-gnome-78e481660270d4ba505654821599f27de1670312.tar.zst freebsd-ports-gnome-78e481660270d4ba505654821599f27de1670312.zip |
- Add files/pkg-message.in
PR: ports/142527
Submitted by: Ju Pengfei <jupengfei@gmail.com> (maintainer)
Diffstat (limited to 'chinese')
-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 +************************************************************ + |