blob: b1e836db3e7564c9426c00d8812cfce12efe2da2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
# New ports collection makefile for: selfhtml
# Date created: January 7th 2005
# Whom: Frerich Raabe <frerich.raabe@gmx.de>
#
# $FreeBSD$
#
PORTNAME= selfhtml
PORTVERSION= 8.1.2
PORTEPOCH= 1
CATEGORIES= german www
MASTER_SITES= http://aktuell.de.selfhtml.org/extras/ \
http://ftp.join.uni-muenster.de/pub/documents/selfhtml/ \
ftp://ftp.uni-ulm.de/mirrors/selfhtml/ \
http://free.w3research.com/ \
http://selfhtml.hegglin.net/ \
http://www.meta-text.net/ \
http://www.lichteinfall.de/ \
http://www.mastko.de/ \
http://www.a-mazing.de/downloads/ \
http://download.iansview.com/mirror/selfhtml.org/ \
ftp://ftp.rub.de/pub/selfhtml/
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}
MAINTAINER= ports@FreeBSD.org
COMMENT= Extensive german HTML reference
WRKSRC= ${WRKDIR}
USE_ZIP= yes
NO_BUILD= yes
PORTDOCS= \
index.htm \
css \
dhtml \
diverses \
editorial \
grafik \
helferlein \
html \
inter \
intro \
javascript \
layouts \
navigation \
perl \
php \
projekt \
quellen \
servercgi \
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
# recursively create dirs and install docs
@cd ${WRKSRC} && \
${FIND} ${PORTDOCS} -type d -exec ${MKDIR} "${DOCSDIR}/{}" \; && \
${FIND} ${PORTDOCS} -not -type d -exec ${INSTALL_DATA} "{}" "${DOCSDIR}/{}" \;
.include <bsd.port.mk>
|