From 2ee2622b9c60df57d19fa7d01d812776c63a79d1 Mon Sep 17 00:00:00 2001 From: Kirill Ponomarev Date: Fri, 3 Oct 2003 17:24:48 +0000 Subject: Add trf 0.4, billing software for traffic counting working with most Polish ISPs. PR: 57524 Submitted by: Maciek Korzen --- polish/trf/Makefile | 24 ++++++++++++++++++++++++ polish/trf/distinfo | 1 + polish/trf/files/patch-Makefile | 20 ++++++++++++++++++++ polish/trf/pkg-descr | 7 +++++++ polish/trf/pkg-plist | 5 +++++ 5 files changed, 57 insertions(+) create mode 100644 polish/trf/Makefile create mode 100644 polish/trf/distinfo create mode 100644 polish/trf/files/patch-Makefile create mode 100644 polish/trf/pkg-descr create mode 100644 polish/trf/pkg-plist (limited to 'polish/trf') diff --git a/polish/trf/Makefile b/polish/trf/Makefile new file mode 100644 index 000000000000..4a06a8f58b62 --- /dev/null +++ b/polish/trf/Makefile @@ -0,0 +1,24 @@ +# New ports collection makefile for: trf +# Date created: 25 September 2003 +# Whom: Maciek Korzen +# +# $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 diff --git a/polish/trf/distinfo b/polish/trf/distinfo new file mode 100644 index 000000000000..ebc5769411fa --- /dev/null +++ b/polish/trf/distinfo @@ -0,0 +1 @@ +MD5 (trf-0.4.tar.gz) = d2eacc3e9112603d705a27077d8e7b78 diff --git a/polish/trf/files/patch-Makefile b/polish/trf/files/patch-Makefile new file mode 100644 index 000000000000..d2590dda5f4e --- /dev/null +++ b/polish/trf/files/patch-Makefile @@ -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 diff --git a/polish/trf/pkg-descr b/polish/trf/pkg-descr new file mode 100644 index 000000000000..19d8128639b0 --- /dev/null +++ b/polish/trf/pkg-descr @@ -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 diff --git a/polish/trf/pkg-plist b/polish/trf/pkg-plist new file mode 100644 index 000000000000..70cfb291f72b --- /dev/null +++ b/polish/trf/pkg-plist @@ -0,0 +1,5 @@ +bin/trfs +bin/trf +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG +%%PORTDOCS%%@dirrm %%DOCSDIR%% -- cgit v1.2.3