aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
Diffstat (limited to 'comms')
-rw-r--r--comms/gnokii/Makefile10
-rw-r--r--comms/gnokii/pkg-message7
2 files changed, 14 insertions, 3 deletions
diff --git a/comms/gnokii/Makefile b/comms/gnokii/Makefile
index a17a7895a760..0a7d4d4a931f 100644
--- a/comms/gnokii/Makefile
+++ b/comms/gnokii/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gnokii
PORTVERSION= 0.3.3
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= comms
MASTER_SITES= ftp://ftp.gnokii.org/pub/gnokii/ \
@@ -43,6 +44,15 @@ MAN8= gnokiid.8 mgnokiidev.8
INSTALL_TARGET= install-suid
+FIXPREFIX= common/cfgreader.c ChangeLog Docs/man/gnokiid.8 \
+ Docs/DataCalls-QuickStart Docs/README po/et.po po/pl.po
+
+post-patch:
+.for f in ${FIXPREFIX}
+ ${PERL} -pi -e "s@/etc/gnokiirc@${PREFIX}/etc/gnokiirc@g" \
+ ${WRKSRC}/${f}
+.endfor
+
pre-install:
@${SH} ${SCRIPTDIR}/creategroup
diff --git a/comms/gnokii/pkg-message b/comms/gnokii/pkg-message
index 5ad0638cc432..cab227ca86fd 100644
--- a/comms/gnokii/pkg-message
+++ b/comms/gnokii/pkg-message
@@ -1,5 +1,6 @@
================================================================================
-The default config is installed in ${PREFIX}/etc/gnokiirc, and is configured
-for Nokia 6110 phones connected on COM1. Have a look at the
-documentation/manpages for more information.
+The default config is installed in ${PREFIX}/etc/gnokiirc.sample, and is
+configured for Nokia 6110 phones connected on COM1. Have a look at the
+documentation/manpages for more information. You'll need to copy
+gnokiirc.sample to gnokiirc for gnokii/xgnokii to use it.
================================================================================