Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Jul 2014 15:16:30 +0000 (UTC)
From:      Veniamin Gvozdikov <vg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r360032 - head/security/retranslator
Message-ID:  <201407011516.s61FGUAl030749@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vg
Date: Tue Jul  1 15:16:29 2014
New Revision: 360032
URL: http://svnweb.freebsd.org/changeset/ports/360032
QAT: https://qat.redports.org/buildarchive/r360032/

Log:
  - Support staging.

Modified:
  head/security/retranslator/Makefile

Modified: head/security/retranslator/Makefile
==============================================================================
--- head/security/retranslator/Makefile	Tue Jul  1 15:15:19 2014	(r360031)
+++ head/security/retranslator/Makefile	Tue Jul  1 15:16:29 2014	(r360032)
@@ -16,9 +16,8 @@ ONLY_FOR_ARCHS=	i386 amd64
 
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
-LIB_DEPENDS+=	m:${PORTSDIR}/misc/compat6x
+LIB_DEPENDS+=	libm.so:${PORTSDIR}/misc/compat6x
 
-NO_STAGE=	yes
 do-configure:
 
 .for f in 's,./backup/,/var/db/${PORTNAME}/backup,g' \
@@ -30,13 +29,10 @@ do-configure:
 
 do-install:
 	@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}.bin \
-		${PREFIX}/bin/${PORTNAME}
+		${STAGEDIR}${PREFIX}/bin/${PORTNAME}
 
 post-install:
 	@${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf \
-		${PREFIX}/etc/${PORTNAME}.conf.sample
-	@if [ ! -f ${PREFIX}/etc/${PORTNAME}.conf ]; then \
-		${CP} -p ${PREFIX}/etc/${PORTNAME}.conf.sample ${PREFIX}/etc/${PORTNAME}.conf ; \
-	fi
+		${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample
 
 .include <bsd.port.mk>



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