View | Details | Raw Unified | Return to bug 107240
Collapse All | Expand All

(-)/home/lwhsu/ports/www/linkchecker/Makefile (-3 / +22 lines)
Lines 7-14 Link Here
7
#
7
#
8
8
9
PORTNAME=	linkchecker
9
PORTNAME=	linkchecker
10
PORTVERSION=	4.5
10
PORTVERSION=	4.6
11
CATEGORIES=	www
11
CATEGORIES=	www python
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
13
MASTER_SITE_SUBDIR=	${PORTNAME}
13
MASTER_SITE_SUBDIR=	${PORTNAME}
14
14
Lines 17-29 Link Here
17
17
18
USE_PYTHON=		2.4
18
USE_PYTHON=		2.4
19
USE_PYDISTUTILS=	yes
19
USE_PYDISTUTILS=	yes
20
20
MAN1=	linkchecker.1
21
MAN1=	linkchecker.1
22
MANLANG=	"" de fr
23
24
.if !defined(WITHOUT_NLS)
25
USE_GETTEXT=	yes
26
PLIST_SUB+=	NLS=""
27
.else
28
PLIST_SUB+=	NLS="@comment "
29
.endif
21
30
22
.include <bsd.port.pre.mk>
31
.include <bsd.port.pre.mk>
23
32
24
.if ${OSVERSION} < 500000
25
post-patch:
33
post-patch:
34
.if ${OSVERSION} < 500000
26
	@${REINPLACE_CMD} -e 's/gnu99/gnu89/' ${WRKSRC}/setup.py
35
	@${REINPLACE_CMD} -e 's/gnu99/gnu89/' ${WRKSRC}/setup.py
36
.endif
37
.if !defined(WITHOUT_NLS)
38
	@cd ${WRKSRC} && ${PATCH} --quiet < ${FILESDIR}/nls-patch-setup.py
39
.endif
40
41
.if !defined(WITHOUT_NLS)
42
post-install:
43
	${CP} ${WRKSRC}/build/share/locale/de/LC_MESSAGES/linkchecker.mo ${LOCALBASE}/share/locale/de/LC_MESSAGES/
44
	${CP} ${WRKSRC}/build/share/locale/es/LC_MESSAGES/linkchecker.mo ${LOCALBASE}/share/locale/es/LC_MESSAGES/
45
	${CP} ${WRKSRC}/build/share/locale/fr/LC_MESSAGES/linkchecker.mo ${LOCALBASE}/share/locale/fr/LC_MESSAGES/
27
.endif
46
.endif
28
47
29
.include <bsd.port.post.mk>
48
.include <bsd.port.post.mk>
(-)/home/lwhsu/ports/www/linkchecker/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (linkchecker-4.5.tar.gz) = 88685a632dd33d3e0dc852e87a9a1c23
1
MD5 (linkchecker-4.6.tar.gz) = 310a8fce39ef502687d4f6e0d771899d
2
SHA256 (linkchecker-4.5.tar.gz) = 292882c5ef7fd1d053b2aaa8e139862b7cf07d7e3b8e69d6c98074a6eb7be2d3
2
SHA256 (linkchecker-4.6.tar.gz) = e65df696bd1a65934ee4982fc363943b6c1a200a95e2d428c23f89d3f2a4cd87
3
SIZE (linkchecker-4.5.tar.gz) = 604680
3
SIZE (linkchecker-4.6.tar.gz) = 607101
(-)/home/lwhsu/ports/www/linkchecker/files/nls-patch-setup.py (+11 lines)
Line 0 Link Here
1
--- setup.py	Wed Dec 27 12:28:29 2006
2
+++ setup.py.nls	Wed Dec 27 12:28:04 2006
3
@@ -500,6 +500,8 @@
4
 
5
 if os.name == 'posix':
6
     data_files.append(('man/man1', ['doc/en/linkchecker.1']))
