Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Mar 2014 21:57: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: r346973 - head/x11-wm/dwm
Message-ID:  <201403032157.s23Lvrns040323@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Mon Mar  3 21:57:53 2014
New Revision: 346973
URL: http://svnweb.freebsd.org/changeset/ports/346973
QAT: https://qat.redports.org/buildarchive/r346973/

Log:
  - Add staging support [1]
  - Convert to new LIB_DEPENDS format
  
  PR:		ports/186598 [1]
  Submitted by:	Mikhail <mp39590@gmail.com>
  Approved by:	maintainer timeout

Modified:
  head/x11-wm/dwm/Makefile

Modified: head/x11-wm/dwm/Makefile
==============================================================================
--- head/x11-wm/dwm/Makefile	Mon Mar  3 21:55:29 2014	(r346972)
+++ head/x11-wm/dwm/Makefile	Mon Mar  3 21:57:53 2014	(r346973)
@@ -15,18 +15,17 @@ COMMENT=	Dynamic, small, fast and simple
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-LIB_DEPENDS=	pthread-stubs:${PORTSDIR}/devel/libpthread-stubs
+LIB_DEPENDS=   libpthread-stubs.so:${PORTSDIR}/devel/libpthread-stubs
 
 OPTIONS_DEFINE=	XINERAMA XFT DOCS
 OPTIONS_DEFAULT=XINERAMA
 
 USE_XORG=	x11 xau xcb xdmcp xext
 
-MAN1=		dwm.1
-PLIST_FILES=	bin/dwm
+PLIST_FILES=	bin/dwm \
+		man/man1/dwm.1.gz
 PORTDOCS=	README
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MXINERAMA}
@@ -34,9 +33,9 @@ USE_XORG+=	xinerama
 .endif
 
 .if ${PORT_OPTIONS:MXFT}
-LIB_DEPENDS+=	freetype:${PORTSDIR}/print/freetype2 \
-		expat:${PORTSDIR}/textproc/expat2 \
-		fontconfig:${PORTSDIR}/x11-fonts/fontconfig
+LIB_DEPENDS+=	libfreetype.so:${PORTSDIR}/print/freetype2 \
+		libexpat.so:${PORTSDIR}/textproc/expat2 \
+		libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig
 USE_XORG+=	xft xrender
 PATCHFILES+=	${PORTNAME}-${PORTVERSION}-xft.diff
 .endif
@@ -67,11 +66,7 @@ post-patch:
 .endif
 
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	@${ECHO_MSG} "installing additional documentation to ${DOCSDIR}"
-	@${MKDIR} ${DOCSDIR}
-	@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
-	@${CAT} ${PKGMESSAGE}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



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