ports

morpheus ports
git clone git://git.2f30.org/ports
Log | Files | Refs | LICENSE

commit 6972efbc1ae9e513c8a670223848ef65bb22715c
parent 3092aa0329c3532faa8b519137d1239782556baf
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sun, 27 Apr 2014 15:30:37 +0200

add ii

Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>

Diffstat:
Aii/config.mk | 28++++++++++++++++++++++++++++
Aii/ii.mk | 12++++++++++++
Aii/mkfile | 5+++++
3 files changed, 45 insertions(+), 0 deletions(-)

diff --git a/ii/config.mk b/ii/config.mk @@ -0,0 +1,28 @@ +# Customize to fit your system + +# paths +#PREFIX = /usr/local +BINDIR = ${PREFIX}/bin +MANDIR = ${PREFIX}/share/man +MAN1DIR = ${MANDIR}/man1 +DOCDIR = ${PREFIX}/share/doc/ii + +# Set the following to install to a different root +#DESTDIR = + +#INCDIR = ${PREFIX}/include +#LIBDIR = ${PREFIX}/lib +VERSION = 1.7 + +# includes and libs +#INCLUDES = -I. -I${INCDIR} -I/usr/include +#LIBS = -L${LIBDIR} -L/usr/lib -lc +# uncomment and comment other variables for compiling on Solaris +#LIBS = -L${LIBDIR} -L/usr/lib -lc -lsocket -lnsl +#CFLAGS = -g ${INCLUDES} -DVERSION=\"${VERSION}\" + +# compiler +#CC = cc +LD = ${CC} +CFLAGS = -g -W -Wall -DVERSION=\"${VERSION}\" +LDFLAGS = ${LIBS} diff --git a/ii/ii.mk b/ii/ii.mk @@ -0,0 +1,12 @@ +TARG = ii +INSTALL_BIN = \ + ii +INSTALL_MAN1 = \ + ii.1 + +<$mkbuild/mk.common + +ii:QV: + # overwrite default config.mk to allow overriding some variables. + cp ../config.mk config.mk + CC="${CC} -static" make -j$nprocs PREFIX="$prefix" DESTDIR="$ROOT" diff --git a/ii/mkfile b/ii/mkfile @@ -0,0 +1,5 @@ +<$mkbuild/mk.3rdparty + +src = ii +git = git://git.suckless.org/ii +mkfile = ../ii.mk