aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/boxer/Makefile
blob: 10d53c301283611c14762423cc9f45ef0ad26585 (plain) (blame)
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
43
44
45
# 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+
LICENSE_FILE=   ${WRKSRC}/COPYING

RUN_DEPENDS=    box:graphics/box

USES=       python:2.7
USE_GNOME=  pygtk2
USE_PYTHON= distutils autoplist
USE_LDCONFIG=   yes
NO_ARCH=    yes

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

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

OPTIONS_DEFINE= DOCS

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

post-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>