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

(-)./Makefile (-11 / +11 lines)
Lines 1-9 Link Here
1
# New ports collection makefile for:	skencil
1
# Created by: Thomas Gellekum <tg@FreeBSD.org>
2
# Date created:		04 November 1998
3
# Whom:			Thomas Gellekum <tg@FreeBSD.org>
4
#
5
# $FreeBSD: head/graphics/skencil/Makefile 300896 2012-07-14 13:54:48Z beat $
2
# $FreeBSD: head/graphics/skencil/Makefile 300896 2012-07-14 13:54:48Z beat $
6
#
7
3
8
PORTNAME=	skencil
4
PORTNAME=	skencil
9
PORTVERSION=	1.0.a784
5
PORTVERSION=	1.0.a784
Lines 11-18 Link Here
11
MASTER_SITES=	GOOGLE_CODE
7
MASTER_SITES=	GOOGLE_CODE
12
DISTNAME=	${PORTNAME}-${PORTVERSION:S/.a/alpha_rev/}
8
DISTNAME=	${PORTNAME}-${PORTVERSION:S/.a/alpha_rev/}
13
9
14
MAINTAINER=	ports@FreeBSD.org
10
MAINTAINER=	nemysis@gmx.ch
15
COMMENT=	An interactive drawing program
11
COMMENT=	Interactive drawing program
12
13
LICENSE=	LGPL20
16
14
17
BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}imaging>0:${PORTSDIR}/graphics/py-imaging
15
BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}imaging>0:${PORTSDIR}/graphics/py-imaging
18
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}imaging>0:${PORTSDIR}/graphics/py-imaging \
16
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}imaging>0:${PORTSDIR}/graphics/py-imaging \
Lines 37-43 Link Here
37
CFLAGS+=	-I${TK_INCLUDEDIR} -I${LOCALBASE}/include \
35
CFLAGS+=	-I${TK_INCLUDEDIR} -I${LOCALBASE}/include \
38
		-L${LOCALBASE}/lib
36
		-L${LOCALBASE}/lib
39
37
40
.include <bsd.port.pre.mk>
38
PORTDOCS=	README
39
40
.include <bsd.port.options.mk>
41
41
42
post-patch:
42
post-patch:
43
	 @${REINPLACE_CMD} -e \
43
	 @${REINPLACE_CMD} -e \
Lines 49-57 Link Here
49
		 s|/usr/share|${PREFIX}/share|g" ${WRKSRC}/setup.py
49
		 s|/usr/share|${PREFIX}/share|g" ${WRKSRC}/setup.py
50
50
51
post-install:
51
post-install:
52
.if !defined(NOPORTDOCS)
52
.if ${PORT_OPTIONS:MDOCS}
53
	@${MKDIR} ${DOCSDIR}
53
	@${MKDIR} ${DOCSDIR}
54
	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
54
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
55
.endif
55
.endif
56
56
57
.include <bsd.port.post.mk>
57
.include <bsd.port.mk>
(-)./pkg-plist (-3 / +3 lines)
Lines 653-661 Link Here
653
%%PYTHON_SITELIBDIR%%/skencil/__init__.pyc
653
%%PYTHON_SITELIBDIR%%/skencil/__init__.pyc
654
%%PYTHON_SITELIBDIR%%/skencil/__init__.pyo
654
%%PYTHON_SITELIBDIR%%/skencil/__init__.pyo
655
share/applications/skencil.desktop
655
share/applications/skencil.desktop
656
%%PORTDOCS%%%%DOCSDIR%%/README
657
share/pixmaps/skencil.png
656
share/pixmaps/skencil.png
658
share/pixmaps/skencil.xpm
657
share/pixmaps/skencil.xpm
658
@dirrmtry share/applications
659
@dirrm %%PYTHON_SITELIBDIR%%/skencil/Sketch/UI
659
@dirrm %%PYTHON_SITELIBDIR%%/skencil/Sketch/UI
660
@dirrm %%PYTHON_SITELIBDIR%%/skencil/Sketch/Scripting
660
@dirrm %%PYTHON_SITELIBDIR%%/skencil/Sketch/Scripting
661
@dirrm %%PYTHON_SITELIBDIR%%/skencil/Sketch/Modules
661
@dirrm %%PYTHON_SITELIBDIR%%/skencil/Sketch/Modules
Lines 697-701 Link Here
697
@dirrm %%PYTHON_SITELIBDIR%%/skencil/Plugins/Filters
697
@dirrm %%PYTHON_SITELIBDIR%%/skencil/Plugins/Filters
698
@dirrm %%PYTHON_SITELIBDIR%%/skencil/Plugins
698
@dirrm %%PYTHON_SITELIBDIR%%/skencil/Plugins
699
@dirrm %%PYTHON_SITELIBDIR%%/skencil
699
@dirrm %%PYTHON_SITELIBDIR%%/skencil
700
%%PORTDOCS%%@dirrm %%DOCSDIR%%
700
@dirrmtry %%PYTHON_SITELIBDIR%%
701
@dirrmtry share/applications
701
@dirrmtry %%PYTHON_LIBDIR%%

Return to bug 176976