blob: efbb4c5f256f7a3c07e677e0c8631746a796ced9 (
plain)
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= 80
PORTREVISION= 1
CATEGORIES= german www
MASTER_SITES= http://www.fsai.fh-trier.de/~gielj/files/ \
http://home.t-online.de/home/b.michna/selfhtml/ \
http://dj5nu.bei.t-online.de/ \
http://www.mtory.de/selfhtml/ \
http://www.unet.univie.ac.at/~a9105535/ \
http://www.jonasstein.de/mirror/ \
http://home.t-online.de/home/AundG.Hofmann/selfhtml/ \
http://selfhtml.occuris.de/download/ \
http://studwww.ira.uka.de/~s_buerk/selfhtml/ \
http://www.stud.uni-goettingen.de/software/ \
http://www.meta-text.net/
PKGNAMEPREFIX= de-
DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= frerich.raabe@gmx.de
COMMENT= Extensive german HTML reference
USE_REINPLACE= yes
USE_ZIP= yes
NO_BUILD= yes
NO_WRKSUBDIR= yes
PORTDOCS= \
index.htm \
cgiperl \
css \
dhtml \
diverses \
editorial \
grafik \
helferlein \
html \
inter \
intro \
javascript \
layouts \
navigation \
php \
projekt \
quellen \
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>
|