svn commit: r507201 - head/comms/dsd

Tobias Kortkamp tobik at FreeBSD.org
Tue Jul 23 05:50:23 UTC 2019


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


More information about the svn-ports-all mailing list