1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-02 11:09:29 +00:00

Add trf 0.4, billing software for traffic counting working with

most Polish ISPs.

PR:		57524
Submitted by:	Maciek Korzen <eaquer@ceti.pl>
This commit is contained in:
Kirill Ponomarev 2003-10-03 17:24:48 +00:00
parent 5e6b4937a7
commit 2ee2622b9c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=90158
6 changed files with 58 additions and 0 deletions

View File

@ -1,5 +1,6 @@
# $FreeBSD$
#
SUBDIR += trf
SUBDIR += webalizer2
SUBDIR += aspell
SUBDIR += ekg

24
polish/trf/Makefile Normal file
View File

@ -0,0 +1,24 @@
# New ports collection makefile for: trf
# Date created: 25 September 2003
# Whom: Maciek Korzen <eaquer@ceti.pl>
#
# $FreeBSD$
#
PORTNAME= trf
PORTVERSION= 0.4
CATEGORIES= polish finance
MASTER_SITES= http://www.ceti.pl/eaquer/trf/
MAINTAINER= eaquer@ceti.pl
COMMENT= Billing software for traffic counting working with most Polish ISPs
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for i in README CHANGELOG
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>

1
polish/trf/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (trf-0.4.tar.gz) = d2eacc3e9112603d705a27077d8e7b78

View File

@ -0,0 +1,20 @@
--- Makefile.orig Fri Oct 3 18:00:32 2003
+++ Makefile Fri Oct 3 18:01:51 2003
@@ -1,5 +1,7 @@
+CC ?= gcc
+CFLAGS+=-DFREEBSD
DESTDIR=
-prefix=/usr/local
+prefix=${PREFIX}
all:
@case "`uname -s`" in \
@@ -19,7 +21,7 @@
gcc -DLINUX -Wall -o trfs trfs.c
freebsd:
- gcc -DFREEBSD -Wall -o trfs trfs.c
+ $(CC) $(CFLAGS) -o trfs trfs.c
trfs:
make all

7
polish/trf/pkg-descr Normal file
View File

@ -0,0 +1,7 @@
Trf is a tarifficator for dial-up connections. It's designed to work with most
popular Polish ISP - TP S.A.. It supports lump sum (pol - ryczalt).
WWW: http://www.ceti.pl/eaquer/trf
- Maciek Korzen
eaquer@ceti.pl

5
polish/trf/pkg-plist Normal file
View File

@ -0,0 +1,5 @@
bin/trfs
bin/trf
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG
%%PORTDOCS%%@dirrm %%DOCSDIR%%