diff options
-rw-r--r-- | comms/dsd/Makefile | 10 |
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> |