head	1.8;
access;
symbols
	RELEASE_8_3_0:1.7
	RELEASE_9_0_0:1.7
	RELEASE_7_4_0:1.6
	RELEASE_8_2_0:1.6
	RELEASE_6_EOL:1.5
	RELEASE_8_1_0:1.5
	RELEASE_7_3_0:1.4;
locks; strict;
comment	@# @;


1.8
date	2012.11.17.05.54.56;	author svnexp;	state Exp;
branches;
next	1.7;

1.7
date	2011.09.21.16.48.39;	author tabthorpe;	state Exp;
branches;
next	1.6;

1.6
date	2011.01.09.11.13.35;	author sunpoet;	state Exp;
branches;
next	1.5;

1.5
date	2010.06.25.02.06.34;	author wen;	state Exp;
branches;
next	1.4;

1.4
date	2010.01.11.02.37.42;	author wen;	state Exp;
branches;
next	1.3;

1.3
date	2009.12.20.08.39.21;	author delphij;	state Exp;
branches;
next	1.2;

1.2
date	2009.12.20.02.28.36;	author delphij;	state Exp;
branches;
next	1.1;

1.1
date	2009.12.18.02.06.31;	author delphij;	state Exp;
branches;
next	;


desc
@@


1.8
log
@Switch exporter over
@
text
@# New ports collection makefile for: zh-fortune
# Date created:                17 Dec 2009
# Whom:                        Ju Pengfei <jupengfei@@gmail.com>
#
# $FreeBSD: head/chinese/fortune/Makefile 300895 2012-07-14 12:56:14Z beat $
#

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

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>
@


1.7
log
@- Reassign to the heap
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.6
log
@- Remove unnecessary PKGNAMEPREFIX declaration
- Remove obsolete MD5 checksum while I'm here

PR:		ports/153634
Submitted by:	sunpoet (myself)
Approved by:	pav (with portmgr hat)
@
text
@d15 1
a15 1
MAINTAINER=	jupengfei@@gmail.com
@


1.5
log
@- Removed shells/bash from RUN_DEPENDS

PR:		ports/147826
Submitted by:	Ju Pengfei <jupengfei@@gmail.com> (maintainer)
Feature safe:	yes
@
text
@a12 1
PKGNAMEPREFIX=	zh-
@


1.4
log
@- Add files/pkg-message.in

PR:		ports/142527
Submitted by:	Ju Pengfei <jupengfei@@gmail.com> (maintainer)
@
text
@d10 1
a10 1
PORTREVISION=	1
d19 1
a19 2
RUN_DEPENDS=	bash:${PORTSDIR}/shells/bash \
		autob5:${PORTSDIR}/chinese/autoconvert
a31 3
	@@${REINPLACE_CMD} -e "s|/bin/bash|${LOCALBASE}/bin/bash|" \
		-e "s|/usr/bin/fortune|/usr/games/fortune|" \
		${WRKSRC}/src/fortune-zh
@


1.3
log
@Style: exist() should not have space before that.

Submitted by:	maintainer
@
text
@d10 1
d26 1
d40 3
@


1.2
log
@ - Add e-mail for creator;
 - Mark IGNORE if games distribution is not installed;
 - Use full path for strfile in case it is not in PATH [1];

Reported by:	pav [1]
Submitted by:	maintainer
@
text
@d26 1
a26 1
.if !exists (/usr/games/fortune) || !exists(/usr/games/strfile)
@


1.1
log
@New port: chinese/fortune A very classic fortune file in Chinese

PR:		ports/141712
Submitted by:	Ju Pengfei <jupengfei gmail com>
@
text
@d3 1
a3 1
# Whom:                        Ju Pengfei
d26 4
d35 1
@

