Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Jan 2017 09:01:06 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r430860 - head/security/libgnomesu
Message-ID:  <201701080901.v08916Jl083812@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sun Jan  8 09:01:06 2017
New Revision: 430860
URL: https://svnweb.freebsd.org/changeset/ports/430860

Log:
  - Add LICENSE
  - Switch to USES=localbase
  - Switch to options helpers

Modified:
  head/security/libgnomesu/Makefile

Modified: head/security/libgnomesu/Makefile
==============================================================================
--- head/security/libgnomesu/Makefile	Sun Jan  8 08:52:42 2017	(r430859)
+++ head/security/libgnomesu/Makefile	Sun Jan  8 09:01:06 2017	(r430860)
@@ -11,13 +11,15 @@ MASTER_SITES=	http://members.chello.nl/~
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Library and frontend for running commands as root
 
-USES=		gmake gettext-tools libtool pathfix pkgconfig
+LICENSE=	LGPL20+ PD
+LICENSE_COMB=	multi
+LICENSE_FILE_LGPL20+ =	${WRKSRC}/COPYING
+
+USES=		gmake gettext-tools libtool localbase pathfix pkgconfig
 GNU_CONFIGURE=	yes
 USE_GNOME=	gnomeprefix libgnomeui
-CONFIGURE_ARGS+=--disable-install-pam \
+CONFIGURE_ARGS=	--disable-install-pam \
 		--disable-setuid-error
-CPPFLAGS+=	-I${LOCALBASE}/include
-LIBS+=		-L${LOCALBASE}/lib
 INSTALL_TARGET=	install-strip
 
 SUB_FILES=	pkg-message
@@ -28,9 +30,11 @@ post-patch:
 	@${REINPLACE_CMD} -e 's|-DGTK_DISABLE_DEPRECATED||g' \
 		${WRKSRC}/src/Makefile.in
 
-post-install:
+post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${FILESDIR}/gnomesu-pam.sample ${STAGEDIR}${EXAMPLESDIR}
+
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/doc/api.html ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/doc/libgnomesu.css ${STAGEDIR}${DOCSDIR}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701080901.v08916Jl083812>