svn commit: r397774 - head/audio/xhippo

Baptiste Daroussin bapt at FreeBSD.org
Thu Sep 24 22:12:11 UTC 2015


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
- at 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
- at exec test -f %B/xhippo.config || cp %B/%f %B/xhippo.config
+ at sample etc/xhippo.config.sample
 man/man1/xhippo.1.gz
 share/locale/de/LC_MESSAGES/xhippo.mo


More information about the svn-ports-head mailing list