de78af3ac5
Reviewed by: exp8 run on pointyhat Supported by: miwi
35 lines
895 B
Makefile
35 lines
895 B
Makefile
# New ports collection makefile for: mypaint
|
|
# Date created: 12 June 2007
|
|
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= mypaint
|
|
PORTVERSION= 0.8.2
|
|
PORTREVISION= 1
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://download.gna.org/mypaint/ \
|
|
http://mirror.amdmi3.ru/distfiles/
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
COMMENT= Fast painting/scribbling program
|
|
|
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/numpy:${PORTSDIR}/math/py-numpy \
|
|
${PYTHON_PKGNAMEPREFIX}protobuf>0:${PORTSDIR}/devel/py-protobuf
|
|
BUILD_DEPENDS:= ${RUN_DEPENDS} \
|
|
swig:${PORTSDIR}/devel/swig13 \
|
|
protoc:${PORTSDIR}/devel/protobuf
|
|
|
|
USE_BZIP2= yes
|
|
USE_GNOME= glib20 pygtk2
|
|
USE_PYTHON= yes
|
|
USE_SCONS= yes
|
|
SCONS_ARGS= prefix="${PREFIX}"
|
|
|
|
post-install:
|
|
# scons won't install icons if ${PREFIX}/share/icons already exists
|
|
cd ${WRKSRC}/desktop && ${COPYTREE_SHARE} 'icons' ${PREFIX}/share
|
|
|
|
.include <bsd.port.mk>
|