Index: head/comms/predict/Makefile =================================================================== --- head/comms/predict/Makefile (revision 552225) +++ head/comms/predict/Makefile (revision 552226) @@ -1,26 +1,26 @@ # $FreeBSD$ -PORTNAME= predict +PORTNAME= predict PORTVERSION= 2.2.7 -CATEGORIES= comms astro hamradio +CATEGORIES= comms astro hamradio MASTER_SITES= https://www.qsl.net/kd2bd/ \ LOCAL/db MAINTAINER= hamradio@FreeBSD.org COMMENT= Satellite tracking program for amateur radio satellites LICENSE= GPLv2 LIB_DEPENDS= libasound.so:audio/alsa-lib USES= ncurses INSTALL_TARGET= install install.man post-patch: @${SED} -e 's|%%PREFIX%%|${PREFIX}|g' ${FILESDIR}/predict.h > ${WRKSRC}/predict.h @${SED} -e 's|%%PREFIX%%|${PREFIX}|g' ${FILESDIR}/vocalizer.h > ${WRKSRC}/vocalizer/vocalizer.h @${SED} -e 's|%%PREFIX%%|${PREFIX}|g' -e 's|%%STAGEDIR%%|${STAGEDIR}|g' \ -e 's|%%CC%%|${CC}|g' -e 's|%%CFLAGS%%|${CFLAGS}|g' \ ${FILESDIR}/Makefile > ${WRKSRC}/Makefile .include Index: head/comms/predict/files/predict.h =================================================================== --- head/comms/predict/files/predict.h (revision 552225) +++ head/comms/predict/files/predict.h (revision 552226) @@ -1 +1 @@ -char *predictpath={"/usr/local/share/predict/"}, soundcard=1, *version={"2.2.3"}; +char *predictpath={"%%PREFIX%%/share/predict/"}, soundcard=1, *version={"2.2.3"}; Index: head/comms/predict/files/vocalizer.h =================================================================== --- head/comms/predict/files/vocalizer.h (revision 552225) +++ head/comms/predict/files/vocalizer.h (revision 552226) @@ -1 +1 @@ -char *path={"/usr/local/share/predict/vocalizer/"}; +char *path={"%%PREFIX%%/share/predict/vocalizer/"};