diff options
-rw-r--r-- | net/mars_nwe/files/patch-aa | 4 | ||||
-rw-r--r-- | net/mars_nwe/pkg-plist | 1 | ||||
-rw-r--r-- | net/mars_nwe/scripts/configure | 2 |
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 |