summaryrefslogtreecommitdiff
path: root/graphics/boxer/Makefile
blob: 47577bc89ba5d4198da841ce3f6f14f0cb66c440 (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
# Created by: Charlie Kester <corky1951@comcast.net>
# $FreeBSD$

PORTNAME=	boxer
PORTVERSION=	0.4.0
PORTREVISION=	2
CATEGORIES=	graphics
MASTER_SITES=	SF/boxc/${PORTNAME:C/^b/B/}%20-%20the%20Box%20GUI/${DISTNAME}/ \
		SF/nemysisfreebsdp/${CATEGORIES}/:icons
DISTFILES=	${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
		${PORTNAME}.png:icons
DIST_SUBDIR=	box
EXTRACT_ONLY=	${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	GUI for Box the figure description language

LICENSE=	GPLv3

RUN_DEPENDS=	box:${PORTSDIR}/graphics/box

USE_GNOME=	pygtk2
USES=		python
USE_PYTHON=	distutils autoplist
USE_LDCONFIG=	yes

PLIST_FILES=	share/pixmaps/${PORTNAME}.png

PORTDOCS=	ChangeLog
OPTIONS_DEFINE=	DOCS

DESKTOP_ENTRIES="Boxer" "" "${PORTNAME}" \
		"${PORTNAME}" "Graphics;" ""

post-install:
	${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
		${STAGEDIR}${PREFIX}/share/pixmaps/

	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>