ports

zandra's ports tree
git clone git://zandra.org/ports
Log | Files | Refs | README | LICENSE

mandoc.mk (456B)


      1 TARG = mandoc
      2 DEPS = zlib
      3 
      4 <$mkbuild/mk.common-noinst
      5 
      6 mandoc:
      7 	export CFLAGS="${CFLAGS} ${DEPS_CFLAGS}"
      8 	export LDFLAGS="${LDFLAGS} ${DEPS_LDFLAGS}"
      9 	echo "CC=${CC}" >> configure.local
     10 	echo "PREFIX=\"${PREFIX}\"" >> configure.local
     11 	mv configure configure.old
     12 	sed '/^CC=/d' configure.old > configure
     13 	chmod +x configure
     14 	./configure
     15 	make -j$nprocs CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
     16 
     17 install:QV:
     18 	make -j$nprocs install DESTDIR="$ROOT" MANDIR="/share"