svn commit: r350140 - head/dns/ez-ipupdate

Pawel Pekala pawel at FreeBSD.org
Fri Apr 4 16:59:58 UTC 2014


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
- at 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
+ at dirrm %%EXAMPLESDIR%%


More information about the svn-ports-all mailing list