1999-12-29 12:33:57 +00:00
|
|
|
# New ports collection makefile for: chpp
|
|
|
|
# Date created: 4 May 1999
|
|
|
|
# Whom: Andrey Zakhvatov
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-09 21:54:47 +00:00
|
|
|
PORTNAME= chpp
|
|
|
|
PORTVERSION= 0.3.5
|
1999-12-29 12:33:57 +00:00
|
|
|
CATEGORIES= textproc
|
2000-11-26 15:39:14 +00:00
|
|
|
MASTER_SITES= http://www.complang.tuwien.ac.at/~schani/chpp/files/
|
1999-12-29 12:33:57 +00:00
|
|
|
|
2000-03-29 07:16:59 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
1999-12-29 12:33:57 +00:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --libdir=${PREFIX}/share
|
|
|
|
|
2000-07-08 00:26:16 +00:00
|
|
|
EXAMPLES_DIR= ${PREFIX}/share/examples/chpp
|
|
|
|
DOCS_DIR= ${PREFIX}/share/doc/chpp
|
|
|
|
|
1999-12-29 12:33:57 +00:00
|
|
|
post-install:
|
2000-07-08 00:26:16 +00:00
|
|
|
@${MKDIR} ${EXAMPLES_DIR}
|
|
|
|
${TAR} -C ${WRKSRC}/test -cf - . | \
|
|
|
|
${TAR} -C ${EXAMPLES_DIR} --unlink -xf -
|
|
|
|
@find ${EXAMPLES_DIR} | xargs ${CHOWN} ${SHAREOWN}:${SHAREGRP}
|
|
|
|
@find ${EXAMPLES_DIR} -type f | xargs ${CHMOD} ${SHAREMODE}
|
1999-12-29 12:33:57 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2000-07-08 00:26:16 +00:00
|
|
|
@${MKDIR} ${DOCS_DIR}
|
|
|
|
.for file in AUTHORS NEWS README
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCS_DIR}
|
1999-12-29 12:33:57 +00:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|