diff options
author | tom <tom@FreeBSD.org> | 2001-10-19 23:25:17 +0800 |
---|---|---|
committer | tom <tom@FreeBSD.org> | 2001-10-19 23:25:17 +0800 |
commit | f61b178e46b70a0fc4fa8ec34b0a6f490fd7bd3d (patch) | |
tree | 887803411225c0a37246687988cb2b581b105b54 /comms | |
parent | 6ad64eaab58250dd0811a0b44e175cda2b7e0a61 (diff) | |
download | freebsd-ports-gnome-f61b178e46b70a0fc4fa8ec34b0a6f490fd7bd3d.tar.gz freebsd-ports-gnome-f61b178e46b70a0fc4fa8ec34b0a6f490fd7bd3d.tar.zst freebsd-ports-gnome-f61b178e46b70a0fc4fa8ec34b0a6f490fd7bd3d.zip |
Fix location of gnokiirc from /etc to /usr/local/etc
Submitted by: Anders Nordby <anders@fix.no>
Diffstat (limited to 'comms')
-rw-r--r-- | comms/gnokii/Makefile | 10 | ||||
-rw-r--r-- | comms/gnokii/pkg-message | 7 |
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. ================================================================================ |