Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jul 2019 05:50:22 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r507201 - head/comms/dsd
Message-ID:  <201907230550.x6N5oM92063707@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Tue Jul 23 05:50:22 2019
New Revision: 507201
URL: https://svnweb.freebsd.org/changeset/ports/507201

Log:
  comms/dsd: Unbreak build as user
  
  chgrp uucp /wrkdirs/usr/ports/comms/dsd/work/stage/usr/local/bin/dsd
  chgrp: you are not a member of group uucp
  *** Error code 1
  
  Also actually package README.

Modified:
  head/comms/dsd/Makefile

Modified: head/comms/dsd/Makefile
==============================================================================
--- head/comms/dsd/Makefile	Tue Jul 23 05:34:21 2019	(r507200)
+++ head/comms/dsd/Makefile	Tue Jul 23 05:50:22 2019	(r507201)
@@ -3,6 +3,7 @@
 PORTNAME=	dsd
 PORTVERSION=	1.6.0
 DISTVERSIONPREFIX=	v
+PORTREVISION=	1
 CATEGORIES=	comms hamradio
 
 MAINTAINER=	takefu@airport.fm
@@ -19,8 +20,12 @@ USE_LDCONFIG=	yes
 PLIST_FILES=	"@(,uucp,4555) bin/dsd"
 MAKE_ARGS=	DEST_BASE=${STAGEDIR}${PREFIX}
 
+PORTDOCS=	README
+
+OPTIONS_DEFINE=	DOCS
+
 post-patch:
-	${REINPLACE_CMD} 's|${PREFIX}|${LOCALBASE}|g;\
+	${REINPLACE_CMD} -Ee '/ch(grp|mod)/d' -e 's|${PREFIX}|${LOCALBASE}|g;\
 		s|install|${INSTALL_PROGRAM}|g;\
 		s|gcc|${CC}|g'\
 		${WRKSRC}/Makefile
@@ -28,7 +33,8 @@ post-patch:
 	${REINPLACE_CMD} 's|2250|2450|' ${WRKSRC}/${i}
 .endfor
 
-post-install:
+post-install-DOCS-on:
+	@${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?201907230550.x6N5oM92063707>