forked from Lainports/freebsd-ports
- Add LICENSE
- Switch to options helpers - Regenerate patches with `make makepatch`
This commit is contained in:
parent
640dfb58d9
commit
2cc9830617
2 changed files with 11 additions and 6 deletions
|
|
@ -9,7 +9,8 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
|||
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>
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue