summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2000-05-10 18:43:14 +0000
committerjlam <jlam@pkgsrc.org>2000-05-10 18:43:14 +0000
commit1d9cc6cbcd96a23ce9e94cd860806e9f5a53fbf9 (patch)
treec3f543ab5e351ee7442b21ddb109d9b0465fe471 /devel
parent79c8105e8c40983bdb219359d77f8c74fabb33e2 (diff)
downloadpkgsrc-1d9cc6cbcd96a23ce9e94cd860806e9f5a53fbf9.tar.gz
Make sure text files are installed stripped of CR.
Diffstat (limited to 'devel')
-rw-r--r--devel/boost/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/devel/boost/Makefile b/devel/boost/Makefile
index 6a4252a5e71..6be5c639082 100644
--- a/devel/boost/Makefile
+++ b/devel/boost/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2000/05/09 20:44:04 jlam Exp $
+# $NetBSD: Makefile,v 1.2 2000/05/10 18:43:14 jlam Exp $
DISTNAME= boost_all
PKGNAME= boost-1.14.1
@@ -10,7 +10,7 @@ MAINTAINER= jlam@netbsd.org
HOMEPAGE= http://www.boost.org/
DIST_SUBDIR= ${PKGNAME}
-EXTRACT_CMD= ${LOCALBASE}/bin/unzip -uLa ${DOWNLOADED_DISTFILE}
+EXTRACT_CMD= ${LOCALBASE}/bin/unzip -aaLu ${DOWNLOADED_DISTFILE}
NO_WRKSUBDIR= # defined
NO_CONFIGURE= # defined
@@ -19,6 +19,11 @@ NO_BUILD= # defined
BOOSTDIR= ${PREFIX}/include/boost
HTMLDOCDIR= ${PREFIX}/share/doc/html/boost
+post-extract:
+ cd ${WRKSRC}; ${LOCALBASE}/bin/unzip -aCLo \
+ ${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX} \
+ *.gif */*.jpg */*/*.gif */*/*.jpg
+
do-install:
${INSTALL_DATA_DIR} ${BOOSTDIR}
${INSTALL_DATA_DIR} ${BOOSTDIR}/detail
@@ -35,7 +40,8 @@ do-install:
${INSTALL_DATA_DIR} ${HTMLDOCDIR}/people
cd ${WRKSRC}; ${INSTALL_DATA} *.htm ${HTMLDOCDIR}
- cd ${WRKSRC}/libs; for file in */*.cpp */*.gif */*.htm */*.jpg; do \
+ cd ${WRKSRC}/libs; \
+ for file in */*.cpp */*.gif */*.htm */*.html */*.jpg; do \
${INSTALL_DATA} $${file} ${HTMLDOCDIR}/libs/$${file}; \
done
cd ${WRKSRC}/people; ${INSTALL_DATA} * ${HTMLDOCDIR}/people