mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
devel/global: Convert REINPLACE_CMD to patch files
This commit is contained in:
parent
606ed4808f
commit
ba0c4f8af8
@ -19,18 +19,9 @@ TEST_TARGET= check
|
||||
USE_CSTD= c99
|
||||
|
||||
INFO= global
|
||||
PORTDOCS= AUTHORS ChangeLog FAQ INSTALL LICENSE NEWS README THANKS
|
||||
|
||||
SHEBANG_GLOB= *.pl
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e '/^gtags_DATA = / s|AUTHOR.*THANKS||' ${WRKSRC}/Makefile.in
|
||||
@${REINPLACE_CMD} -e '1d' ${WRKSRC}/plugin-factory/pygments_parser.py.in
|
||||
|
||||
post-install-DOCS-on:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}/
|
||||
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
11
devel/global/files/patch-Makefile.in
Normal file
11
devel/global/files/patch-Makefile.in
Normal file
@ -0,0 +1,11 @@
|
||||
--- Makefile.in.orig 2021-05-02 07:39:08 UTC
|
||||
+++ Makefile.in
|
||||
@@ -414,7 +414,7 @@ SUBDIRS = libglibc libutil libparser libltdl plugin-fa
|
||||
$(am__append_1) global gozilla gtags htags htags-refkit \
|
||||
htags-server globash doc script $(am__append_2)
|
||||
gtagsdir = ${datadir}/gtags
|
||||
-gtags_DATA = AUTHORS COPYING COPYING.LIB ChangeLog FAQ INSTALL LICENSE NEWS README THANKS \
|
||||
+gtags_DATA = AUTHORS ChangeLog FAQ INSTALL LICENSE NEWS README THANKS \
|
||||
DONORS BUILD_TOOLS README.PATCHES \
|
||||
gtags.conf gtags.el gtags.pl gtags.vim gtags-cscope.vim \
|
||||
elvis.rc elvis-2.2_0.patch geco.rc \
|
@ -0,0 +1,7 @@
|
||||
--- plugin-factory/pygments_parser.py.in.orig 2021-05-02 07:38:53 UTC
|
||||
+++ plugin-factory/pygments_parser.py.in
|
||||
@@ -1,4 +1,3 @@
|
||||
-#!/usr/bin/env python
|
||||
#
|
||||
# Copyright (c) 2014
|
||||
# Yoshitaro Makise
|
@ -21,12 +21,20 @@ man/man1/gtags.1.gz
|
||||
man/man1/htags-server.1.gz
|
||||
man/man1/htags.1.gz
|
||||
man/man5/gtags.conf.5.gz
|
||||
share/gtags/AUTHORS
|
||||
share/gtags/BUILD_TOOLS
|
||||
share/gtags/ChangeLog
|
||||
share/gtags/DONORS
|
||||
share/gtags/FAQ
|
||||
share/gtags/INSTALL
|
||||
share/gtags/LICENSE
|
||||
share/gtags/NEWS
|
||||
share/gtags/PLUGIN_HOWTO
|
||||
share/gtags/PLUGIN_HOWTO.pygments
|
||||
share/gtags/README
|
||||
share/gtags/README.PATCHES
|
||||
share/gtags/SERVERSIDE_HOWTO
|
||||
share/gtags/THANKS
|
||||
share/gtags/completion.cgi
|
||||
share/gtags/dot_htaccess
|
||||
share/gtags/elvis-2.2_0.patch
|
||||
|
Loading…
Reference in New Issue
Block a user