Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Sep 2015 22:12:10 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r397774 - head/audio/xhippo
Message-ID:  <201509242212.t8OMCAhs070788@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Thu Sep 24 22:12:09 2015
New Revision: 397774
URL: https://svnweb.freebsd.org/changeset/ports/397774

Log:
  Convert to @sample

Modified:
  head/audio/xhippo/Makefile
  head/audio/xhippo/pkg-plist

Modified: head/audio/xhippo/Makefile
==============================================================================
--- head/audio/xhippo/Makefile	Thu Sep 24 22:09:54 2015	(r397773)
+++ head/audio/xhippo/Makefile	Thu Sep 24 22:12:09 2015	(r397774)
@@ -3,6 +3,7 @@
 
 PORTNAME=	xhippo
 PORTVERSION=	3.5
+PORTREVISION=	1
 CATEGORIES=	audio
 MASTER_SITES=	GNU
 
@@ -25,11 +26,11 @@ LDFLAGS+=	-L${LOCALBASE}/lib
 INFO=		xhippo
 
 post-extract:
-	@${LN} -sf xhippo.config ${WRKSRC}/xhippo.config.default
+	@${LN} -sf xhippo.config ${WRKSRC}/xhippo.config.sample
 
 post-patch:
 	@${REINPLACE_CMD} -e \
-		'/^sysconf_DATA/s|=.*|= xhippo.config.default|' \
+		'/^sysconf_DATA/s|=.*|= xhippo.config.sample|' \
 			${WRKSRC}/Makefile.in
 
 .include <bsd.port.mk>

Modified: head/audio/xhippo/pkg-plist
==============================================================================
--- head/audio/xhippo/pkg-plist	Thu Sep 24 22:09:54 2015	(r397773)
+++ head/audio/xhippo/pkg-plist	Thu Sep 24 22:12:09 2015	(r397774)
@@ -1,6 +1,4 @@
 bin/xhippo
-@unexec if cmp -s %D/etc/xhippo.config %D/etc/xhippo.config.default; then rm -f %D/etc/xhippo.config; fi
-etc/xhippo.config.default
-@exec test -f %B/xhippo.config || cp %B/%f %B/xhippo.config
+@sample etc/xhippo.config.sample
 man/man1/xhippo.1.gz
 share/locale/de/LC_MESSAGES/xhippo.mo



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