svn commit: r356272 - head/security/gringotts

Dmitry Marakasov amdmi3 at FreeBSD.org
Tue Jun 3 01:07:29 UTC 2014


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 at 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>


More information about the svn-ports-head mailing list