2012-09-22 05:18:20 +00:00
|
|
|
# Created by: Jonathan Liu <Net147@hotmail.com>
|
2007-07-31 02:29:50 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= nitrogen
|
2012-11-09 22:01:27 +00:00
|
|
|
PORTVERSION= 1.5.2
|
2013-01-23 15:00:18 +00:00
|
|
|
PORTREVISION= 2
|
2007-07-31 02:29:50 +00:00
|
|
|
CATEGORIES= sysutils
|
2010-08-02 20:18:28 +00:00
|
|
|
MASTER_SITES= http://projects.l3ib.org/nitrogen/files/
|
2007-07-31 02:29:50 +00:00
|
|
|
|
2012-09-22 05:18:20 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2007-07-31 02:29:50 +00:00
|
|
|
COMMENT= Background browser and setter for X windows
|
|
|
|
|
2012-11-09 22:01:27 +00:00
|
|
|
LICENSE= GPLv2 # (or later)
|
|
|
|
|
2007-07-31 02:29:50 +00:00
|
|
|
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash
|
2012-11-09 22:01:27 +00:00
|
|
|
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 \
|
|
|
|
xcb:${PORTSDIR}/x11/libxcb
|
|
|
|
RUN_DEPENDS= gnome-icon-theme>0:${PORTSDIR}/misc/gnome-icon-theme \
|
|
|
|
hicolor-icon-theme>0:${PORTSDIR}/misc/hicolor-icon-theme
|
2007-07-31 02:29:50 +00:00
|
|
|
|
2012-11-09 22:01:27 +00:00
|
|
|
OPTIONS_DEFINE= XINERAMA
|
|
|
|
OPTIONS_DEFAULT=XINERAMA
|
2010-08-02 20:18:28 +00:00
|
|
|
|
2012-11-09 22:01:27 +00:00
|
|
|
USE_GETTEXT= yes
|
|
|
|
USE_ICONV= yes
|
2007-07-31 02:29:50 +00:00
|
|
|
USE_GNOME= gtk20
|
2012-11-09 22:01:27 +00:00
|
|
|
USE_XORG= pixman x11 xau xcomposite xcursor xdamage xdmcp xext xfixes \
|
|
|
|
xrandr xrender
|
2007-07-31 02:29:50 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --disable-inotify
|
2012-11-09 22:01:27 +00:00
|
|
|
INSTALLS_ICONS= yes
|
|
|
|
MAKE_JOBS_SAFE= yes
|
2007-07-31 02:29:50 +00:00
|
|
|
|
2012-11-09 22:01:27 +00:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2007-07-31 02:29:50 +00:00
|
|
|
|
|
|
|
MAN1= nitrogen.1
|
|
|
|
|
2013-01-07 02:07:26 +00:00
|
|
|
DESKTOP_ENTRIES="Nitrogen" "${COMMENT}" "${PORTNAME}" "${PORTNAME}" \
|
2012-11-09 22:01:27 +00:00
|
|
|
"Graphics;Viewer;" true
|
|
|
|
|
2012-10-05 14:52:51 +00:00
|
|
|
.include <bsd.port.options.mk>
|
2007-07-31 02:29:50 +00:00
|
|
|
|
2012-10-05 14:52:51 +00:00
|
|
|
.if ${PORT_OPTIONS:MXINERAMA}
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 17:56:05 +00:00
|
|
|
USE_XORG+= xinerama
|
2012-11-09 22:01:27 +00:00
|
|
|
CONFIGURE_ARGS+=--enable-xinerama
|
2012-10-05 14:52:51 +00:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-xinerama
|
2007-07-31 02:29:50 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
2012-11-09 22:01:27 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
|
2007-07-31 02:29:50 +00:00
|
|
|
${WRKSRC}/data/icon-theme-installer
|
|
|
|
|
2012-10-05 14:52:51 +00:00
|
|
|
.include <bsd.port.mk>
|