diff options
author | miwi <miwi@FreeBSD.org> | 2008-12-26 03:44:05 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2008-12-26 03:44:05 +0800 |
commit | 96ea2879b4646745b9bd6a6a978e1cc48c361187 (patch) | |
tree | e10024da90ed508dc3b61662cb12495074e58c8f /irc/simpleirc/files | |
parent | 93ba2d8b01ff08c288e26f352bbef374c73a6ceb (diff) | |
download | freebsd-ports-gnome-96ea2879b4646745b9bd6a6a978e1cc48c361187.tar.gz freebsd-ports-gnome-96ea2879b4646745b9bd6a6a978e1cc48c361187.tar.zst freebsd-ports-gnome-96ea2879b4646745b9bd6a6a978e1cc48c361187.zip |
SIMPLE IRC CLIENT alias sic
sic is an extremely simple IRC client. It consists of lesser
than 250 lines of code. It is the little brother of irc/ii
WWW: http://www.suckless.org/programs/sic.html
PR: ports/129917
Submitted by: Dennis Herrmann <adox at mcx2.org>
Diffstat (limited to 'irc/simpleirc/files')
-rw-r--r-- | irc/simpleirc/files/patch-Makefile | 26 | ||||
-rw-r--r-- | irc/simpleirc/files/patch-config.mk | 26 |
2 files changed, 52 insertions, 0 deletions
diff --git a/irc/simpleirc/files/patch-Makefile b/irc/simpleirc/files/patch-Makefile new file mode 100644 index 000000000000..cb3438a9840a --- /dev/null +++ b/irc/simpleirc/files/patch-Makefile @@ -0,0 +1,26 @@ +--- Makefile.orgi 2008-12-25 20:30:03.000000000 +0100 ++++ Makefile 2008-12-25 20:31:47.000000000 +0100 +@@ -38,17 +38,18 @@ + install: all + @echo installing executable file to ${DESTDIR}${PREFIX}/bin + @mkdir -p ${DESTDIR}${PREFIX}/bin +- @cp -f sic ${DESTDIR}${PREFIX}/bin +- @chmod 755 ${DESTDIR}${PREFIX}/bin/sic ++ @cp -f sic ${DESTDIR}${PREFIX}/bin/simpleirc ++ @chmod 755 ${DESTDIR}${PREFIX}/bin/simpleirc + @echo installing manual page to ${DESTDIR}${MANPREFIX}/man1 + @mkdir -p ${DESTDIR}${MANPREFIX}/man1 + @sed "s/VERSION/${VERSION}/g" < sic.1 > ${DESTDIR}${MANPREFIX}/man1/sic.1 +- @chmod 644 ${DESTDIR}${MANPREFIX}/man1/sic.1 ++ @mv ${DESTDIR}${MANPREFIX}/man1/sic.1 ${DESTDIR}${MANPREFIX}/man1/simpleirc.1 ++ @chmod 644 ${DESTDIR}${MANPREFIX}/man1/simpleirc.1 + + uninstall: + @echo removing executable file from ${DESTDIR}${PREFIX}/bin +- @rm -f ${DESTDIR}${PREFIX}/bin/sic ++ @rm -f ${DESTDIR}${PREFIX}/bin/simpleirc + @echo removing manual page from ${DESTDIR}${MANPREFIX}/man1 +- @rm -f ${DESTDIR}${MANPREFIX}/man1/sic.1 ++ @rm -f ${DESTDIR}${MANPREFIX}/man1/simpleirc.1 + + .PHONY: all options clean dist install uninstall diff --git a/irc/simpleirc/files/patch-config.mk b/irc/simpleirc/files/patch-config.mk new file mode 100644 index 000000000000..647966b53c2e --- /dev/null +++ b/irc/simpleirc/files/patch-config.mk @@ -0,0 +1,26 @@ +--- config.mk.orig 2008-12-24 21:33:04.000000000 +0100 ++++ config.mk 2008-12-24 21:34:33.000000000 +0100 +@@ -4,17 +4,17 @@ + # Customize below to fit your system + + # paths +-PREFIX = /usr/local +-MANPREFIX = ${PREFIX}/share/man ++PREFIX ?= /usr/local ++MANPREFIX = ${PREFIX}/man + + # includes and libs + INCS = -I. -I/usr/include + LIBS = -L/usr/lib -lc + + # flags +-CPPFLAGS = -DVERSION=\"${VERSION}\" -D_GNU_SOURCE +-CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} +-LDFLAGS = -s ${LIBS} ++CPPFLAGS += -DVERSION=\"${VERSION}\" -D_GNU_SOURCE ++CFLAGS += -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} ++LDFLAGS += -s ${LIBS} + + # compiler and linker +-CC = cc ++CC ?= cc |