diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2014-06-11 06:09:53 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2014-06-11 06:09:53 +0800 |
commit | f8e875c9e4e1541cb6055d71c526bab6e708cd09 (patch) | |
tree | 9262a14f8dc5d8aba2331f51cbf876c59191adaa /security | |
parent | a967e5e915bb22e812392577e34a80c3d01f7e4b (diff) | |
download | freebsd-ports-gnome-f8e875c9e4e1541cb6055d71c526bab6e708cd09.tar.gz freebsd-ports-gnome-f8e875c9e4e1541cb6055d71c526bab6e708cd09.tar.zst freebsd-ports-gnome-f8e875c9e4e1541cb6055d71c526bab6e708cd09.zip |
- Support staging
- Switch to USES=libtool, drop .la files
Diffstat (limited to 'security')
-rw-r--r-- | security/libgnomesu/Makefile | 24 | ||||
-rw-r--r-- | security/libgnomesu/files/pkg-message.in (renamed from security/libgnomesu/pkg-message) | 0 | ||||
-rw-r--r-- | security/libgnomesu/pkg-plist | 5 |
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 |