head	1.9;
access;
symbols
	RELEASE_6_0_0:1.6
	RELEASE_5_4_0:1.6
	RELEASE_4_11_0:1.6
	RELEASE_5_3_0:1.5
	RELEASE_4_10_0:1.5
	RELEASE_5_2_1:1.5
	RELEASE_5_2_0:1.5
	RELEASE_4_9_0:1.5
	RELEASE_5_1_0:1.5
	RELEASE_4_8_0:1.5
	RELEASE_5_0_0:1.4;
locks; strict;
comment	@# @;


1.9
date	2005.12.31.08.36.09;	author pav;	state dead;
branches;
next	1.8;

1.8
date	2005.10.29.22.27.44;	author mnag;	state Exp;
branches;
next	1.7;

1.7
date	2005.10.29.22.07.39;	author mnag;	state Exp;
branches;
next	1.6;

1.6
date	2004.10.26.15.21.15;	author leeym;	state Exp;
branches;
next	1.5;

1.5
date	2003.02.20.16.56.51;	author knu;	state Exp;
branches;
next	1.4;

1.4
date	2002.11.28.06.28.54;	author ijliao;	state Exp;
branches;
next	1.3;

1.3
date	2002.11.10.18.52.48;	author leeym;	state Exp;
branches;
next	1.2;

1.2
date	2002.11.10.16.45.16;	author lioux;	state Exp;
branches;
next	1.1;

1.1
date	2002.11.06.14.37.35;	author ijliao;	state Exp;
branches;
next	;


desc
@@


1.9
log
@- Remove expired ports
@
text
@# ex:ts=8
# Ports collection makefile for:	cdict5
# Date created:			Oct 31, 2002
# Whom:				ijliao
#
# $FreeBSD: ports/chinese/cdict5/Makefile,v 1.8 2005/10/29 22:27:44 mnag Exp $
#

PORTNAME=	cdict5
PORTVERSION=	1.3
CATEGORIES=	chinese textproc
MASTER_SITES=	${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=	ijliao
DISTFILES=	cdict5.tgz cdict5-file.tgz
EXTRACT_ONLY=	cdict5.tgz

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	Chinese-English / English-Chinese dictionary

LIB_DEPENDS=	gdbm:${PORTSDIR}/databases/gdbm

DEPRECATED=	cdict5-file.tgz does not exist anymore
IGNORE=		${DEPRECATED}
EXPIRATION_DATE=	2005-12-29

IGNOREFILES=	cdict5-file.tgz

.include <bsd.port.pre.mk>

#.if !exists(${DISTDIR}/cdict5-file.tgz)
#IGNORE=	"You have to obtain 21st Century Dictionary v5.0 data files yourself"
#.endif

USE_REINPLACE=	yes
WRKSRC=		${WRKDIR}/${PORTNAME}
ALL_TARGET=	# empty

post-patch:
	@@${REINPLACE_CMD} -e "s|/usr/local/lib/cdict5|${DATADIR}|" ${WRKSRC}/cdict5.h

do-install:
	@@${MKDIR} ${DATADIR}
	${TAR} -zxf ${DISTDIR}/cdict5-file.tgz -C ${DATADIR} && \
		${MV} ${DATADIR}/cdict5-file/* ${DATADIR} && \
		${RMDIR} ${DATADIR}/cdict5-file
	${INSTALL_PROGRAM} ${WRKSRC}/cdict5 ${PREFIX}/bin
	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} index
	${INSTALL_DATA} ${WRKSRC}/Index.gdbm ${DATADIR}

.include <bsd.port.post.mk>
@


1.8
log
@Mark as IGNORE too.

Notified by:	kris
@
text
@d6 1
a6 1
# $FreeBSD$
@


1.7
log
@Mark as DEPRECATED

PR:		88030
Submitted by:	Jean Milanez Melo <jmelo@@freebsdbrasil.com.br>
@
text
@d23 1
@


1.6
log
@- relocate IGNOREFILES, utilize DATADIR
- make it portlint-clean
@
text
@d22 3
d29 3
a31 3
.if !exists(${DISTDIR}/cdict5-file.tgz)
IGNORE=	"You have to obtain 21st Century Dictionary v5.0 data files yourself"
.endif
@


1.5
log
@De-pkg-comment.
@
text
@a15 1
IGNOREFILES=	cdict5-file.tgz
d21 2
@


1.4
log
@fix build/install process on -stable and -current
@
text
@d19 1
@


1.3
log
@minor fixes:
1. add IGNOREFILES
2. make index in post-build phase
3. correct pkg-comment / pkg-descr

Reviewed by:	ijliao (mentor)
Approved by:	ijliao (mentor)
@
text
@a34 3
post-build:
	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} index

d41 1
@


1.2
log
@o Rollback PORTCOMMENT modifications while this feature's implementation
  is better studied
o Turn PORTCOMMENT variable in Makefile back into pkg-comment files

Approved by:	kris (portmgr hat),
		portmgr, re (silence)
@
text
@d16 1
d35 3
a42 2
	(cd ${WRKSRC} ; \
	 ${SETENV} CFLAGS="${CFLAGS}" LOCALBASE="${LOCALBASE}" ${MAKE} index)
@


1.1
log
@add cdict5 1.3
Chinese-English dictionary
@
text
@a10 1
PORTCOMMENT=	Chinese-English dictionary
@

