aboutsummaryrefslogtreecommitdiff
path: root/security/libgnomesu
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2014-06-10 22:09:53 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2014-06-10 22:09:53 +0000
commitb4716b4e926198d5f3ee2bf764978a29e94f2a34 (patch)
tree9262a14f8dc5d8aba2331f51cbf876c59191adaa /security/libgnomesu
parentd151017461c2d377304d745ba71589993589f672 (diff)
downloadports-b4716b4e926198d5f3ee2bf764978a29e94f2a34.tar.gz
ports-b4716b4e926198d5f3ee2bf764978a29e94f2a34.zip
Notes
Diffstat (limited to 'security/libgnomesu')
-rw-r--r--security/libgnomesu/Makefile24
-rw-r--r--security/libgnomesu/files/pkg-message.in (renamed from security/libgnomesu/pkg-message)0
-rw-r--r--security/libgnomesu/pkg-plist5
3 files changed, 14 insertions, 15 deletions
diff --git a/security/libgnomesu/Makefile b/security/libgnomesu/Makefile
index ed65e1449a27..997c97558d62 100644
--- a/security/libgnomesu/Makefile
+++ b/security/libgnomesu/Makefile
@@ -4,33 +4,33 @@
PORTNAME= libgnomesu
PORTVERSION= 1.0.0
-PORTREVISION= 10
+PORTREVISION= 11
CATEGORIES= security gnome
MASTER_SITES= http://members.chello.nl/~h.lai/libgnomesu/
MAINTAINER= ports@FreeBSD.org
COMMENT= Library and frontend for running commands as root
-USE_AUTOTOOLS= libtool
-USES= pathfix gmake pkgconfig
+USES= pathfix gmake pkgconfig libtool
+GNU_CONFIGURE= yes
USE_GNOME= gnomeprefix libgnomeui
CONFIGURE_ARGS+=--disable-install-pam
CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib"
CPPFLAGS+= -I${LOCALBASE}/include
-NO_STAGE= yes
+SUB_FILES= pkg-message
+
+OPTIONS_DEFINE= DOCS EXAMPLES
+
post-patch:
@${REINPLACE_CMD} -e 's|-DGTK_DISABLE_DEPRECATED||g' \
${WRKSRC}/src/Makefile.in
post-install:
- ${MKDIR} ${EXAMPLESDIR}
- ${INSTALL_DATA} ${FILESDIR}/gnomesu-pam.sample ${EXAMPLESDIR}
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/api.html ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/libgnomesu.css ${DOCSDIR}
-.endif
- @${SED} -e "s|%%EXAMPLESDIR%%|${EXAMPLESDIR}|g" ${PKGMESSAGE}
+ ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${FILESDIR}/gnomesu-pam.sample ${STAGEDIR}${EXAMPLESDIR}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/api.html ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/libgnomesu.css ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/security/libgnomesu/pkg-message b/security/libgnomesu/files/pkg-message.in
index 7b680ea47d9c..7b680ea47d9c 100644
--- a/security/libgnomesu/pkg-message
+++ b/security/libgnomesu/files/pkg-message.in
diff --git a/security/libgnomesu/pkg-plist b/security/libgnomesu/pkg-plist
index 50a5586ee97c..ce1f3e0d417e 100644
--- a/security/libgnomesu/pkg-plist
+++ b/security/libgnomesu/pkg-plist
@@ -1,10 +1,9 @@
bin/gnomesu
include/libgnomesu-1.0/libgnomesu/gnomesu-auth-dialog.h
include/libgnomesu-1.0/libgnomesu/libgnomesu.h
-lib/libgnomesu.a
-lib/libgnomesu.la
lib/libgnomesu.so
-lib/libgnomesu.so.2
+lib/libgnomesu.so.0
+lib/libgnomesu.so.0.2.0
libdata/pkgconfig/libgnomesu-1.0.pc
libexec/gnomesu-backend
libexec/gnomesu-pam-backend