blob: 6dbfa14a1b1b9e4dfa2a316f85aa989c5f52b464 (
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
|
# New ports collection makefile for: selfhtml
# Date created: January 7th 2005
# Whom: Frerich Raabe <frerich.raabe@gmx.de>
#
# $FreeBSD$
#
PORTNAME= selfhtml
PORTVERSION= 81
CATEGORIES= german www
MASTER_SITES= 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/
PKGNAMEPREFIX= de-
DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= frerich.raabe@gmx.de
COMMENT= Extensive german HTML reference
USE_REINPLACE= yes
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|ent|htm|java|js|txt|url|vcf|wrl|xhtml|xml)$$" \
-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>
|