diff options
author | ak <ak@FreeBSD.org> | 2012-05-06 01:46:41 +0800 |
---|---|---|
committer | ak <ak@FreeBSD.org> | 2012-05-06 01:46:41 +0800 |
commit | 24ef499b0864101a3eb96778ffa3e0b0e6cc7a3c (patch) | |
tree | dd7328ad246fdc5aa29d89f0e2e66fa58606898f /german | |
parent | fd59a3dcada705c57bd3b53e493ad33abad5e2de (diff) | |
download | freebsd-ports-gnome-24ef499b0864101a3eb96778ffa3e0b0e6cc7a3c.tar.gz freebsd-ports-gnome-24ef499b0864101a3eb96778ffa3e0b0e6cc7a3c.tar.zst freebsd-ports-gnome-24ef499b0864101a3eb96778ffa3e0b0e6cc7a3c.zip |
- Use USE_DOS2UNIX instead of homemade equivalent
Approved by: eadler (mentor)
Diffstat (limited to 'german')
-rw-r--r-- | german/selfhtml/Makefile | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/german/selfhtml/Makefile b/german/selfhtml/Makefile index b1e836db3e75..f3640e7ad381 100644 --- a/german/selfhtml/Makefile +++ b/german/selfhtml/Makefile @@ -30,6 +30,9 @@ WRKSRC= ${WRKDIR} USE_ZIP= yes NO_BUILD= yes +USE_DOS2UNIX= yes +DOS2UNIX_REGEX= .*\.(css|dhtml|diverses|editorial|grafik|helferlein|htm|inter|intro|javascript|layouts|navigation|perl|php|projekt|quellen|servercgi|src|xml|xls|dtd)$$ + PORTDOCS= \ index.htm \ css \ @@ -52,20 +55,6 @@ PORTDOCS= \ src \ xml -post-patch: -# \r\n -> \n on text files - @${FIND} -E ${WRKSRC} \ - -iregex \ - ".*\.(css|dhtml|diverses|editorial|grafik|helferlein|htm|inter|intro|javascript|layouts|navigation|perl|php|projekt|quellen|servercgi|src|xml|xls|dtd)$$" \ - -type f -print0 \ - | ${XARGS} -0 -n 5 -x \ - ${REINPLACE_CMD} -E \ - -e 's|
||' -# remove extraneous backup files - @${FIND} ${WRKSRC} -type f -name "*.bak" -print0 \ - | ${XARGS} -0 -n 5 -x \ - ${RM} -f - do-install: @${MKDIR} ${DOCSDIR} # line taken from textproc/xerces-j maintained by hq@FreeBSD.org |