freebsd-ports/textproc/chpp/Makefile

42 lines
961 B
Makefile
Raw Normal View History

# New ports collection makefile for: chpp
# Date created: 4 May 1999
# Whom: Andrey Zakhvatov
#
# $FreeBSD$
#
PORTNAME= chpp
2001-02-05 17:35:26 +01:00
PORTVERSION= 0.3.5
CATEGORIES= textproc
MASTER_SITES= http://www.complang.tuwien.ac.at/~schani/chpp/files/
MAINTAINER= ports@FreeBSD.org
2003-02-20 20:21:36 +01:00
COMMENT= Non-intrusive full-featured text preprocessor
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --libdir=${PREFIX}/share
EXAMPLES_DIR= ${PREFIX}/share/examples/chpp
2005-12-04 11:58:19 +01:00
INFO= chpp
2004-02-23 04:53:37 +01:00
.include <bsd.port.pre.mk>
.if ${ARCH} != "i386"
BROKEN= "Does not compile"
.endif
post-install:
@${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}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in AUTHORS NEWS README
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
2004-02-23 04:53:37 +01:00
.include <bsd.port.post.mk>