aboutsummaryrefslogtreecommitdiff
path: root/comms/dsd
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2019-07-23 05:50:22 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2019-07-23 05:50:22 +0000
commit5e20319a64c8155fd3398bbe5e2afbee806fb8c4 (patch)
treec6eeee62f35dde87f931edd0ebe571dab4a09e66 /comms/dsd
parent0455f383ae2b2a352d45fb1f7256ee0cb9cc3027 (diff)
downloadports-5e20319a64c8155fd3398bbe5e2afbee806fb8c4.tar.gz
ports-5e20319a64c8155fd3398bbe5e2afbee806fb8c4.zip
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.
Notes
Notes: svn path=/head/; revision=507201
Diffstat (limited to 'comms/dsd')
-rw-r--r--comms/dsd/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/comms/dsd/Makefile b/comms/dsd/Makefile
index 328310a73cd2..1bfb2e70c860 100644
--- a/comms/dsd/Makefile
+++ b/comms/dsd/Makefile
@@ -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>