blob: e78c8db5e95d7195c27ac1671f0c06a5ba623244 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Created by: Ju Pengfei <jupengfei@gmail.com>
# $FreeBSD$
PORTNAME= fortune
PORTVERSION= 1.2.2
PORTREVISION= 2
CATEGORIES= chinese
MASTER_SITES= GOOGLE_CODE
DISTNAME= fortune-mod-zh-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A very classic fortune file in Chinese
RUN_DEPENDS= autob5:${PORTSDIR}/chinese/autoconvert
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
.endif
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e "s|/usr/|${PREFIX}/|" \
-e "s|strfile|/usr/games/strfile|" \
${WRKSRC}/src/Makefile
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
|