diff options
author | vg <vg@FreeBSD.org> | 2014-07-01 23:16:29 +0800 |
---|---|---|
committer | vg <vg@FreeBSD.org> | 2014-07-01 23:16:29 +0800 |
commit | d8ee0eb5ba442d609d7914cfb5a7641c040d45d1 (patch) | |
tree | 81c9974d79ff2192a0bba9f6a946cd13ef0fb5f5 /security/retranslator | |
parent | 615da436d71e8c036e11b193d1b622b519dea587 (diff) | |
download | freebsd-ports-gnome-d8ee0eb5ba442d609d7914cfb5a7641c040d45d1.tar.gz freebsd-ports-gnome-d8ee0eb5ba442d609d7914cfb5a7641c040d45d1.tar.zst freebsd-ports-gnome-d8ee0eb5ba442d609d7914cfb5a7641c040d45d1.zip |
- Support staging.
Diffstat (limited to 'security/retranslator')
-rw-r--r-- | security/retranslator/Makefile | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/security/retranslator/Makefile b/security/retranslator/Makefile index baa317d6bf8b..58ca786bdcc4 100644 --- a/security/retranslator/Makefile +++ b/security/retranslator/Makefile @@ -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> |