- Fix under stage

- add LICENSE
This commit is contained in:
Diane Bruce 2013-12-30 00:08:15 +00:00
parent 05b4b25e61
commit 9049c12c2a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=338054
2 changed files with 22 additions and 15 deletions

View file

@ -4,34 +4,30 @@
PORTNAME= yagiuda
PORTVERSION= 1.19
CATEGORIES= comms hamradio
MASTER_SITES= http://www.g8wrb.org/yagi/
MASTER_SITES= http://www.g8wrb.org/yagi/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= db
MAINTAINER= db@FreeBSD.org
COMMENT= Used to calculate yagi-uda antenna patterns useful to ham radio
GNU_CONFIGURE= yes
MAN1= first.1 optimise.1 yagi.1 dipole.1 input.1 output.1
MAN5= first.5 optimise.5 yagi.5 input.5 output.5
LICENSE= GPLv2
GNU_CONFIGURE= yes
NO_STAGE= yes
do-install:
.for f in first optimise yagi dipole input output
${INSTALL_PROGRAM} ${WRKSRC}/src/${f} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/man/man1/${f}.1 ${PREFIX}/man/man1
@${INSTALL_PROGRAM} ${WRKSRC}/src/${f} ${STAGEDIR}${PREFIX}/bin
@${INSTALL_MAN} ${WRKSRC}/man/man1/${f}.1 ${STAGEDIR}${PREFIX}/man/man1
.endfor
.for f in first optimise yagi input output
${INSTALL_MAN} ${WRKSRC}/man/man5/${f}.5 ${PREFIX}/man/man5
@${INSTALL_MAN} ${WRKSRC}/man/man5/${f}.5 ${STAGEDIR}${PREFIX}/man/man5
.endfor
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in dipole.1.html input.1.html pattern.jpg\
first.1.html optimise.1.html yagi.1.html\
index.html output.1.html yagi.jpg
${INSTALL_DATA} ${WRKSRC}/doc/$f ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/doc/$f ${STAGEDIR}${DOCSDIR}
.endfor
@${ECHO} ""
@${ECHO} "Additional docs installed in ${DOCSDIR}"
@${ECHO} ""
.endif
.include <bsd.port.mk>

View file

@ -4,6 +4,17 @@ bin/input
bin/optimise
bin/output
bin/yagi
man/man1/first.1.gz
man/man1/optimise.1.gz
man/man1/yagi.1.gz
man/man1/dipole.1.gz
man/man1/input.1.gz
man/man1/output.1.gz
man/man5/first.5.gz
man/man5/optimise.5.gz
man/man5/yagi.5.gz
man/man5/input.5.gz
man/man5/output.5.gz
%%PORTDOCS%%%%DOCSDIR%%/dipole.1.html
%%PORTDOCS%%%%DOCSDIR%%/first.1.html
%%PORTDOCS%%%%DOCSDIR%%/index.html