svn commit: r409325 - in head/shells/ibsh: . files
Dmitry Marakasov
amdmi3 at FreeBSD.org
Mon Feb 22 10:02:47 UTC 2016
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 at 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:
More information about the svn-ports-all
mailing list