From f8e875c9e4e1541cb6055d71c526bab6e708cd09 Mon Sep 17 00:00:00 2001 From: amdmi3 Date: Tue, 10 Jun 2014 22:09:53 +0000 Subject: - Support staging - Switch to USES=libtool, drop .la files --- security/libgnomesu/Makefile | 24 ++++++++++++------------ security/libgnomesu/files/pkg-message.in | 12 ++++++++++++ security/libgnomesu/pkg-message | 12 ------------ security/libgnomesu/pkg-plist | 5 ++--- 4 files changed, 26 insertions(+), 27 deletions(-) create mode 100644 security/libgnomesu/files/pkg-message.in delete mode 100644 security/libgnomesu/pkg-message (limited to 'security') 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 diff --git a/security/libgnomesu/files/pkg-message.in b/security/libgnomesu/files/pkg-message.in new file mode 100644 index 000000000000..7b680ea47d9c --- /dev/null +++ b/security/libgnomesu/files/pkg-message.in @@ -0,0 +1,12 @@ + +#################################################### + +The gnomesu part of libgnomesu will use su(1) without +any further work. To utilize the PAM support, however, +you must perform the following: + + cp %%EXAMPLESDIR%%/gnomesu-pam.sample \ + /etc/pam.d/gnomesu-pam + +#################################################### + diff --git a/security/libgnomesu/pkg-message b/security/libgnomesu/pkg-message deleted file mode 100644 index 7b680ea47d9c..000000000000 --- a/security/libgnomesu/pkg-message +++ /dev/null @@ -1,12 +0,0 @@ - -#################################################### - -The gnomesu part of libgnomesu will use su(1) without -any further work. To utilize the PAM support, however, -you must perform the following: - - cp %%EXAMPLESDIR%%/gnomesu-pam.sample \ - /etc/pam.d/gnomesu-pam - -#################################################### - 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 -- cgit