mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
- Make PREFIX clean
PR: ports/83379 Submitted by: Linas Valiukas <shirshegsm@gmail.com> (maintainer)
This commit is contained in:
parent
04149ba18e
commit
227242ac7a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=139066
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= tspc2
|
||||
PORTVERSION= 2.1.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net ipv6
|
||||
MASTER_SITES= http://www.hexago.com/files/
|
||||
DISTNAME= tspc-${PORTVERSION}-src
|
||||
@ -19,7 +20,12 @@ WRKSRC= ${WRKDIR}/tspc2
|
||||
MAN5= tspc.conf.5
|
||||
MAN8= tspc.8
|
||||
USE_RC_SUBR= tspc2.sh
|
||||
USE_REINPLACE= yes
|
||||
|
||||
MAKE_ARGS= target=freebsd installdir=${PREFIX}
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|PREFIX|${PREFIX}|g' ${WRKSRC}/conf/tspc.conf.in
|
||||
@${REINPLACE_CMD} -e 's|PREFIX|${PREFIX}|g' ${WRKSRC}/platform/freebsd/tsp_local.c
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -5,7 +5,7 @@
|
||||
# from $tsp_dir/template
|
||||
#
|
||||
-tsp_dir=@tsp_dir@
|
||||
+tsp_dir=/usr/local/share/tspc2
|
||||
+tsp_dir=PREFIX/share/tspc2
|
||||
|
||||
#
|
||||
# authentication method:
|
||||
|
@ -6,14 +6,14 @@
|
||||
|
||||
-char *FileName = "tspc.conf";
|
||||
-char *LogFile = "tspc.log";
|
||||
+char *FileName = "/usr/local/etc/tspc.conf";
|
||||
+char *FileName = "PREFIX/etc/tspc.conf";
|
||||
+char *LogFile = "/var/log/tspc.log";
|
||||
char *LogFileName = NULL;
|
||||
char *ScriptInterpretor = "/bin/sh";
|
||||
char *ScriptExtension = "sh";
|
||||
char *ScriptDir = NULL;
|
||||
-char *TspHomeDir = "/usr/local/etc/tsp";
|
||||
+char *TspHomeDir = "/usr/local/share/tspc2";
|
||||
+char *TspHomeDir = "PREFIX/share/tspc2";
|
||||
char DirSeparator = '/';
|
||||
|
||||
int Verbose = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user