aboutsummaryrefslogblamecommitdiff
path: root/graphics/libpillowfight/Makefile
blob: 9d97bd275ebfe5bb8856afa67ca5df559405478b (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
                              
                     








                                                                      

                                             
 
                     
                   

                                              
                                                        

                   

                      

                                                   

                                       



                                         


                                                                                                                                    
                      
PORTNAME=	libpillowfight
DISTVERSION=	0.3.0
CATEGORIES=	graphics python

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Library containing various image processing algorithms

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	gmake:devel/gmake
TEST_DEPENDS=	gmake:devel/gmake \
		tox:devel/py-tox@${PY_FLAVOR}

USES=		cmake
USE_GITLAB=	yes
GL_SITE=	https://gitlab.gnome.org/World
GL_ACCOUNT=	OpenPaperwork
GL_COMMIT=	dae21f97de872e4ad2e94f1b0fc53302a00259fd
USE_LDCONFIG=	yes

TEST_USES=	python

PLIST_FILES=	include/pillowfight/pillowfight.h \
		include/pillowfight/util.h \
		lib/libpillowfight.so \
		lib/libpillowfight.so.0

pre-configure:
	@cd ${WRKSRC} && ${GMAKE} version

do-test: # many tests fail due to various reasons: https://gitlab.gnome.org/World/OpenPaperwork/libpillowfight/issues/18#note_279228
	@cd ${WRKSRC} && ${GMAKE} test

.include <bsd.port.mk>