Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jun 2014 01:07:29 +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: r356272 - head/security/gringotts
Message-ID:  <201406030107.s5317Tik033966@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Jun  3 01:07:28 2014
New Revision: 356272
URL: http://svnweb.freebsd.org/changeset/ports/356272
QAT: https://qat.redports.org/buildarchive/r356272/

Log:
  - Support staging
  - Use new LIB_DEPENDS syntax
  - Fix docs installation

Modified:
  head/security/gringotts/Makefile

Modified: head/security/gringotts/Makefile
==============================================================================
--- head/security/gringotts/Makefile	Tue Jun  3 01:06:18 2014	(r356271)
+++ head/security/gringotts/Makefile	Tue Jun  3 01:07:28 2014	(r356272)
@@ -10,8 +10,8 @@ MASTER_SITES=	BERLIOS
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	GTK application to securely store sensitive data
 
-LIB_DEPENDS=	popt.0:${PORTSDIR}/devel/popt \
-		gringotts.2:${PORTSDIR}/security/libgringotts
+LIB_DEPENDS=	libpopt.so:${PORTSDIR}/devel/popt \
+		libgringotts.so:${PORTSDIR}/security/libgringotts
 
 USES=		pkgconfig
 USE_GNOME=	gtk20
@@ -20,7 +20,8 @@ GNU_CONFIGURE=	yes
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS
+
 post-patch:
 	@${REINPLACE_CMD} -e \
 		'/^install-data-am:/s|install-DsktpDATA|| ; \
@@ -30,12 +31,10 @@ post-patch:
 		'/^install-exec-am:/s|install-exec-local||' ${WRKSRC}/src/Makefile.in
 
 post-install:
-	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${PREFIX}/share/applications
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for file in AUTHORS BUGS ChangeLog FAQ NEWS README TODO
-	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
 .endfor
-.endif
 
 .include <bsd.port.mk>



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