ports

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

mutt.mk (652B)


      1 TARG = mutt
      2 DEPS = libressl ncurses
      3 
      4 INSTALL_MAN1 = `{ ls -1 doc/*.1 }
      5 INSTALL_BIN = mutt smime_keys pgpewrap
      6 
      7 <$mkbuild/mk.common
      8 
      9 mutt:QV:
     10 	export CFLAGS="$CFLAGS $DEPS_CFLAGS"
     11 	export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS"
     12 	CC="$CC" ./configure \
     13 		--build="${TOOLCHAIN_TRIPLET}" \
     14 		--host="${HOST_TOOLCHAIN_TRIPLET}" \
     15 		--prefix="$PREFIX" \
     16 		--mandir="$ROOT/share/man" \
     17 		--disable-shared \
     18 		--disable-nls \
     19 		--disable-iconv \
     20 		--with-ssl \
     21 		--with-curses \
     22 		--with-mailpath="/var/spool/mail" \
     23 		--enable-static
     24 	# make doc/makedoc.c on host.
     25 	$HOSTCC doc/makedoc.c -o doc/makedoc -D_GNU_SOURCE -D_BSD_SOURCE -DHAVE_STRERROR
     26 	#
     27 	make -j$nprocs