aboutsummaryrefslogtreecommitdiff
path: root/net/mars_nwe
diff options
context:
space:
mode:
authorBoris Popov <bp@FreeBSD.org>2001-03-11 02:38:43 +0000
committerBoris Popov <bp@FreeBSD.org>2001-03-11 02:38:43 +0000
commitdb65831a12ca885d19d0762440dc50986a80dae0 (patch)
tree4089634d0925fc27bdfd06a992a75c3c7500ecd0 /net/mars_nwe
parenta2d6f22e1dd1b8ebe50d42d8f9edefee5542024b (diff)
downloadports-db65831a12ca885d19d0762440dc50986a80dae0.tar.gz
ports-db65831a12ca885d19d0762440dc50986a80dae0.zip
Notes
Diffstat (limited to 'net/mars_nwe')
-rw-r--r--net/mars_nwe/files/patch-aa4
-rw-r--r--net/mars_nwe/pkg-plist1
-rw-r--r--net/mars_nwe/scripts/configure2
3 files changed, 4 insertions, 3 deletions
diff --git a/net/mars_nwe/files/patch-aa b/net/mars_nwe/files/patch-aa
index 34b67b05d1c3..94625e3f1ded 100644
--- a/net/mars_nwe/files/patch-aa
+++ b/net/mars_nwe/files/patch-aa
@@ -27,9 +27,9 @@ diff -u -r1.1.1.1 -r1.2
# define PATHNAME_BINDERY "." /* directory for bindery-files */
#else
-# define FILENAME_NW_INI "/etc/nwserv.conf"
-+# define FILENAME_NW_INI "/usr/local/etc/nwserv.conf"
++# define FILENAME_NW_INI "%%PREFIX%%/etc/nwserv.conf"
/* full name of ini (conf) file */
-# define PATHNAME_PROGS "/usr/sbin" /* where to find the executables */
-+# define PATHNAME_PROGS "/usr/local/sbin" /* where to find the executables */
++# define PATHNAME_PROGS "%%PREFIX%%/sbin" /* where to find the executables */
# define PATHNAME_BINDERY "/var/nwserv/db" /* directory for bindery-files */
#endif
diff --git a/net/mars_nwe/pkg-plist b/net/mars_nwe/pkg-plist
index 0981ca10a11c..19f739d5a6f2 100644
--- a/net/mars_nwe/pkg-plist
+++ b/net/mars_nwe/pkg-plist
@@ -1,3 +1,4 @@
+etc/nwserv.conf
etc/nwserv.conf.example
etc/rc.d/nwserv.sh
sbin/nwserv
diff --git a/net/mars_nwe/scripts/configure b/net/mars_nwe/scripts/configure
index abbe9fa6d0c6..a5a972ea574b 100644
--- a/net/mars_nwe/scripts/configure
+++ b/net/mars_nwe/scripts/configure
@@ -1,5 +1,5 @@
#!/bin/sh
-cp ${WRKSRC}/examples/config.h ${WRKSRC}/config.h
+sed "s|%%PREFIX%%|${PREFIX}|g" < ${WRKSRC}/examples/config.h > ${WRKSRC}/config.h
cp ${WRKSRC}/examples/nw.ini ${WRKSRC}/nw.ini
cp ${WRKSRC}/examples/mk.li ${WRKSRC}/mk.li