2013-09-12 06:27:41 +00:00
|
|
|
# Created by: db
|
2007-10-29 20:41:34 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= yfklog
|
2008-06-18 15:41:20 +00:00
|
|
|
PORTVERSION= 0.3.5
|
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
|
|
|
|
|
2012-06-29 10:05:08 +00:00
|
|
|
RUN_DEPENDS= p5-Curses>=0:${PORTSDIR}/devel/p5-Curses \
|
|
|
|
p5-DBD-SQLite>=0:${PORTSDIR}/databases/p5-DBD-SQLite \
|
|
|
|
p5-DBI>=0:${PORTSDIR}/databases/p5-DBI \
|
|
|
|
hamlib>=0:${PORTSDIR}/comms/hamlib \
|
|
|
|
p5-Net-FTP-File>=0:${PORTSDIR}/net/p5-Net-FTP-File
|
2007-10-29 20:41:34 +00:00
|
|
|
|
2013-09-12 06:27:41 +00:00
|
|
|
USES= perl5
|
2007-10-29 20:41:34 +00:00
|
|
|
NO_BUILD= yes
|
2014-01-03 16:06:00 +00:00
|
|
|
|
2014-07-15 23:11:12 +00:00
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
|
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
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/yfksubs.pl ${STAGEDIR}${PREFIX}/libexec/yfksubs.pl
|
|
|
|
${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
|
2014-03-01 16:50:07 +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
|
2008-06-18 15:41:20 +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
|
2008-06-18 15:41:20 +00:00
|
|
|
.for f in README hsc2sql.awk hscmember.txt
|
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>
|