Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Apr 2014 16:59:57 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r350140 - head/dns/ez-ipupdate
Message-ID:  <201404041659.s34GxvOx090141@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Fri Apr  4 16:59:57 2014
New Revision: 350140
URL: http://svnweb.freebsd.org/changeset/ports/350140
QAT: https://qat.redports.org/buildarchive/r350140/

Log:
  Add staging support

Modified:
  head/dns/ez-ipupdate/Makefile
  head/dns/ez-ipupdate/pkg-plist

Modified: head/dns/ez-ipupdate/Makefile
==============================================================================
--- head/dns/ez-ipupdate/Makefile	Fri Apr  4 16:36:39 2014	(r350139)
+++ head/dns/ez-ipupdate/Makefile	Fri Apr  4 16:59:57 2014	(r350140)
@@ -15,14 +15,10 @@ COMMENT=	Update your host name on any dy
 USE_RC_SUBR=	ez-ipupdate
 GNU_CONFIGURE=	yes
 
-NO_STAGE=	yes
 post-install:
-	${MKDIR} ${PREFIX}/share/examples/${PORTNAME}
-	for f in ${WRKSRC}/example-*.conf; \
-	do \
-		${INSTALL_DATA} $$f ${PREFIX}/share/examples/${PORTNAME}/; \
-	done
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	(cd ${WRKSRC} && ${INSTALL_DATA} example-*.conf ${STAGEDIR}${EXAMPLESDIR})
 	${INSTALL_DATA} ${WRKSRC}/example.conf \
-			${PREFIX}/etc/${PORTNAME}.conf.sample
+			${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample
 
 .include <bsd.port.mk>

Modified: head/dns/ez-ipupdate/pkg-plist
==============================================================================
--- head/dns/ez-ipupdate/pkg-plist	Fri Apr  4 16:36:39 2014	(r350139)
+++ head/dns/ez-ipupdate/pkg-plist	Fri Apr  4 16:59:57 2014	(r350140)
@@ -1,13 +1,13 @@
 bin/ez-ipupdate
 etc/ez-ipupdate.conf.sample
-share/examples/ez-ipupdate/example-dhs.conf
-share/examples/ez-ipupdate/example-dyndns.conf
-share/examples/ez-ipupdate/example-dyns.conf
-share/examples/ez-ipupdate/example-easydns.conf
-share/examples/ez-ipupdate/example-gnudip.conf
-share/examples/ez-ipupdate/example-heipv6tb.conf
-share/examples/ez-ipupdate/example-justlinux.conf
-share/examples/ez-ipupdate/example-ods.conf
-share/examples/ez-ipupdate/example-pgpow.conf
-share/examples/ez-ipupdate/example-tzo.conf
-@dirrm share/examples/ez-ipupdate
+%%EXAMPLESDIR%%/example-dhs.conf
+%%EXAMPLESDIR%%/example-dyndns.conf
+%%EXAMPLESDIR%%/example-dyns.conf
+%%EXAMPLESDIR%%/example-easydns.conf
+%%EXAMPLESDIR%%/example-gnudip.conf
+%%EXAMPLESDIR%%/example-heipv6tb.conf
+%%EXAMPLESDIR%%/example-justlinux.conf
+%%EXAMPLESDIR%%/example-ods.conf
+%%EXAMPLESDIR%%/example-pgpow.conf
+%%EXAMPLESDIR%%/example-tzo.conf
+@dirrm %%EXAMPLESDIR%%



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