Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Feb 2016 10:02:45 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r409325 - in head/shells/ibsh: . files
Message-ID:  <201602221002.u1MA2jmO006466@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Feb 22 10:02:45 2016
New Revision: 409325
URL: https://svnweb.freebsd.org/changeset/ports/409325

Log:
  - Add LICENSE
  - Switch to options helpers
  - Regenerate patches with `make makepatch`

Modified:
  head/shells/ibsh/Makefile
  head/shells/ibsh/files/patch-Makefile

Modified: head/shells/ibsh/Makefile
==============================================================================
--- head/shells/ibsh/Makefile	Mon Feb 22 10:02:35 2016	(r409324)
+++ head/shells/ibsh/Makefile	Mon Feb 22 10:02:45 2016	(r409325)
@@ -9,7 +9,8 @@ MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Restricted unix shell
 
-OPTIONS_DEFINE=	DOCS
+LICENSE=	GPLv2+
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 USES=		gmake
 ALL_TARGET=	ibsh
@@ -20,13 +21,17 @@ SUB_FILES=	pkg-message
 PORTDOCS=	AUTHORS BUGS CONTRIBUTORS COPYING COPYRIGHT ChangeLog \
 		INSTALL README TODO VERSION
 
+OPTIONS_DEFINE=	DOCS
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|PATH_MAX|PATH_MAXb|g' ${WRKSRC}/delbadfiles.c ${WRKSRC}/ibsh.h
 	@${REINPLACE_CMD} -e 's|/etc/ibsh|${PREFIX}/etc/ibsh|g' ${WRKSRC}/ibsh.h
 
 post-install:
-	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ibsh
+
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ibsh
 
 .include <bsd.port.mk>

Modified: head/shells/ibsh/files/patch-Makefile
==============================================================================
--- head/shells/ibsh/files/patch-Makefile	Mon Feb 22 10:02:35 2016	(r409324)
+++ head/shells/ibsh/files/patch-Makefile	Mon Feb 22 10:02:45 2016	(r409325)
@@ -1,6 +1,6 @@
---- Makefile.orig	Fri Jun  3 15:47:32 2005
-+++ Makefile	Sat Nov 12 13:47:53 2005
-@@ -30,12 +30,12 @@
+--- Makefile.orig	2005-06-03 13:47:32 UTC
++++ Makefile
+@@ -30,12 +30,12 @@ delbadfiles.o: delbadfiles.c ibsh.h
  	${CC} -c delbadfiles.c
  
  ibsh_install:



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