. trim makefile headers to two line style;

. remove ABI version numbers from LIB_DEPENDS;
. USE_GNOME=pkgconfig -> USE_PKGCONFIG=build;
. utilise USE_GNOME=desktopfileutils;
. remove standard options from CPPFLAGS and LDFLAGS;
. bump PORTREVISION.
This commit is contained in:
Boris Samorodov 2013-03-26 10:19:29 +00:00
parent ee4de43cdf
commit 51aca6b71b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=315274
2 changed files with 12 additions and 12 deletions

View file

@ -1,33 +1,31 @@
# New ports collection makefile for: libgksu1.2 # Created by: Jesse van den Kieboom <troplosti@orcaweb.cjb.net>
# Date created: 1 October 2004
# Whom: Jesse van den Kieboom <troplosti@orcaweb.cjb.net>
#
# $FreeBSD$ # $FreeBSD$
#
PORTNAME= libgksu PORTNAME= libgksu
PORTVERSION= 2.0.9 PORTVERSION= 2.0.9
PORTREVISION= 1 PORTREVISION= 2
CATEGORIES= sysutils CATEGORIES= sysutils
MASTER_SITES= http://people.debian.org/~kov/gksu/ MASTER_SITES= http://people.debian.org/~kov/gksu/
MAINTAINER= bsam@FreeBSD.org MAINTAINER= bsam@FreeBSD.org
COMMENT= Library providing su and sudo functionality COMMENT= Library providing su and sudo functionality
LIB_DEPENDS= gtop-2.0.7:${PORTSDIR}/devel/libgtop \ LIB_DEPENDS= gtop-2.0:${PORTSDIR}/devel/libgtop \
glade-2.0:${PORTSDIR}/devel/libglade2 \ glade-2.0:${PORTSDIR}/devel/libglade2 \
gcr.0:${PORTSDIR}/security/gnome-keyring \ gcr:${PORTSDIR}/security/gnome-keyring \
startup-notification-1.0:${PORTSDIR}/x11/startup-notification startup-notification-1:${PORTSDIR}/x11/startup-notification
RUN_DEPENDS= xauth:${PORTSDIR}/x11/xauth \ RUN_DEPENDS= xauth:${PORTSDIR}/x11/xauth \
sudo:${PORTSDIR}/security/sudo sudo:${PORTSDIR}/security/sudo
USE_GNOME= pkgconfig glib20 gconf2 USE_PKGCONFIG= build
USE_GNOME= desktopfileutils glib20 gconf2
USE_LDCONFIG= yes USE_LDCONFIG= yes
CONFIGURE_ARGS= --enable-gtk-doc=no CONFIGURE_ARGS= --enable-gtk-doc=no
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
GCONF_SCHEMAS= gksu.schemas GCONF_SCHEMAS= gksu.schemas
USE_GMAKE= yes USE_GMAKE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib post-install:
-update-desktop-database
.include <bsd.port.mk> .include <bsd.port.mk>

View file

@ -14,3 +14,5 @@ share/pixmaps/gksu.png
@dirrm lib/libgksu @dirrm lib/libgksu
@dirrm include/libgksu @dirrm include/libgksu
@dirrmtry share/applications @dirrmtry share/applications
@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true