1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/sysutils/nitrogen/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

66 lines
1.7 KiB
Makefile

# Created by: Jonathan Liu <Net147@hotmail.com>
# $FreeBSD$
PORTNAME= nitrogen
PORTVERSION= 1.5.2
PORTREVISION= 4
CATEGORIES= sysutils
MASTER_SITES= http://projects.l3ib.org/nitrogen/files/
MAINTAINER= ports@FreeBSD.org
COMMENT= Background browser and setter for X windows
LICENSE= GPLv2 # (or later)
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash
LIB_DEPENDS= atkmm:${PORTSDIR}/accessibility/atkmm \
glibmm:${PORTSDIR}/devel/glibmm \
pthread-stubs:${PORTSDIR}/devel/libpthread-stubs \
sigc-2.0:${PORTSDIR}/devel/libsigc++20 \
pcre:${PORTSDIR}/devel/pcre \
cairo:${PORTSDIR}/graphics/cairo \
cairomm:${PORTSDIR}/graphics/cairomm \
png15:${PORTSDIR}/graphics/png \
freetype:${PORTSDIR}/print/freetype2 \
expat:${PORTSDIR}/textproc/expat2 \
fontconfig:${PORTSDIR}/x11-fonts/fontconfig \
gtkmm-2.4:${PORTSDIR}/x11-toolkits/gtkmm24 \
pangomm:${PORTSDIR}/x11-toolkits/pangomm
RUN_DEPENDS= gnome-icon-theme>0:${PORTSDIR}/misc/gnome-icon-theme \
hicolor-icon-theme>0:${PORTSDIR}/misc/hicolor-icon-theme
OPTIONS_DEFINE= XINERAMA
OPTIONS_DEFAULT=XINERAMA
USES= gettext iconv pkgconfig
USE_GNOME= gtk20
USE_XORG= pixman x11 xau xcb xcomposite xcursor xdamage xdmcp xext xfixes \
xrandr xrender
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-inotify
INSTALLS_ICONS= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
MAN1= nitrogen.1
DESKTOP_ENTRIES="Nitrogen" "${COMMENT}" "${PORTNAME}" "${PORTNAME}" \
"Graphics;Viewer;" true
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MXINERAMA}
USE_XORG+= xinerama
CONFIGURE_ARGS+=--enable-xinerama
.else
CONFIGURE_ARGS+=--disable-xinerama
.endif
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
${WRKSRC}/data/icon-theme-installer
.include <bsd.port.mk>