From 8ec18d0c1ce407438e559d75ce1ad43798649b6c Mon Sep 17 00:00:00 2001 From: Muhammad Moinur Rahman Date: Wed, 16 Sep 2015 11:42:32 +0000 Subject: [PATCH] devel/bcpp: Update version 20131209=>20150811 - Move DOCS installation to OPTONSNG compatible - Fix patch files to be 'make makepatch' compatible --- devel/bcpp/Makefile | 8 +++----- devel/bcpp/distinfo | 4 ++-- devel/bcpp/files/patch-code__makefile.unx | 4 ++-- 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/devel/bcpp/Makefile b/devel/bcpp/Makefile index 83958bfe7fab..d67af47b5cb1 100644 --- a/devel/bcpp/Makefile +++ b/devel/bcpp/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= bcpp -PORTVERSION= 20131209 +PORTVERSION= 20150811 CATEGORIES= devel MASTER_SITES= ftp://invisible-island.net/bcpp/ @@ -19,14 +19,12 @@ USES= tar:tgz CFLAGS+= -DBCPP_CONFIG_DIR=\\\"${PREFIX}/etc/${PORTNAME}\\\" -post-patch: - @${REINPLACE_CMD} -e \ - 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/code/bcpp.cpp - do-install: ${INSTALL_PROGRAM} ${WRKSRC}/code/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/code/${PORTNAME}.cfg \ ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.cfg.sample + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/txtdocs/hirachy.txt ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/txtdocs/manual.txt ${STAGEDIR}${DOCSDIR} diff --git a/devel/bcpp/distinfo b/devel/bcpp/distinfo index 33576293de7a..416de33db242 100644 --- a/devel/bcpp/distinfo +++ b/devel/bcpp/distinfo @@ -1,2 +1,2 @@ -SHA256 (bcpp-20131209.tgz) = 4732d606c9b5857d0ea2cee2f2b54eb3b8928f547f8a0c6b89096b674c6bd7f7 -SIZE (bcpp-20131209.tgz) = 146147 +SHA256 (bcpp-20150811.tgz) = 6a18d68a09c4a0e8bf62d23d13ed7c8a62c98664a655f9d648bc466240ce97c3 +SIZE (bcpp-20150811.tgz) = 145969 diff --git a/devel/bcpp/files/patch-code__makefile.unx b/devel/bcpp/files/patch-code__makefile.unx index 5b7c20bbb065..1694fde7d263 100644 --- a/devel/bcpp/files/patch-code__makefile.unx +++ b/devel/bcpp/files/patch-code__makefile.unx @@ -1,5 +1,5 @@ ---- code/makefile.unx.orig Sat Apr 15 18:00:45 2006 -+++ code/makefile.unx Sat Nov 23 11:45:58 2002 +--- code/makefile.unx.orig 2002-11-23 13:45:58 UTC ++++ code/makefile.unx @@ -4,8 +4,8 @@ D =./