1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/cad/repsnapper/Makefile
Niclas Zeising 47be7a61c9 Switch FreeBSD CURRENT to use the new xorg stack (WITH_NEW_XORG=) [0]
If the old xorg stack is still needed, it is possible to add WITHOUT_NEW_XORG=
to /etc/make.conf to get the old version.

Update several xorg related ports, including:
x11/libxcb 1.9.1 -> 1.9.3
graphics/libdrm 2.4.46 -> 2.4.50
x11/pixman 0.30.2 -> 0.32.4
x11/xkeyboard-config 2.9 -> 2.10.1
x11-drivers/xf86-input-keyboard 1.7.0 -> 1.8.0

Fix dissapearing cursor in xf86-video-vmware [2]

Stagify all x11@-owned ports

Bump portrevisions for xf86-* ports due to xserver version change.

Fix fallout from updates where needed.

Thanks to:	all testersi, bdrewery and the FreeBSD x11@ team
exp-run by:	bdrewery [1]
PR:		ports/184684 [1], ports/181385 [2]
Submitted by:	Douglas Carmichael <dcarmich@dcarmichael.net> [2]
Approved by:	portmgr (bdrewery), core (jhb) [0]
2013-12-16 11:11:09 +00:00

71 lines
2.2 KiB
Makefile

# Created by: Martin Dieringer <martin.dieringe@gmx.de>
# $FreeBSD$
PORTNAME= repsnapper
PORTVERSION= 2.3.2a3
PORTREVISION= 1
CATEGORIES= cad
MASTER_SITES= https://codeload.github.com/timschmidt/repsnapper/tar.gz/
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= libgtkglextmm-x11-1.2.so:${PORTSDIR}/x11-toolkits/gtkglextmm \
libgtkmm-2.4.so:${PORTSDIR}/x11-toolkits/gtkmm24 \
libglademm-2.4.so:${PORTSDIR}/devel/libglademm24 \
libcairomm-1.0.so:${PORTSDIR}/graphics/cairomm \
libzip.so:${PORTSDIR}/archivers/libzip \
libatkmm-1.6.so:${PORTSDIR}/accessibility/atkmm \
libglibmm-2.4.so:${PORTSDIR}/devel/glibmm \
libpthread-stubs.so:${PORTSDIR}/devel/libpthread-stubs \
libsigc-2.0.so:${PORTSDIR}/devel/libsigc++20 \
libpcre.so:${PORTSDIR}/devel/pcre \
libdrm.so:${PORTSDIR}/graphics/libdrm \
libpng15.so:${PORTSDIR}/graphics/png \
libfreetype.so:${PORTSDIR}/print/freetype2 \
libexpat.so:${PORTSDIR}/textproc/expat2 \
libxml++-2.6.so:${PORTSDIR}/textproc/libxml++26 \
libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig \
libpangomm-1.4.so:${PORTSDIR}/x11-toolkits/pangomm
USES= gmake pkgconfig iconv
USE_GNOME= gdkpixbuf2 gtk20 libxml2
USE_GL= gl
USE_AUTOTOOLS= automake libtool
USE_XORG= ice pixman sm x11 xau xcb xcomposite xcursor xdamage xdmcp \
xext xfixes xi xinerama xmu xrandr xrender xt xxf86vm
INSTALLS_ICONS= yes
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
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} ${STAGEDIR}${PREFIX}/etc/xdg/repsnapper
${INSTALL_DATA} ${WRKSRC}/src/repsnapper.conf \
${STAGEDIR}${PREFIX}/etc/xdg/repsnapper/repsnapper.conf.sample
.include <bsd.port.mk>