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

(-)deskutils/blogtk/Makefile (-21 / +16 lines)
Lines 7-14 Link Here
7
#
7
#
8
8
9
PORTNAME=	blogtk
9
PORTNAME=	blogtk
10
PORTVERSION=	1.0
10
PORTVERSION=	1.1
11
PORTREVISION=	2
12
CATEGORIES=	deskutils
11
CATEGORIES=	deskutils
13
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
14
MASTER_SITE_SUBDIR=	${PORTNAME}
13
MASTER_SITE_SUBDIR=	${PORTNAME}
Lines 17-47 Link Here
17
MAINTAINER=	ports@FreeBSD.org
16
MAINTAINER=	ports@FreeBSD.org
18
COMMENT=	A client for Blogger, Movable Type, and other blogging systems
17
COMMENT=	A client for Blogger, Movable Type, and other blogging systems
19
18
19
WRKSRC=		${WRKDIR}/BloGTK-${PORTVERSION}
20
20
USE_BZIP2=	yes
21
USE_BZIP2=	yes
21
USE_REINPLACE=	yes
22
USE_GNOME=	pygnomeextras
22
USE_PYTHON=	2.3+
23
USE_PYTHON=	2.3+
23
USE_GNOME=	pygtk2 pygnome2
24
USE_REINPLACE=	yes
24
NO_BUILD=	yes
25
NO_BUILD=	yes
25
WRKSRC=		${WRKDIR}/BloGTK-${PORTVERSION}
26
26
27
post-patch:
27
post-patch:
28
	@${REINPLACE_CMD} -e 's,/usr/shar,${PREFIX}/shar,' ${WRKSRC}/src/BloGTK.py
28
	@${FIND} ${WRKSRC}/src -name "*.py" | ${XARGS} ${REINPLACE_CMD} -e \
29
29
		's|/usr/share|${PREFIX}/share|g ; \
30
.include <bsd.port.pre.mk>
30
		 s|gtk\.FALSE|False|g ; \
31
		 s|gtk\.TRUE|True|g'
31
32
32
do-install:
33
do-install:
33
	@${MKDIR} ${PYTHON_SITELIBDIR}/blogtk
34
	@${MKDIR} ${PYTHONPREFIX_SITELIBDIR}/blogtk
34
	${INSTALL_SCRIPT} ${WRKSRC}/src/* ${PYTHON_SITELIBDIR}/blogtk
35
	${INSTALL_SCRIPT} ${WRKSRC}/src/*.py ${PYTHONPREFIX_SITELIBDIR}/blogtk
36
	@${LN} -fs ${PYTHONPREFIX_SITELIBDIR}/blogtk/BloGTK.py ${PREFIX}/bin/blogtk
35
	@${MKDIR} ${DATADIR}
37
	@${MKDIR} ${DATADIR}
36
	${INSTALL_DATA} ${WRKSRC}/pixmaps/* ${DATADIR}
38
	${INSTALL_DATA} ${WRKSRC}/pixmaps/*.glade ${DATADIR}
37
	@${LN} -fs ${PYTHON_SITELIBDIR}/blogtk/BloGTK.py ${PREFIX}/bin/blogtk
39
	${INSTALL_DATA} ${WRKSRC}/pixmaps/*.gladep ${DATADIR}
38
.for dir in ${PYTHON_SITELIBDIR}/blogtk ${PREFIX}/share/${PORTNAME}
40
	${INSTALL_DATA} ${WRKSRC}/pixmaps/*.png ${DATADIR}
39
	@${FIND} ${dir} ! -type d | \
40
		${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
41
	@${FIND} ${dir} -type d | ${SORT} -r | \
42
		${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
43
.endfor
44
	@${ECHO_CMD} "@exec ln -fs %D/${PYTHON_SITELIBDIR:S,^${PREFIX}/,,}/blogtk/BloGTK.py %D/bin/blogtk" >> ${TMPPLIST}
45
	@${ECHO_CMD} "@unexec rm -f %D/bin/blogtk 2>/dev/null || true" >> ${TMPPLIST}
46
41
47
.include <bsd.port.post.mk>
42
.include <bsd.port.mk>
(-)deskutils/blogtk/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (blogtk_1.0.tar.bz2) = 90d40f7fb7df5636396caedaf34b73da
1
MD5 (blogtk_1.1.tar.bz2) = cd2d2521a261867cd9c830a81d3d4408
2
SIZE (blogtk_1.0.tar.bz2) = 52265
2
SIZE (blogtk_1.1.tar.bz2) = 64325
(-)deskutils/blogtk/pkg-plist (+20 lines)
Line 0 Link Here
1
bin/blogtk
2
%%PYTHON_SITELIBDIR%%/blogtk/BloGTK.py
3
%%PYTHON_SITELIBDIR%%/blogtk/config.py
4
%%PYTHON_SITELIBDIR%%/blogtk/customtags.py
5
%%PYTHON_SITELIBDIR%%/blogtk/post.py
6
%%PYTHON_SITELIBDIR%%/blogtk/preview.py
7
%%PYTHON_SITELIBDIR%%/blogtk/proxy.py
8
%%PYTHON_SITELIBDIR%%/blogtk/spellcheck.py
9
%%DATADIR%%/b-32.png
10
%%DATADIR%%/blogtk-icon.png
11
%%DATADIR%%/blogtk-logo.png
12
%%DATADIR%%/blogtk.glade
13
%%DATADIR%%/blogtk.gladep
14
%%DATADIR%%/stock_insert-image.png
15
%%DATADIR%%/stock_insert-table.png
16
%%DATADIR%%/stock_link.png
17
%%DATADIR%%/stock_para.png
18
%%DATADIR%%/stock_text_indent.png
19
@dirrm %%DATADIR%%
20
@dirrm %%PYTHON_SITELIBDIR%%/blogtk

Return to bug 79466