1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/sysutils/nitrogen/Makefile
Gerald Pfeifer 09f9633cb6 Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.

This includes ports
 - featuring USE_GCC=yes or USE_GCC=any,
 - featuring USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and those
 - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
   c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.

PR:		222542
2018-07-29 22:18:44 +00:00

51 lines
1.2 KiB
Makefile

# Created by: Jonathan Liu <Net147@hotmail.com>
# $FreeBSD$
PORTNAME= nitrogen
PORTVERSION= 1.5.2
PORTREVISION= 9
CATEGORIES= sysutils
MASTER_SITES= http://projects.l3ib.org/nitrogen/files/
MAINTAINER= corentin@ralite.com
COMMENT= Background browser and setter for X windows
LICENSE= GPLv2+
BUILD_DEPENDS= bash:shells/bash
RUN_DEPENDS= gnome-icon-theme>0:misc/gnome-icon-theme \
hicolor-icon-theme>0:misc/hicolor-icon-theme
OPTIONS_DEFINE= XINERAMA
OPTIONS_DEFAULT=XINERAMA
USES= compiler:c++11-lang gettext iconv pkgconfig
USE_CXXSTD= c++11
USE_GNOME= gtkmm24
USE_XORG= x11
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-inotify
INSTALLS_ICONS= yes
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib -lX11
DESKTOP_ENTRIES="Nitrogen" "${COMMENT}" "${PORTNAME}" "${PORTNAME}" \
"Graphics;Viewer;" true
.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
@${REINPLACE_CMD} '/^LIBS =/s/$$/ @LIBS@/' ${WRKSRC}/src/Makefile.in
.include <bsd.port.mk>