freebsd-ports/deskutils/growl-for-linux/Makefile
Gerald Pfeifer 8690d2d27c deskutils/growl-for-linux: Drop special casing of GCC 4.2
Remove code specific to GCC 4.2 (as system compiler) which is not
necessary any longer: USES=compiler never pulls that in any more.

This reverts most of commits 401f96f227
and 92e22122e8 from 2018/2019.

Approved by:	nivit (maintainer)
2022-12-17 21:25:18 +00:00

50 lines
1.3 KiB
Makefile

PORTNAME= growl-for-linux
PORTVERSION= 0.8.5
PORTREVISION= 7
CATEGORIES= deskutils
MAINTAINER= nivit@FreeBSD.org
COMMENT= Notification system compatible with Growl
WWW= http://mattn.github.com/growl-for-linux/
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= desktop-file-install:devel/desktop-file-utils
LIB_DEPENDS= libcurl.so:ftp/curl \
libdbus-1.so:devel/dbus \
libdbus-glib-1.so:devel/dbus-glib \
libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2
CONFIGURE_ARGS= OPENSSL_CFLAGS="-I${OPENSSLINC}" OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto"
GH_ACCOUNT= mattn
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
LIBNOTIFY_DESC= Use notify-osd for libnotify display plugin
LIBNOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify
LIBNOTIFY_RUN_DEPENDS= notify-osd>=0.9.29_3:deskutils/notify-osd
OPTIONS_DEFAULT=LIBNOTIFY
OPTIONS_DEFINE= LIBNOTIFY
PLIST_SUB= DESKTOPDIR=${DESKTOPDIR:S,^${PREFIX}/,,}
USES= autoreconf compiler:nestedfct gnome libtool pkgconfig sqlite:3 \
ssl
USE_GITHUB= yes
USE_GNOME= cairo gdkpixbuf2 gtk20 libxml2
USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME}/display \
${PREFIX}/lib/${PORTNAME}/subscribe
post-patch:
@${REINPLACE_CMD} '/^gol_LDADD =/s/$$/ -lgmodule-2.0/' \
${WRKSRC}/Makefile.am
post-install:
${RM} ${STAGEDIR}${PREFIX}/lib/libgolplug.a
.include <bsd.port.mk>