2012-09-29 00:32:18 +02:00
|
|
|
# Created by: Martin Dieringer <martin.dieringe@gmx.de>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= repsnapper
|
2013-05-14 19:44:08 +02:00
|
|
|
PORTVERSION= 2.2.0a4
|
2012-09-29 00:32:18 +02:00
|
|
|
CATEGORIES= cad
|
2013-05-14 19:44:08 +02:00
|
|
|
MASTER_SITES= https://codeload.github.com/timschmidt/repsnapper/tar.gz/
|
2012-09-29 00:32:18 +02:00
|
|
|
DISTNAME= ${PORTVERSION}
|
|
|
|
EXTRACT_SUFX= #
|
|
|
|
DIST_SUBDIR= ${PORTNAME}
|
|
|
|
|
|
|
|
MAINTAINER= martin.dieringer@gmx.de
|
|
|
|
COMMENT= Controller and GCode generator for RepRap 3D printers
|
|
|
|
|
|
|
|
LICENSE= GPLv2 BSD MIT
|
|
|
|
LICENSE_COMB= multi
|
|
|
|
|
|
|
|
BUILD_DEPENDS= p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser
|
|
|
|
LIB_DEPENDS= gtkglext:${PORTSDIR}/x11-toolkits/gtkglext \
|
|
|
|
gtkmm-2:${PORTSDIR}/x11-toolkits/gtkmm24 \
|
|
|
|
glademm-2:${PORTSDIR}/devel/libglademm24 \
|
|
|
|
cairomm-1:${PORTSDIR}/graphics/cairomm \
|
|
|
|
zip:${PORTSDIR}/archivers/libzip \
|
|
|
|
atkmm-1.6:${PORTSDIR}/accessibility/atkmm \
|
|
|
|
glibmm-2.4:${PORTSDIR}/devel/glibmm \
|
|
|
|
pthread-stubs:${PORTSDIR}/devel/libpthread-stubs \
|
|
|
|
sigc-2.0:${PORTSDIR}/devel/libsigc++20 \
|
|
|
|
pcre:${PORTSDIR}/devel/pcre \
|
|
|
|
drm:${PORTSDIR}/graphics/libdrm \
|
|
|
|
png15:${PORTSDIR}/graphics/png \
|
|
|
|
freetype:${PORTSDIR}/print/freetype2 \
|
|
|
|
expat:${PORTSDIR}/textproc/expat2 \
|
|
|
|
xml++-2.6:${PORTSDIR}/textproc/libxml++26 \
|
|
|
|
fontconfig:${PORTSDIR}/x11-fonts/fontconfig \
|
The FreeBSD x11 team proudly presents
an zeising, kwm, miwi, bapt, eadler production:
Xorg 7.7
Starring:
xserver 1.12.4 (new xorg only)
Mesa 8.0.4, including libGL, libGLU and dri (new xorg only)
libX11 1.5.0
libxcb 1.9
libdrm 2.4.42 (new xorg only)
freeglut 2.8.1
Also starring:
Updates to drivers and other libraries and utilities
Additional notes:
Change pkgconf to be a build dependency.
Add a new USE_XORG, xcb, to depend on libxcb and update all ports to use
this.
Trim makefile headers.
Take maintanership of x11/xcb-proto, ok'd by ashish.
If you are running WITH_NEW_XORG=, you need to rebuild all installed
drivers, see UPDATING for more information.
Various fixes to make ports compile.
PR: ports/177942
Exp-run by: miwi
Approved by: portmgr (miwi)
Thanks to all who helped testing!
2013-05-25 16:37:02 +02:00
|
|
|
pangomm-1.4:${PORTSDIR}/x11-toolkits/pangomm
|
2012-09-29 00:32:18 +02:00
|
|
|
|
2013-04-27 10:50:46 +02:00
|
|
|
USES= pkgconfig iconv
|
2012-09-29 00:32:18 +02:00
|
|
|
USE_GNOME= gdkpixbuf2 gtk20 libxml2
|
|
|
|
USE_GL= glu glut
|
|
|
|
USE_AUTOTOOLS= automake libtool
|
|
|
|
USE_GMAKE= yes
|
The FreeBSD x11 team proudly presents
an zeising, kwm, miwi, bapt, eadler production:
Xorg 7.7
Starring:
xserver 1.12.4 (new xorg only)
Mesa 8.0.4, including libGL, libGLU and dri (new xorg only)
libX11 1.5.0
libxcb 1.9
libdrm 2.4.42 (new xorg only)
freeglut 2.8.1
Also starring:
Updates to drivers and other libraries and utilities
Additional notes:
Change pkgconf to be a build dependency.
Add a new USE_XORG, xcb, to depend on libxcb and update all ports to use
this.
Trim makefile headers.
Take maintanership of x11/xcb-proto, ok'd by ashish.
If you are running WITH_NEW_XORG=, you need to rebuild all installed
drivers, see UPDATING for more information.
Various fixes to make ports compile.
PR: ports/177942
Exp-run by: miwi
Approved by: portmgr (miwi)
Thanks to all who helped testing!
2013-05-25 16:37:02 +02:00
|
|
|
USE_XORG= ice pixman sm x11 xau xcb composite xcursor xdamage xdmcp \
|
|
|
|
xext xfixes xi xinerama xmu xrandr xrender xt xxf86vm
|
2012-09-29 00:32:18 +02:00
|
|
|
|
2013-04-30 00:27:05 +02:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
2013-04-26 12:44:28 +02:00
|
|
|
USES+= gettext
|
2012-09-29 00:32:18 +02:00
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.endif
|
|
|
|
|
2013-05-14 19:44:08 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
2012-09-29 00:32:18 +02:00
|
|
|
INSTALL_TARGET= install-strip
|
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX}
|
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
cd ${WRKSRC} && ./autogen.sh
|
|
|
|
|
|
|
|
post-configure:
|
|
|
|
@${REINPLACE_CMD} 's|src/repsnapper.conf||' \
|
|
|
|
${WRKSRC}/Makefile
|
|
|
|
@${REINPLACE_CMD} 's|DATADIRNAME = lib|DATADIRNAME = share|' \
|
|
|
|
${WRKSRC}/po/Makefile
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${MKDIR} ${PREFIX}/etc/xdg/repsnapper
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/src/repsnapper.conf \
|
|
|
|
${PREFIX}/etc/xdg/repsnapper/repsnapper.conf.sample
|
|
|
|
@if [ ! -f ${PREFIX}/etc/xdg/repsnapper/repsnapper.conf ]; then \
|
|
|
|
${CP} -p ${PREFIX}/etc/xdg/repsnapper/repsnapper.conf.sample \
|
|
|
|
${PREFIX}/etc/xdg/repsnapper/repsnapper.conf ; \
|
|
|
|
fi
|
|
|
|
|
2013-04-30 00:27:05 +02:00
|
|
|
.include <bsd.port.mk>
|