Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jul 2014 20:54:04 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r363256 - in head/textproc/extract_url: . files
Message-ID:  <201407282054.s6SKs4KW095925@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Mon Jul 28 20:54:04 2014
New Revision: 363256
URL: http://svnweb.freebsd.org/changeset/ports/363256
QAT: https://qat.redports.org/buildarchive/r363256/

Log:
  textproc/extract_url: Fix sample config file in pkg-plist
  
    * remove construct for .sample this this port doesn't install a
      working config file by default
    * update pkg-message to tell the user to copy the provided sample file
      to $HOME and edit accordingly
    * Fix plist
    * Respect 80-column limit
  
  PR:		191926
  Submitted by:	maintainer (Horia Racoviceanu)

Deleted:
  head/textproc/extract_url/pkg-plist
Modified:
  head/textproc/extract_url/Makefile
  head/textproc/extract_url/files/pkg-message.in

Modified: head/textproc/extract_url/Makefile
==============================================================================
--- head/textproc/extract_url/Makefile	Mon Jul 28 20:52:08 2014	(r363255)
+++ head/textproc/extract_url/Makefile	Mon Jul 28 20:54:04 2014	(r363256)
@@ -3,6 +3,7 @@
 
 PORTNAME=	extract_url
 PORTVERSION=	1.5.8
+PORTREVISION=	1
 CATEGORIES=	textproc
 MASTER_SITES=	GOOGLE_CODE
 PROJECTHOST=	extracturl
@@ -17,11 +18,14 @@ BUILD_DEPENDS=	p5-MIME-Tools>=0:${PORTSD
 RUN_DEPENDS:=	${BUILD_DEPENDS}
 
 USES=		gmake perl5
-
 MAKE_ARGS=	all prefix=${PREFIX} man_prefix=${PREFIX}
 
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
+PLIST_FILES=	bin/extract_url \
+		etc/extract_urlview.sample \
+		man/man1/extract_url.1.gz
+
 SUB_FILES=	pkg-message
 
 OPTIONS_DEFINE=			DOCS GETOPT_LONG URI_FIND
@@ -48,7 +52,8 @@ post-patch:
 		${WRKSRC}/${MAKEFILE}
 
 post-install:
-	${INSTALL_DATA} ${FILESDIR}/${PORTNAME}view ${STAGEDIR}${PREFIX}/etc/${PORTNAME}view.sample
+	${INSTALL_DATA} ${FILESDIR}/${PORTNAME}view \
+		${STAGEDIR}${PREFIX}/etc/${PORTNAME}view.sample
 
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}

Modified: head/textproc/extract_url/files/pkg-message.in
==============================================================================
--- head/textproc/extract_url/files/pkg-message.in	Mon Jul 28 20:52:08 2014	(r363255)
+++ head/textproc/extract_url/files/pkg-message.in	Mon Jul 28 20:54:04 2014	(r363256)
@@ -2,8 +2,14 @@
 
 extract_url has been installed.
 
-Sample configuration is installed, please adjust it
+If you don't have ~/.extract_urlview
 
-     %%PREFIX%%/etc/extract_urlview.sample
+the extract_url configuration file can be copied, please type as user:
+
+    su - user
+
+    cp %%PREFIX%%/etc/extract_urlview.sample ~/.extract_urlview
+
+    exit
 
 ===============================================================================



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