Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Feb 2019 07:24:52 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r491919 - in head/sysutils: dirvish froxlor hptcli isc-cron
Message-ID:  <201902020724.x127OqeG021556@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Sat Feb  2 07:24:52 2019
New Revision: 491919
URL: https://svnweb.freebsd.org/changeset/ports/491919

Log:
  sysutils/*: Use NO_WRKSUBDIR

Modified:
  head/sysutils/dirvish/Makefile
  head/sysutils/froxlor/Makefile
  head/sysutils/hptcli/Makefile
  head/sysutils/isc-cron/Makefile

Modified: head/sysutils/dirvish/Makefile
==============================================================================
--- head/sysutils/dirvish/Makefile	Sat Feb  2 07:07:17 2019	(r491918)
+++ head/sysutils/dirvish/Makefile	Sat Feb  2 07:24:52 2019	(r491919)
@@ -17,10 +17,11 @@ RUN_DEPENDS=	p5-Time-modules>=0:devel/p5-Time-modules 
 MAN5S=		dirvish.conf.5
 MAN8S=		dirvish.8 dirvish-expire.8 dirvish-locate.8 dirvish-runall.8
 
-WRKSRC=		${WRKDIR}
-NO_BUILD=	yes
 USES=		perl5 tar:tgz
 USE_PERL5=	run
+
+NO_BUILD=	yes
+NO_WRKSUBDIR=	yes
 
 EXECUTABLES=	dirvish   dirvish-expire   dirvish-locate   dirvish-runall
 

Modified: head/sysutils/froxlor/Makefile
==============================================================================
--- head/sysutils/froxlor/Makefile	Sat Feb  2 07:07:17 2019	(r491918)
+++ head/sysutils/froxlor/Makefile	Sat Feb  2 07:24:52 2019	(r491919)
@@ -12,18 +12,16 @@ COMMENT=	PHP-based ISP Server Management Panel
 
 LICENSE=	GPLv2
 
-WRKSRC=		${WRKDIR}
-
-SUB_FILES+=	pkg-message pkg-deinstall
-SUB_LIST+=	WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} PORTNAME=${PORTNAME}
-PLIST_SUB+=	${SUB_LIST}
-
+USES=		php:cli
 USE_PHP=	bcmath curl filter ftp json pdo_mysql posix session xml zip
 
-USES=		php:cli
+SUB_FILES=	pkg-message pkg-deinstall
+SUB_LIST=	WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} PORTNAME=${PORTNAME}
+PLIST_SUB=	${SUB_LIST}
 
 NO_ARCH=	yes
 NO_BUILD=	yes
+NO_WRKSUBDIR=	yes
 
 OPTIONS_DEFINE=	LIBNSS LOGROTATE MYSQLS DKIM PCNTL NLS
 
@@ -105,7 +103,7 @@ NLS_USES=	gettext-runtime:run
 NLS_USE=	PHP=gettext
 
 do-install:
-	cd ${WRKDIR}/${PORTNAME} && \
+	cd ${WRKSRC}/${PORTNAME} && \
 	${FIND} . ! -name .gitignore | \
 	${CPIO} --quiet -pdm ${STAGEDIR}${WWWDIR}
 

Modified: head/sysutils/hptcli/Makefile
==============================================================================
--- head/sysutils/hptcli/Makefile	Sat Feb  2 07:07:17 2019	(r491918)
+++ head/sysutils/hptcli/Makefile	Sat Feb  2 07:24:52 2019	(r491919)
@@ -16,17 +16,16 @@ EXTRACT_SUFX=	.tgz
 RESTRICTED=	Redistribution is not allowed
 ONLY_FOR_ARCHS=	i386 amd64
 
-WRKSRC=		${WRKDIR}
 NO_BUILD=	yes
+NO_WRKSUBDIR=	yes
 
 post-extract:
-	cd ${WRKDIR} && ${TAR} -xf hptraidconf-3.6-1.tbz && \
+	cd ${WRKSRC} && ${TAR} -xf hptraidconf-3.6-1.tbz && \
 		${TAR} -xf hptsvr-3.6-1.tbz
 
 .include <bsd.port.pre.mk>
 
 do-install:
-	#@${MKDIR} ${STAGEDIR}${PREFIX}
 	${INSTALL_MAN} ${WRKSRC}/hptraidconf.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
 .if ${ARCH} == "i386"
 	${INSTALL_PROGRAM} ${WRKSRC}/hptraidconf-8.0 ${STAGEDIR}${PREFIX}/bin/hptraidconf

Modified: head/sysutils/isc-cron/Makefile
==============================================================================
--- head/sysutils/isc-cron/Makefile	Sat Feb  2 07:07:17 2019	(r491918)
+++ head/sysutils/isc-cron/Makefile	Sat Feb  2 07:24:52 2019	(r491919)
@@ -14,7 +14,7 @@ COMMENT=	ISC Cron, former Vixie Cron
 
 LICENSE=	ISCL
 
-WRKSRC=		${WRKDIR}
+NO_WRKSUBDIR=	yes
 SUB_FILES=	pkg-message
 PLIST_FILES=	sbin/cron \
 		"@(root,wheel,4755) bin/crontab" \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902020724.x127OqeG021556>