aboutsummaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2005-11-23 04:52:56 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2005-11-23 04:52:56 +0000
commit7e7cc5898f9ced5cc15efea852106a03bdb031c1 (patch)
tree4773da899f3f8fdf8876eeba4e43c617c54e1ff9 /archivers
parent7c0c250ff69c7df1347a9413e46da353095dda0f (diff)
downloadports-7e7cc5898f9ced5cc15efea852106a03bdb031c1.tar.gz
ports-7e7cc5898f9ced5cc15efea852106a03bdb031c1.zip
Notes
Diffstat (limited to 'archivers')
-rw-r--r--archivers/unalz/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/archivers/unalz/Makefile b/archivers/unalz/Makefile
index e6ef72525748..9d1c50a39f94 100644
--- a/archivers/unalz/Makefile
+++ b/archivers/unalz/Makefile
@@ -21,6 +21,12 @@ MAKE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
WRKSRC= ${WRKDIR}/unalz
+pre-patch:
+ cd ${WRKSRC} && for f in `find . -name '*.c' -o -name '*.h'`; do \
+ ${TR} -d '\015' < ${WRKSRC}/$$f > ${WRKSRC}/$$f.tmp && \
+ ${MV} -f ${WRKSRC}/$$f.tmp ${WRKSRC}/$$f; \
+ done
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/unalz ${PREFIX}/bin