aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/cless/Makefile
blob: bd3acc00c1fdf8d97e69e09ad6b624abee48e8b1 (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
# New ports collection makefile for:    cless
# Version required:     2.90
# Date created:         Sat Aug 10, 1996
# Whom:                 David O'Brien (obrien@cs.ucdavis.edu)
#
# $Id: Makefile,v 1.2 1996/10/29 04:55:52 max Exp $
#

DISTNAME=   cless-290
PKGNAME=    cn-${DISTNAME}
CATEGORIES= chinese misc
MASTER_SITES=   ftp://ftp.ifcss.org/pub/software/unix/c-utils/  \
        ftp://ftp.cuhk.hk/pub/chinese/ifcss/software/unix/c-utils/ \
        ftp://ftp.edu.tw/Chinese/ifcss/software/unix/c-utils/  \
        ftp://ftp.mpi-sb.mpg.de/pub/chinese/mirror/ftp.ifcss.org/software/unix/c-utils/

MAINTAINER=     obrien@cs.ucdavis.edu

GNU_CONFIGURE=  yes
CFLAGS+=    -DHANZI # LDFLAGS=-s datadir=/usr/local/lib/less

post-install:
.if !defined(NOMANCOMPRESS)
.for mp in cless clesskey
    gzip -9nf ${PREFIX}/man/man1/${mp}.1
.endfor
.endif
.if !defined(NOPORTDOCS)
    ${MKDIR} -p ${PREFIX}/share/doc/cless
    ${INSTALL_DATA} ${WRKSRC}/README.CLESS ${PREFIX}/share/doc/cless
.endif

.include <bsd.port.mk>