Make sure text files are installed stripped of CR.
This commit is contained in:
parent
79c8105e8c
commit
1d9cc6cbcd
1 changed files with 9 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue