Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jun 2014 09:18:53 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r357661 - head/misc/metalink-tools
Message-ID:  <201406130918.s5D9IrfU094713@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Fri Jun 13 09:18:53 2014
New Revision: 357661
URL: http://svnweb.freebsd.org/changeset/ports/357661
QAT: https://qat.redports.org/buildarchive/r357661/

Log:
  - Add staging support
  - Convert to new LIB_DEPENDS format, options framework

Modified:
  head/misc/metalink-tools/Makefile

Modified: head/misc/metalink-tools/Makefile
==============================================================================
--- head/misc/metalink-tools/Makefile	Fri Jun 13 09:12:16 2014	(r357660)
+++ head/misc/metalink-tools/Makefile	Fri Jun 13 09:18:53 2014	(r357661)
@@ -11,14 +11,14 @@ PKGNAMESUFFIX?=	-tools
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Metalink generation tool
 
-LIB_DEPENDS=	gcrypt:${PORTSDIR}/security/libgcrypt \
-		glibmm-2.4.1:${PORTSDIR}/devel/glibmm \
-		gpg-error.0:${PORTSDIR}/security/libgpg-error \
-		sigc-2.0.0:${PORTSDIR}/devel/libsigc++20
-
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+LIB_DEPENDS=	libgcrypt.so:${PORTSDIR}/security/libgcrypt \
+		libglibmm-2.4.so:${PORTSDIR}/devel/glibmm \
+		libgpg-error.so:${PORTSDIR}/security/libgpg-error \
+		libsigc-2.0.so:${PORTSDIR}/devel/libsigc++20
+
 USE_GNOME=	glib20
 GNU_CONFIGURE=	yes
 USES=		pkgconfig
@@ -26,25 +26,14 @@ CONFIGURE_ENV+=	AWK="${AWK}"
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-# Documents to install
-DOC_FILES=	\
-		README
-
-.ifndef(NOPORTDOCS)
-PORTDOCS=	*
-.endif
-
+PORTDOCS=	README
 PLIST_FILES=	bin/${PORTNAME}
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS
+
 do-install:
-# docs
-.ifndef(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-.for file in ${DOC_FILES}
-	@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
-.endfor
-.endif
-	@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
 
 .include <bsd.port.mk>



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