mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
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)
This commit is contained in:
parent
115231ba77
commit
250e583ec1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363256
@ -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:${PORTSDIR}/mail/p5-MIME-Tools \
|
||||
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}
|
||||
|
@ -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
|
||||
|
||||
===============================================================================
|
||||
|
@ -1,5 +0,0 @@
|
||||
bin/extract_url
|
||||
@unexec if cmp -s %D/etc/extract_urlview %D/etc/extract_urlview.sample ; then rm -f %D/etc/extract_urlview ; fi
|
||||
etc/extract_urlview.sample
|
||||
@exec if [ -f %D/etc/extract_urlview ] ; then cp -p %D/%F %B/extract_urlview ; fi
|
||||
man/man1/extract_url.1.gz
|
Loading…
Reference in New Issue
Block a user