Date: Sun, 29 Dec 2013 00:01:51 +0000 (UTC) From: Diane Bruce <db@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r337931 - in head/comms/predict: . files Message-ID: <201312290001.rBT01pnx030460@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: db Date: Sun Dec 29 00:01:51 2013 New Revision: 337931 URL: http://svnweb.freebsd.org/changeset/ports/337931 Log: - Add STAGEDIR to port - Add backup distribution site - Add LICENSE Modified: head/comms/predict/Makefile (contents, props changed) head/comms/predict/files/Makefile (contents, props changed) head/comms/predict/pkg-plist (contents, props changed) Modified: head/comms/predict/Makefile ============================================================================== --- head/comms/predict/Makefile Sat Dec 28 23:52:49 2013 (r337930) +++ head/comms/predict/Makefile Sun Dec 29 00:01:51 2013 (r337931) @@ -4,20 +4,23 @@ PORTNAME= predict PORTVERSION= 2.2.3 CATEGORIES= comms astro hamradio -MASTER_SITES= ftp://ftp.amsat.org/amsat/software/Linux/ +MASTER_SITES= ftp://ftp.amsat.org/amsat/software/Linux/ \ + ${MASTER_SITE_LOCAL} +MASTER_SITE_SUBDIR= db MAINTAINER= db@FreeBSD.org COMMENT= Satellite tracking program for amateur radio satellites +LICENSE= GPLv2 + INSTALL_TARGET= install install.man -MAN1= predict.1 MAKE_ENV= LIBS="${PTHREAD_LIBS}" -NO_STAGE= yes 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 - ${CP} ${FILESDIR}/Makefile ${WRKSRC} + @${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' \ + ${FILESDIR}/Makefile > ${WRKSRC}/Makefile .include <bsd.port.mk> Modified: head/comms/predict/files/Makefile ============================================================================== --- head/comms/predict/files/Makefile Sat Dec 28 23:52:49 2013 (r337930) +++ head/comms/predict/files/Makefile Sun Dec 29 00:01:51 2013 (r337931) @@ -1,5 +1,8 @@ # $FreeBSD$ +PREFIX= %%PREFIX%% +STAGEDIR= %%STAGEDIR%% + .ifndef CC CC = -cc .endif @@ -24,17 +27,17 @@ clean: rm -f *.o predict *core *~ \#* *.txt vocalizer/vocalizer install: - mkdir -p ${PREFIX}/share/predict/ - mkdir ${PREFIX}/share/predict/default - mkdir ${PREFIX}/share/predict/vocalizer - cp default/predict.db ${PREFIX}/share/predict/default - cp default/predict.qth ${PREFIX}/share/predict/default - cp default/predict.tle ${PREFIX}/share/predict/default - cp vocalizer/*.wav ${PREFIX}/share/predict/vocalizer - install predict ${PREFIX}/bin - install vocalizer/vocalizer ${PREFIX}/bin + mkdir -p ${STAGEDIR}${PREFIX}/share/predict/ + mkdir ${STAGEDIR}${PREFIX}/share/predict/default + mkdir ${STAGEDIR}${PREFIX}/share/predict/vocalizer + cp default/predict.db ${STAGEDIR}${PREFIX}/share/predict/default + cp default/predict.qth ${STAGEDIR}${PREFIX}/share/predict/default + cp default/predict.tle ${STAGEDIR}${PREFIX}/share/predict/default + cp vocalizer/*.wav ${STAGEDIR}${PREFIX}/share/predict/vocalizer + cp predict ${STAGEDIR}${PREFIX}/bin + cp vocalizer/vocalizer ${STAGEDIR}${PREFIX}/bin install.man: - install docs/man/predict.1 ${PREFIX}/man/man1 + install docs/man/predict.1 ${STAGEDIR}${PREFIX}/man/man1 .PHONY: clean build Modified: head/comms/predict/pkg-plist ============================================================================== --- head/comms/predict/pkg-plist Sat Dec 28 23:52:49 2013 (r337930) +++ head/comms/predict/pkg-plist Sun Dec 29 00:01:51 2013 (r337931) @@ -1,5 +1,6 @@ bin/predict bin/vocalizer +man/man1/predict.1.gz %%DATADIR%%/default/predict.db %%DATADIR%%/default/predict.qth %%DATADIR%%/default/predict.tle
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312290001.rBT01pnx030460>