7
+    data_files.append(('man/de/man1', ['doc/de/linkchecker.1']))
8
+    data_files.append(('man/fr/man1', ['doc/fr/linkchecker.1']))
9
     data_files.append(('share/examples/linkchecker',
10
               ['config/linkchecker-completion',
11
                'doc/examples/check_blacklist.sh',
(-)/home/lwhsu/ports/www/linkchecker/files/patch-setup.py (-5 / +5 lines)
Lines 1-5 Link Here
1
--- setup.py.orig	Fri Sep 22 12:15:34 2006
1
--- setup.py.orig	Tue Nov 21 17:49:07 2006
2
+++ setup.py	Fri Nov  3 12:18:45 2006
2
+++ setup.py	Wed Dec 27 12:28:29 2006
3
@@ -471,7 +471,6 @@
3
@@ -471,7 +471,6 @@
4
     # windows does not have unistd.h
4
     # windows does not have unistd.h
5
     define_macros.append(('YY_NO_UNISTD_H', None))
5
     define_macros.append(('YY_NO_UNISTD_H', None))
Lines 27-32 Link Here
27
-    data_files.append(('share/linkchecker/examples',
27
-    data_files.append(('share/linkchecker/examples',
28
+    data_files.append(('man/man1', ['doc/en/linkchecker.1']))
28
+    data_files.append(('man/man1', ['doc/en/linkchecker.1']))
29
+    data_files.append(('share/examples/linkchecker',
29
+    data_files.append(('share/examples/linkchecker',
30
               ['config/linkchecker-completion', 'config/linkcheck-cron.sh']))
30
               ['config/linkchecker-completion',
31
 elif win_compiling:
31
                'doc/examples/check_blacklist.sh',
32
     data_files.append(('share/linkchecker/doc',
32
                'doc/examples/check_for_x_errors.sh',
(-)/home/lwhsu/ports/www/linkchecker/pkg-plist (-1 / +15 lines)
Lines 2-7 Link Here
2
%%DATADIR%%/linkcheckerrc
2
%%DATADIR%%/linkcheckerrc
3
%%DATADIR%%/logging.conf
3
%%DATADIR%%/logging.conf
4
%%EXAMPLESDIR%%/check.js
4
%%EXAMPLESDIR%%/check.js
5
%%EXAMPLESDIR%%/check_blacklist.sh
6
%%EXAMPLESDIR%%/check_for_x_errors.sh
7
%%EXAMPLESDIR%%/check_urls.sh
5
%%EXAMPLESDIR%%/index.html
8
%%EXAMPLESDIR%%/index.html
6
%%EXAMPLESDIR%%/lc.cgi
9
%%EXAMPLESDIR%%/lc.cgi
7
%%EXAMPLESDIR%%/lc.fcgi
10
%%EXAMPLESDIR%%/lc.fcgi
Lines 9-15 Link Here
9
%%EXAMPLESDIR%%/lc_cgi.html.en
12
%%EXAMPLESDIR%%/lc_cgi.html.en
10
%%EXAMPLESDIR%%/leer.html.de
13
%%EXAMPLESDIR%%/leer.html.de
11
%%EXAMPLESDIR%%/leer.html.en
14
%%EXAMPLESDIR%%/leer.html.en
12
%%EXAMPLESDIR%%/linkcheck-cron.sh
13
%%EXAMPLESDIR%%/linkchecker-completion
15
%%EXAMPLESDIR%%/linkchecker-completion
14
%%PYTHON_SITELIBDIR%%/_linkchecker_configdata.py
16
%%PYTHON_SITELIBDIR%%/_linkchecker_configdata.py
15
%%PYTHON_SITELIBDIR%%/linkcheck/HtmlParser/__init__.py
17
%%PYTHON_SITELIBDIR%%/linkcheck/HtmlParser/__init__.py
Lines 337-342 Link Here
337
%%PYTHON_SITELIBDIR%%/linkcheck/dns/zone.py
339
%%PYTHON_SITELIBDIR%%/linkcheck/dns/zone.py
338
%%PYTHON_SITELIBDIR%%/linkcheck/dns/zone.pyc
340
%%PYTHON_SITELIBDIR%%/linkcheck/dns/zone.pyc
339
%%PYTHON_SITELIBDIR%%/linkcheck/dns/zone.pyo
341
%%PYTHON_SITELIBDIR%%/linkcheck/dns/zone.pyo
342
%%PYTHON_SITELIBDIR%%/linkcheck/dummy.py
343
%%PYTHON_SITELIBDIR%%/linkcheck/dummy.pyc
344
%%PYTHON_SITELIBDIR%%/linkcheck/dummy.pyo
340
%%PYTHON_SITELIBDIR%%/linkcheck/fcgi.py
345
%%PYTHON_SITELIBDIR%%/linkcheck/fcgi.py
341
%%PYTHON_SITELIBDIR%%/linkcheck/fcgi.pyc
346
%%PYTHON_SITELIBDIR%%/linkcheck/fcgi.pyc
342
%%PYTHON_SITELIBDIR%%/linkcheck/fcgi.pyo
347
%%PYTHON_SITELIBDIR%%/linkcheck/fcgi.pyo
Lines 442-444 Link Here
442
@dirrm %%PYTHON_SITELIBDIR%%/linkcheck/ftpparse
447
@dirrm %%PYTHON_SITELIBDIR%%/linkcheck/ftpparse
443
@dirrm %%PYTHON_SITELIBDIR%%/linkcheck/logger
448
@dirrm %%PYTHON_SITELIBDIR%%/linkcheck/logger
444
@dirrm %%PYTHON_SITELIBDIR%%/linkcheck
449
@dirrm %%PYTHON_SITELIBDIR%%/linkcheck
450
%%NLS%%share/locale/de/LC_MESSAGES/linkchecker.mo
451
%%NLS%%share/locale/es/LC_MESSAGES/linkchecker.mo
452
%%NLS%%share/locale/fr/LC_MESSAGES/linkchecker.mo
453
%%NLS%%@dirrmtry share/locale/fr/LC_MESSAGES
454
%%NLS%%@dirrmtry share/locale/fr
455
%%NLS%%@dirrmtry share/locale/es/LC_MESSAGES
456
%%NLS%%@dirrmtry share/locale/es
457
%%NLS%%@dirrmtry share/locale/de/LC_MESSAGES
458
%%NLS%%@dirrmtry share/locale/de

Return to bug 107240