diff --git a/comms/chu/Makefile b/comms/chu/Makefile index 71594c9c19fc..d4985a33c037 100644 --- a/comms/chu/Makefile +++ b/comms/chu/Makefile @@ -1,37 +1,38 @@ PORTNAME= chu PORTVERSION= 0.1.29 +PORTREVISION= 1 CATEGORIES= comms hamradio MASTER_SITES= SUNSITE/system/admin/time MAINTAINER= hamradio@FreeBSD.org COMMENT= Synchronise computer clock to CHU radio station WWW= https://www.rossi.com/chu/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING NO_WRKSUBDIR= yes OPTIONS_DEFINE= DOCS post-extract: @${GZIP_CMD} -d ${WRKSRC}/testsignal.gz post-patch: @${REINPLACE_CMD} -e 's|/etc/chu|${PREFIX}/etc/chu|g' ${WRKSRC}/chu.c ${WRKSRC}/chu.8 @${REINPLACE_CMD} -e 's|/sbin/chu|${PREFIX}/sbin/chu|g' ${WRKSRC}/chu.8 @${REINPLACE_CMD} -e 's|gcc -O2|${CC} ${CFLAGS}|g' ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/chu ${STAGEDIR}${PREFIX}/sbin @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/testsignal ${STAGEDIR}${DATADIR} - ${INSTALL_MAN} ${WRKSRC}/chu.8 ${STAGEDIR}${PREFIX}/man/man8 + ${INSTALL_MAN} ${WRKSRC}/chu.8 ${STAGEDIR}${PREFIX}/share/man/man8 do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for d in TESTING chu.html chuman.html ntp.html ${INSTALL_DATA} ${WRKSRC}/${d} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/comms/chu/pkg-plist b/comms/chu/pkg-plist index 331061c9726b..698b4ac0d404 100644 --- a/comms/chu/pkg-plist +++ b/comms/chu/pkg-plist @@ -1,7 +1,7 @@ sbin/chu %%DATADIR%%/testsignal %%PORTDOCS%%%%DOCSDIR%%/chu.html %%PORTDOCS%%%%DOCSDIR%%/chuman.html %%PORTDOCS%%%%DOCSDIR%%/ntp.html %%PORTDOCS%%%%DOCSDIR%%/TESTING -man/man8/chu.8.gz +share/man/man8/chu.8.gz