1999-12-29 07:33:57 -05:00
|
|
|
# New ports collection makefile for: chpp
|
|
|
|
# Date created: 4 May 1999
|
|
|
|
# Whom: Andrey Zakhvatov
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-09 17:54:47 -04:00
|
|
|
PORTNAME= chpp
|
2001-02-05 11:35:26 -05:00
|
|
|
PORTVERSION= 0.3.5
|
1999-12-29 07:33:57 -05:00
|
|
|
CATEGORIES= textproc
|
2001-12-24 05:37:45 -05:00
|
|
|
MASTER_SITES= http://www.complang.tuwien.ac.at/~schani/chpp/files/
|
1999-12-29 07:33:57 -05:00
|
|
|
|
2000-03-29 02:16:59 -05:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 14:21:36 -05:00
|
|
|
COMMENT= Non-intrusive full-featured text preprocessor
|
1999-12-29 07:33:57 -05:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --libdir=${PREFIX}/share
|
|
|
|
|
2000-07-07 20:26:16 -04:00
|
|
|
EXAMPLES_DIR= ${PREFIX}/share/examples/chpp
|
|
|
|
|
1999-12-29 07:33:57 -05:00
|
|
|
post-install:
|
2000-07-07 20:26:16 -04:00
|
|
|
@${MKDIR} ${EXAMPLES_DIR}
|
|
|
|
${TAR} -C ${WRKSRC}/test -cf - . | \
|
|
|
|
${TAR} -C ${EXAMPLES_DIR} --unlink -xf -
|
2002-09-29 04:07:47 -04:00
|
|
|
@${FIND} ${EXAMPLES_DIR} | ${XARGS} ${CHOWN} ${SHAREOWN}:${SHAREGRP}
|
|
|
|
@${FIND} ${EXAMPLES_DIR} -type f | ${XARGS} ${CHMOD} ${SHAREMODE}
|
1999-12-29 07:33:57 -05:00
|
|
|
.if !defined(NOPORTDOCS)
|
2001-12-23 21:17:17 -05:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2000-07-07 20:26:16 -04:00
|
|
|
.for file in AUTHORS NEWS README
|
2001-12-23 21:17:17 -05:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
1999-12-29 07:33:57 -05:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|