diff options
author | nemysis <nemysis@FreeBSD.org> | 2014-01-25 10:40:17 +0800 |
---|---|---|
committer | nemysis <nemysis@FreeBSD.org> | 2014-01-25 10:40:17 +0800 |
commit | 8d5f74a85553bdec7066117262125eb1b72ae751 (patch) | |
tree | f695e03448eeae6e71ef8b2152401ffdc17de590 /shells/fish | |
parent | e833eb069e6da5a2cb96dc4006cc28f47784a3da (diff) | |
download | freebsd-ports-gnome-8d5f74a85553bdec7066117262125eb1b72ae751.tar.gz freebsd-ports-gnome-8d5f74a85553bdec7066117262125eb1b72ae751.tar.zst freebsd-ports-gnome-8d5f74a85553bdec7066117262125eb1b72ae751.zip |
- Add licenses (GPLv2)
- Fix DOCS Option, add extra-patch-Makefile.in
Reviewed by: horia
Diffstat (limited to 'shells/fish')
-rw-r--r-- | shells/fish/Makefile | 8 | ||||
-rw-r--r-- | shells/fish/files/extra-patch-Makefile.in | 21 |
2 files changed, 29 insertions, 0 deletions
diff --git a/shells/fish/Makefile b/shells/fish/Makefile index 086c0a288836..62affd5452be 100644 --- a/shells/fish/Makefile +++ b/shells/fish/Makefile @@ -9,6 +9,8 @@ MASTER_SITES= http://fishshell.com/files/${PORTVERSION}/ MAINTAINER= nemysis@FreeBSD.org COMMENT= User friendly command line shell +LICENSE= GPLv2 + USES= gmake iconv USE_AUTOTOOLS= autoconf @@ -24,6 +26,8 @@ NLS_USES= gettext NLS_CONFIGURE_ENV= ac_cv_func_gettext=yes NLS_CONFIGURE_OFF= --without-gettext +.include <bsd.port.options.mk> + post-patch: @${REINPLACE_CMD} -e \ '/^all:/s|user_doc|| ; \ @@ -37,6 +41,10 @@ post-patch: s|ncurses curses|curses| ; \ s|ncurses.h||' ${WRKSRC}/configure.ac +.if ! ${PORT_OPTIONS:MDOCS} +EXTRA_PATCHES+=${FILESDIR}/extra-patch-Makefile.in +.endif + post-install: .for i in fish fish_indent fish_pager fishd mimedb @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${i} diff --git a/shells/fish/files/extra-patch-Makefile.in b/shells/fish/files/extra-patch-Makefile.in new file mode 100644 index 000000000000..64e5fd416a38 --- /dev/null +++ b/shells/fish/files/extra-patch-Makefile.in @@ -0,0 +1,21 @@ +--- ./Makefile.in.orig 2013-10-19 22:10:26.000000000 +0200 ++++ ./Makefile.in 2014-01-25 02:35:57.000000000 +0100 +@@ -639,12 +639,12 @@ + true; \ + done; + +- $(INSTALL) -m 755 -d $(DESTDIR)$(docdir) +- for i in user_doc/html/* ChangeLog; do \ +- if test -f $$i; then \ +- $(INSTALL) -m 644 $$i $(DESTDIR)$(docdir); \ +- fi; \ +- done; ++# $(INSTALL) -m 755 -d $(DESTDIR)$(docdir) ++# for i in user_doc/html/* ChangeLog; do \ ++# if test -f $$i; then \ ++# $(INSTALL) -m 644 $$i $(DESTDIR)$(docdir); \ ++# fi; \ ++# done; + $(INSTALL) -m 755 -d $(DESTDIR)$(mandir)/man1 + for i in $(MANUALS); do \ + $(INSTALL) -m 644 $$i $(DESTDIR)$(mandir)/man1/; \ |