mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
73df439a2b
- Unmute INSTALL_DATA while I'm still at this port
44 lines
1002 B
Makefile
44 lines
1002 B
Makefile
# New ports collection makefile for: chpp
|
|
# Date created: 4 May 1999
|
|
# Whom: Andrey Zakhvatov <andy@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= chpp
|
|
PORTVERSION= 0.3.5
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= http://www.complang.tuwien.ac.at/~schani/chpp/files/ \
|
|
http://freebsd.nsu.ru/distfiles/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Non-intrusive full-featured text preprocessor
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --libdir=${PREFIX}/share
|
|
|
|
INFO= chpp
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} != "i386"
|
|
BROKEN= Does not compile
|
|
.endif
|
|
|
|
post-install:
|
|
.if !defined(NOPORTEXAMPLES)
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
${TAR} -C ${WRKSRC}/test -cf - . | \
|
|
${TAR} -C ${EXAMPLESDIR} --unlink -xf -
|
|
@${FIND} ${EXAMPLESDIR} | ${XARGS} ${CHOWN} ${SHAREOWN}:${SHAREGRP}
|
|
@${FIND} ${EXAMPLESDIR} -type f | ${XARGS} ${CHMOD} ${SHAREMODE}
|
|
.endif
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for file in AUTHORS NEWS README
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|