svn commit: r367274 - in head/deskutils/growl-for-linux: . files
Tijl Coosemans
tijl at FreeBSD.org
Thu Sep 4 14:55:45 UTC 2014
Author: tijl
Date: Thu Sep 4 14:55:44 2014
New Revision: 367274
URL: http://svnweb.freebsd.org/changeset/ports/367274
QAT: https://qat.redports.org/buildarchive/r367274/
Log:
- Add missing -lgmodule-2.0
- Support base openssl
- Use option helpers
- Replace pre-configure with USE_AUTOTOOLS
- Replace patch with post-install command
- Replace USE_GCC=any with USES=compiler:nestedfct
Deleted:
head/deskutils/growl-for-linux/files/patch-plugins__Makefile.am
Modified:
head/deskutils/growl-for-linux/Makefile
Modified: head/deskutils/growl-for-linux/Makefile
==============================================================================
--- head/deskutils/growl-for-linux/Makefile Thu Sep 4 14:51:03 2014 (r367273)
+++ head/deskutils/growl-for-linux/Makefile Thu Sep 4 14:55:44 2014 (r367274)
@@ -2,7 +2,7 @@
PORTNAME= growl-for-linux
PORTVERSION= 0.6.9
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= deskutils
MAINTAINER= nivit at FreeBSD.org
@@ -20,32 +20,29 @@ GH_COMMIT= ac7c8cd
GH_TAGNAME= ${GH_COMMIT}
GNU_CONFIGURE= yes
-
-OPTIONS_DEFINE= LIBNOTIFY
-OPTIONS_DEFAULT= LIBNOTIFY
-LIBNOTIFY_DESC= Use notify-osd for libnotify display plugin
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MLIBNOTIFY}
-LIB_DEPENDS+= libnotify.so:${PORTSDIR}/devel/libnotify
-RUN_DEPENDS+= notify-osd>=0.9.29_3:${PORTSDIR}/deskutils/notify-osd
-.endif
-
-PLIST_SUB= DESKTOPDIR=${DESKTOPDIR:S,^${PREFIX}/,,}
-
-USE_AUTOTOOLS= autoconf:env automake:env libtoolize:env
+CONFIGURE_ARGS= OPENSSL_CFLAGS="-I${OPENSSLINC}" OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto"
+USES= compiler:nestedfct libtool pkgconfig
+USE_AUTOTOOLS= libtoolize aclocal autoconf automake
+AUTOMAKE_ARGS= -a -c -f
USE_GITHUB= yes
-USE_GCC= any
USE_GNOME= gtk20
-USE_LDCONFIG= yes
USE_OPENSSL= yes
USE_SQLITE= 3
-USES= libtool pkgconfig
-WITH_OPENSSL_PORT= yes
+PLIST_SUB= DESKTOPDIR=${DESKTOPDIR:S,^${PREFIX}/,,}
+
+OPTIONS_DEFINE= LIBNOTIFY
+OPTIONS_DEFAULT=LIBNOTIFY
+
+LIBNOTIFY_DESC= Use notify-osd for libnotify display plugin
+LIBNOTIFY_LIB_DEPENDS= libnotify.so:${PORTSDIR}/devel/libnotify
+LIBNOTIFY_RUN_DEPENDS= notify-osd>=0.9.29_3:${PORTSDIR}/deskutils/notify-osd
+
+post-patch:
+ @${REINPLACE_CMD} '/^gol_LDADD =/s/$$/ -lgmodule-2.0/' \
+ ${WRKSRC}/Makefile.am
-pre-configure:
- @(cd ${CONFIGURE_WRKSRC} ; ${SETENV} ${CONFIGURE_ENV} ${SH} autogen.sh)
+post-install:
+ ${RM} ${STAGEDIR}${PREFIX}/lib/libgolplug.a
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list