openbsd-ports/net/si/patches/patch-Makefile
bernd 6662a88d8a Initial import of si-0.3.
silc improved is a SILC client without an user interface. It does output via
files and input throught FIFOs. Most features of SILC are implemented.

Lots of testing and help from sthen@. Thank you!

ok sthen@
2008-12-08 11:23:08 +00:00

30 lines
848 B
Plaintext

$OpenBSD: patch-Makefile,v 1.1.1.1 2008/12/08 11:23:08 bernd Exp $
--- Makefile.orig Mon May 28 17:27:11 2007
+++ Makefile Mon Nov 3 17:52:23 2008
@@ -1,6 +1,3 @@
-CC=gcc
-prefix=/usr/local
-DESTDIR=
TARGET=si
FILES=si.c mit.c mm.c buddylist.c
@@ -25,14 +22,10 @@ si.o: ${FILES}
clean:
rm -f ${TARGET} *~ *.o *core
install: all
- @mkdir -p ${DESTDIR}${DOCDIR}
- @mkdir -p ${DESTDIR}${BINDIR}
- @mkdir -p ${DESTDIR}${MAN1DIR}
-
- @install -d ${DESTDIR}${BINDIR} ${DESTDIR}${MAN1DIR}
- @install -m 644 COPYING README FAQ buddylist ${DESTDIR}${DOCDIR}
- @install -m 775 si ${DESTDIR}${BINDIR}
- @install -m 444 si.1 ${DESTDIR}${MAN1DIR}
+ @${BSD_INSTALL_DATA_DIR} ${DOCDIR}
+ @${BSD_INSTALL_DATA} COPYING README FAQ ${DOCDIR}
+ @${BSD_INSTALL_PROGRAM} si ${BINDIR}
+ @${BSD_INSTALL_MAN} si.1 ${MAN1DIR}
@echo "installed si"
uninstall: