2011-08-17 21:48:49 +02:00
|
|
|
NEED_NBSDLIBC= yes
|
|
|
|
|
2010-07-13 21:28:09 +02:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
PROG= bsdtar
|
|
|
|
SRCS= bsdtar.c \
|
|
|
|
cmdline.c \
|
|
|
|
getdate.c \
|
|
|
|
read.c \
|
|
|
|
subst.c \
|
|
|
|
tree.c \
|
|
|
|
util.c \
|
|
|
|
write.c
|
|
|
|
.include "${.CURDIR}/libarchive_fe/Makefile.inc"
|
|
|
|
|
|
|
|
DPADD+= ${LIBARCHIVE} ${LIBZ} ${LIBBZ2}
|
|
|
|
LDADD+= -larchive -lbz2 -lz
|
|
|
|
CPPFLAGS+= -DHAVE_CONFIG_H
|
|
|
|
CPPFLAGS+= -I${.CURDIR} -I${.CURDIR}/libarchive_fe
|
|
|
|
|
2010-07-13 23:35:58 +02:00
|
|
|
LINKS+= ${BINDIR}/bsdtar ${BINDIR}/tar
|
|
|
|
MLINKS+= bsdtar.1 tar.1
|
|
|
|
|
2010-07-13 21:28:09 +02:00
|
|
|
.include <bsd.prog.mk>
|