aboutsummaryrefslogtreecommitdiffstats
path: root/polish/trf
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-10-04 01:24:48 +0800
committerkrion <krion@FreeBSD.org>2003-10-04 01:24:48 +0800
commita892fc1c0ead2a9e792f5022960c03142e1f1ff0 (patch)
tree533f4864ceeb0f8dfd1e3ac65be0ea11f3fc632e /polish/trf
parentcefd05c7ed3271647919a63cca81aa03a3a80ba6 (diff)
downloadfreebsd-ports-gnome-a892fc1c0ead2a9e792f5022960c03142e1f1ff0.tar.gz
freebsd-ports-gnome-a892fc1c0ead2a9e792f5022960c03142e1f1ff0.tar.zst
freebsd-ports-gnome-a892fc1c0ead2a9e792f5022960c03142e1f1ff0.zip
Add trf 0.4, billing software for traffic counting working with
most Polish ISPs. PR: 57524 Submitted by: Maciek Korzen <eaquer@ceti.pl>
Diffstat (limited to 'polish/trf')
-rw-r--r--polish/trf/Makefile24
-rw-r--r--polish/trf/distinfo1
-rw-r--r--polish/trf/files/patch-Makefile20
-rw-r--r--polish/trf/pkg-descr7
-rw-r--r--polish/trf/pkg-plist5
5 files changed, 57 insertions, 0 deletions
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 <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>
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%%