2013-09-12 06:27:41 +00:00
|
|
|
# Created by: db
|
2007-10-29 20:41:34 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= yfklog
|
2019-09-09 16:45:49 +00:00
|
|
|
PORTVERSION= 0.6.0
|
2019-12-08 23:57:43 +00:00
|
|
|
PORTREVISION= 1
|
2007-10-29 20:41:34 +00:00
|
|
|
CATEGORIES= comms hamradio
|
|
|
|
MASTER_SITES= http://fkurz.net/ham/yfklog/ \
|
2015-05-14 10:15:04 +00:00
|
|
|
LOCAL/db
|
|
|
|
DISTFILES= ${DISTNAME}.tar.gz yfk.png
|
2008-06-18 15:41:20 +00:00
|
|
|
DIST_SUBDIR= ${PORTNAME}
|
2015-05-14 10:15:04 +00:00
|
|
|
EXTRACT_ONLY= ${DISTNAME}.tar.gz
|
2007-10-29 20:41:34 +00:00
|
|
|
|
2014-11-22 23:38:50 +00:00
|
|
|
MAINTAINER= hamradio@FreeBSD.org
|
2007-10-29 20:41:34 +00:00
|
|
|
COMMENT= Amateur Radio curses based logging program
|
|
|
|
|
2014-03-01 16:50:07 +00:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2016-04-01 13:29:15 +00:00
|
|
|
RUN_DEPENDS= p5-Curses>=0:devel/p5-Curses \
|
|
|
|
p5-DBD-SQLite>=0:databases/p5-DBD-SQLite \
|
|
|
|
p5-DBI>=0:databases/p5-DBI \
|
|
|
|
hamlib>=0:comms/hamlib \
|
2019-12-08 23:57:43 +00:00
|
|
|
p5-libwww>=0:www/p5-libwww \
|
|
|
|
p5-Net-Telnet>=0:net/p5-Net-Telnet \
|
2016-04-01 13:29:15 +00:00
|
|
|
p5-Net-FTP-File>=0:net/p5-Net-FTP-File
|
2007-10-29 20:41:34 +00:00
|
|
|
|
2013-09-12 06:27:41 +00:00
|
|
|
USES= perl5
|
2014-01-03 16:06:00 +00:00
|
|
|
|
2019-09-09 16:39:12 +00:00
|
|
|
NO_BUILD= yes
|
2014-07-15 23:11:12 +00:00
|
|
|
|
2007-10-29 20:41:34 +00:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL}|' \
|
|
|
|
${WRKSRC}/yfk ${WRKSRC}/yfksubs.pl
|
|
|
|
@${REINPLACE_CMD} -e 's|prefix="/usr"|prefix="${PREFIX}"|' \
|
|
|
|
${WRKSRC}/yfk ${WRKSRC}/yfksubs.pl
|
|
|
|
do-install:
|
2014-03-01 16:50:07 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/yfk ${STAGEDIR}${PREFIX}/bin/yfklog
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/yfklog.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
2019-09-09 16:39:12 +00:00
|
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/yfklog
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/yfksubs.pl ${STAGEDIR}${PREFIX}/share/yfklog/yfksubs.pl
|
2014-03-01 16:50:07 +00:00
|
|
|
${INSTALL_DATA} ${_DISTDIR}/yfk.png ${STAGEDIR}${PREFIX}/share/pixmaps/yfklog.png
|
|
|
|
${MKDIR} ${STAGEDIR}${DATADIR}
|
2008-06-18 15:41:20 +00:00
|
|
|
.for f in cty.dat db_calls.sql db_clubs.sql \
|
|
|
|
db_config.sql db_log.sql db_log.sqlite \
|
|
|
|
zweckform3421.lab zweckform3475.lab zweckform3657.lab config
|
2019-09-09 16:39:12 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DATADIR}
|
2007-10-29 20:41:34 +00:00
|
|
|
.endfor
|
2014-03-01 16:50:07 +00:00
|
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/onlinelog
|
2017-11-02 21:41:47 +00:00
|
|
|
.for f in README search.php test.txt
|
2014-03-01 16:50:07 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/onlinelog/$f ${STAGEDIR}${EXAMPLESDIR}/onlinelog
|
2007-10-29 20:41:34 +00:00
|
|
|
.endfor
|
2014-03-01 16:50:07 +00:00
|
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/clubs
|
2019-09-09 16:39:12 +00:00
|
|
|
.for f in README
|
2014-03-01 16:50:07 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/clubs/$f ${STAGEDIR}${EXAMPLESDIR}/clubs
|
2007-10-29 20:41:34 +00:00
|
|
|
.endfor
|
2014-03-01 16:50:07 +00:00
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2008-06-18 15:41:20 +00:00
|
|
|
.for f in AUTHORS CHANGELOG COPYING INSTALL MANUAL README RELEASENOTES
|
2014-03-01 16:50:07 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR}
|
2007-10-29 20:41:34 +00:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|