2001-11-18 04:33:45 +01:00
|
|
|
# New ports collection makefile for: bcpp
|
|
|
|
# Date created: 07 November 2001
|
|
|
|
# Whom: Mike Buchanon <buchanon@msu.edu>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= bcpp
|
2006-04-15 23:13:53 +02:00
|
|
|
PORTVERSION= 20050725
|
2001-11-18 04:33:45 +01:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= ftp://invisible-island.net/bcpp/
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
|
|
|
MAINTAINER= buchanon@msu.edu
|
2003-02-21 12:23:04 +01:00
|
|
|
COMMENT= A utility similar to indent for C++ code
|
2001-11-18 04:33:45 +01:00
|
|
|
|
2006-04-15 23:13:53 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
2001-11-18 04:33:45 +01:00
|
|
|
MAKEFILE= makefile
|
2006-04-15 23:13:53 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2001-11-18 04:33:45 +01:00
|
|
|
|
2001-12-19 04:52:40 +01:00
|
|
|
post-patch:
|
2006-04-15 23:13:53 +02:00
|
|
|
@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' \
|
|
|
|
${WRKSRC}/code/bcpp.cpp
|
2001-12-19 04:52:40 +01:00
|
|
|
|
2001-11-18 04:33:45 +01:00
|
|
|
do-install:
|
2006-04-15 23:13:53 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/code/${PORTNAME} ${PREFIX}/bin
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/code/${PORTNAME}.cfg \
|
2001-11-18 04:33:45 +01:00
|
|
|
${PREFIX}/etc/${PORTNAME}.cfg.sample
|
2001-12-19 04:52:40 +01:00
|
|
|
|
2006-04-15 23:13:53 +02:00
|
|
|
post-install:
|
2001-11-18 04:33:45 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
2006-04-15 23:13:53 +02:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/txtdocs/hirachy.txt ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/txtdocs/manual.txt ${DOCSDIR}
|
2001-11-18 04:33:45 +01:00
|
|
|
.endif
|
2006-04-15 23:13:53 +02:00
|
|
|
@${ECHO_CMD}
|
2001-11-18 04:33:45 +01:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
2006-04-15 23:13:53 +02:00
|
|
|
@${ECHO_CMD}
|
2001-11-18 04:33:45 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|