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