summaryrefslogtreecommitdiff
path: root/polish/trf
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-10-03 17:24:48 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-10-03 17:24:48 +0000
commit2ee2622b9c60df57d19fa7d01d812776c63a79d1 (patch)
tree960d430167e77c0214fae247d131820b4585837f /polish/trf
parentAdd p5-DateTime-Fiscal-Year 0.02, (diff)
Add trf 0.4, billing software for traffic counting working with
most Polish ISPs. PR: 57524 Submitted by: Maciek Korzen <eaquer@ceti.pl>
Notes
Notes: svn path=/head/; revision=90158
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%%