aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/chpp/Makefile
blob: b46c5f2678a71c3447ae301ff53d2bebec28c76f (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
# New ports collection makefile for:    chpp
# Version required:         0.3.5
# Date created:             4 May 1999
# Whom:                 Andrey Zakhvatov
#
# $FreeBSD$
#

DISTNAME=   chpp-0.3.5
CATEGORIES= textproc
MASTER_SITES=   http://people.FreeBSD.org/~andy/distfiles/

MAINTAINER= ports@FreeBSD.org

GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --libdir=${PREFIX}/share

post-install:
    @ ${MKDIR} ${PREFIX}/share/examples/chpp
    @ cd ${WRKSRC}/test; tar -cf - * | \
        ( cd ${PREFIX}/share/examples/chpp; tar --unlink -xf - )
    @ ${MKDIR} ${PREFIX}/share/doc/chpp
.if !defined(NOPORTDOCS)
.for file in AUTHORS COPYING NEWS README
    @ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/chpp
.endfor
.endif

.include <bsd.port.mk>