Bug 186598 - stage support for x11-wm/dwm
Summary: stage support for x11-wm/dwm
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pawel Pekala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-09 19:10 UTC by mp39590
Modified: 2014-03-03 22:00 UTC (History)
0 users

See Also:


Attachments
file.diff (740 bytes, patch)
2014-02-09 19:10 UTC, mp39590
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mp39590 2014-02-09 19:10:00 UTC
This patch adds stage support.

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-02-09 19:10:07 UTC
Maintainer of x11-wm/dwm,

Please note that PR ports/186598 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/186598

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2014-02-09 19:10:08 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 Pawel Pekala freebsd_committer freebsd_triage 2014-03-03 21:48:38 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pawel

I'll take it.
Comment 4 dfilter service freebsd_committer freebsd_triage 2014-03-03 21:58:00 UTC
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>
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 5 Pawel Pekala freebsd_committer freebsd_triage 2014-03-03 21:58:08 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!