socsvn commit: r257532 - soc2013/mattbw/port

mattbw at FreeBSD.org mattbw at FreeBSD.org
Fri Sep 20 12:06:28 UTC 2013


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
 


More information about the svn-soc-all mailing list