diff options
author | mat <mat@FreeBSD.org> | 2016-06-21 00:23:28 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2016-06-21 00:23:28 +0800 |
commit | bc12b6beb26907f267f34c1f8598d120cabecbae (patch) | |
tree | e83ee6693050a76e305a95a376451aa583df151e /shells/ibsh | |
parent | 5616a93eb39854a280bacec86824bbec7824d5b3 (diff) | |
download | freebsd-ports-gnome-bc12b6beb26907f267f34c1f8598d120cabecbae.tar.gz freebsd-ports-gnome-bc12b6beb26907f267f34c1f8598d120cabecbae.tar.zst freebsd-ports-gnome-bc12b6beb26907f267f34c1f8598d120cabecbae.zip |
With the power of USES=dos2unix, get rid of most patches and files
with CRLF.
While there, run make makepatch, rename patches to use the new scheme,
and various fixes.
With hat: portmgr
Sponsored by: Absolight
Diffstat (limited to 'shells/ibsh')
-rw-r--r-- | shells/ibsh/Makefile | 2 | ||||
-rw-r--r-- | shells/ibsh/files/patch-Makefile | 40 |
2 files changed, 21 insertions, 21 deletions
diff --git a/shells/ibsh/Makefile b/shells/ibsh/Makefile index a2f75fb6581a..fc2ef1d9d315 100644 --- a/shells/ibsh/Makefile +++ b/shells/ibsh/Makefile @@ -12,7 +12,7 @@ COMMENT= Restricted unix shell LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING -USES= gmake +USES= dos2unix gmake ALL_TARGET= ibsh INSTALL_TARGET= ibsh_install MAKE_ARGS= CC="${CC}" PREFIX="${STAGEDIR}${PREFIX}" diff --git a/shells/ibsh/files/patch-Makefile b/shells/ibsh/files/patch-Makefile index eee459054000..311cf9078496 100644 --- a/shells/ibsh/files/patch-Makefile +++ b/shells/ibsh/files/patch-Makefile @@ -1,21 +1,21 @@ ---- Makefile.orig 2005-06-03 13:47:32 UTC +--- Makefile.orig 2016-06-20 15:08:34 UTC +++ Makefile -@@ -30,12 +30,12 @@ delbadfiles.o: delbadfiles.c ibsh.h
- ${CC} -c delbadfiles.c
-
- ibsh_install:
-- cp ./ibsh /bin/
-- mkdir /etc/ibsh
-- mkdir /etc/ibsh/cmds
-- mkdir /etc/ibsh/xtns
-- cp ./globals.cmds /etc/ibsh/
-- cp ./globals.xtns /etc/ibsh/
-+ cp ./ibsh ${PREFIX}/bin/
-+ mkdir ${PREFIX}/etc/ibsh
-+ mkdir ${PREFIX}/etc/ibsh/cmds
-+ mkdir ${PREFIX}/etc/ibsh/xtns
-+ cp ./globals.cmds ${PREFIX}/etc/ibsh/
-+ cp ./globals.xtns ${PREFIX}/etc/ibsh/
-
- ibsh_uninstall:
- rm -rf /etc/ibsh/globals.cmds
+@@ -30,12 +30,12 @@ delbadfiles.o: delbadfiles.c ibsh.h + ${CC} -c delbadfiles.c + + ibsh_install: +- cp ./ibsh /bin/ +- mkdir /etc/ibsh +- mkdir /etc/ibsh/cmds +- mkdir /etc/ibsh/xtns +- cp ./globals.cmds /etc/ibsh/ +- cp ./globals.xtns /etc/ibsh/ ++ cp ./ibsh ${PREFIX}/bin/ ++ mkdir ${PREFIX}/etc/ibsh ++ mkdir ${PREFIX}/etc/ibsh/cmds ++ mkdir ${PREFIX}/etc/ibsh/xtns ++ cp ./globals.cmds ${PREFIX}/etc/ibsh/ ++ cp ./globals.xtns ${PREFIX}/etc/ibsh/ + + ibsh_uninstall: + rm -rf /etc/ibsh/globals.cmds |