summaryrefslogtreecommitdiff
path: root/cad/repsnapper/Makefile
blob: 7437a00a153ded6ed1f638e677cc1506f0dffdb3 (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
# Created by: Martin Dieringer <martin.dieringe@gmx.de>
# $FreeBSD$

PORTNAME=	repsnapper
DISTVERSION=	2.5a4
PORTREVISION=	4
CATEGORIES=	cad

MAINTAINER=	martin.dieringer@gmx.de
COMMENT=	Controller and GCode generator for RepRap 3D printers

LICENSE=	GPLv2 BSD3CLAUSE MIT
LICENSE_COMB=	multi

BROKEN_powerpc64=	fails to compile: clipper.hpp:52:10: 'vector' file not found

LIB_DEPENDS=	libgtkglextmm-x11-1.2.so:x11-toolkits/gtkglextmm \
		libpolyclipping.so:graphics/polyclipping \
		libzip.so:archivers/libzip

USES=		compiler:c++11-lib autoreconf gettext gmake libtool localbase \
		perl5 pkgconfig
USE_GITHUB=	yes
GH_ACCOUNT=	timschmidt
USE_GNOME=	gtkmm24 intltool libxml++26
USE_GL=		gl
USE_PERL5=	build
GNU_CONFIGURE=	yes
INSTALLS_ICONS=	yes

INSTALL_TARGET=	install-strip

post-install:
	${MV} ${STAGEDIR}${PREFIX}/etc/xdg/repsnapper/repsnapper.conf \
		${STAGEDIR}${PREFIX}/etc/xdg/repsnapper/repsnapper.conf.sample

.include <bsd.port.mk>