summaryrefslogtreecommitdiff
path: root/textproc/chpp/Makefile
blob: 53257513008d73329cac7d7c6eaadbe4496bc2ca (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
# Date created:				4 May 1999
# Whom:					Andrey Zakhvatov
#
# $FreeBSD$
#

PORTNAME=	chpp
PORTVERSION= 	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>