Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Sep 2013 12:06:28 GMT
From:      mattbw@FreeBSD.org
To:        svn-soc-all@FreeBSD.org
Subject:   socsvn commit: r257532 - soc2013/mattbw/port
Message-ID:  <201309201206.r8KC6SHl007807@socsvn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mattbw
Date: Fri Sep 20 12:06:28 2013
New Revision: 257532
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=257532

Log:
  Add in eadler's port file recommendations.

Modified:
  soc2013/mattbw/port/Makefile
  soc2013/mattbw/port/pkg-message

Modified: soc2013/mattbw/port/Makefile
==============================================================================
--- soc2013/mattbw/port/Makefile	Fri Sep 20 07:45:37 2013	(r257531)
+++ soc2013/mattbw/port/Makefile	Fri Sep 20 12:06:28 2013	(r257532)
@@ -1,4 +1,4 @@
-# %FREEBSD$
+# $FreeBSD$
 
 PORTNAME=	pkgpackagekit
 PORTVERSION=	0.1
@@ -14,6 +14,6 @@
 WRKSRC=		${WRKDIR}/backend
 
 post-install:
-	cat pkg-message
+	${CAT} pkg-message | ${SED} 's,%%PREFIX%%,${PREFIX},g'
 
 .include<bsd.port.mk>

Modified: soc2013/mattbw/port/pkg-message
==============================================================================
--- soc2013/mattbw/port/pkg-message	Fri Sep 20 07:45:37 2013	(r257531)
+++ soc2013/mattbw/port/pkg-message	Fri Sep 20 12:06:28 2013	(r257532)
@@ -1,5 +1,5 @@
 In order to enable this backend by default, you will need to change the file
-/usr/local/etc/PackageKit/PackageKit.conf, replacing the line:
+%%PREFIX%%/etc/PackageKit/PackageKit.conf, replacing the line:
 
 < DefaultBackend=ports
 



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