2005-01-20 21:37:17 +00:00
|
|
|
# New ports collection makefile for: selfhtml
|
|
|
|
# Date created: January 7th 2005
|
|
|
|
# Whom: Frerich Raabe <frerich.raabe@gmx.de>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= selfhtml
|
2007-03-04 04:14:00 +00:00
|
|
|
PORTVERSION= 8.1.2
|
2006-06-05 11:10:23 +00:00
|
|
|
PORTEPOCH= 1
|
2005-01-20 21:37:17 +00:00
|
|
|
CATEGORIES= german www
|
2007-03-04 04:14:00 +00:00
|
|
|
MASTER_SITES= http://aktuell.de.selfhtml.org/extras/ \
|
|
|
|
http://ftp.join.uni-muenster.de/pub/documents/selfhtml/ \
|
2005-08-29 15:51:30 +00:00
|
|
|
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/
|
2005-01-20 21:37:17 +00:00
|
|
|
PKGNAMEPREFIX= de-
|
2006-06-05 11:10:23 +00:00
|
|
|
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}
|
2005-01-20 21:37:17 +00:00
|
|
|
|
2006-06-09 21:07:11 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2005-01-20 21:37:17 +00:00
|
|
|
COMMENT= Extensive german HTML reference
|
|
|
|
|
2006-06-05 11:10:23 +00:00
|
|
|
WRKSRC= ${WRKDIR}
|
|
|
|
|
2005-01-20 21:37:17 +00:00
|
|
|
USE_ZIP= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
PORTDOCS= \
|
2005-01-25 01:17:59 +00:00
|
|
|
index.htm \
|
2005-01-20 21:37:17 +00:00
|
|
|
css \
|
|
|
|
dhtml \
|
|
|
|
diverses \
|
|
|
|
editorial \
|
|
|
|
grafik \
|
|
|
|
helferlein \
|
|
|
|
html \
|
|
|
|
inter \
|
|
|
|
intro \
|
|
|
|
javascript \
|
|
|
|
layouts \
|
|
|
|
navigation \
|
2005-08-29 15:51:30 +00:00
|
|
|
perl \
|
2005-01-20 21:37:17 +00:00
|
|
|
php \
|
|
|
|
projekt \
|
|
|
|
quellen \
|
2005-08-29 15:51:30 +00:00
|
|
|
servercgi \
|
2005-01-20 21:37:17 +00:00
|
|
|
src \
|
|
|
|
xml
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
# \r\n -> \n on text files
|
|
|
|
@${FIND} -E ${WRKSRC} \
|
|
|
|
-iregex \
|
2006-06-05 11:10:23 +00:00
|
|
|
".*\.(css|dhtml|diverses|editorial|grafik|helferlein|htm|inter|intro|javascript|layouts|navigation|perl|php|projekt|quellen|servercgi|src|xml|xls|dtd)$$" \
|
2005-01-20 21:37:17 +00:00
|
|
|
-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>
|