mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
Update from 2004.07.14 to 1.01.011 (PORTEPOCH-bump required)
PR: ports/71075 Submitted by: Martin Matuska (maintainer)
This commit is contained in:
parent
50ebe8ef3d
commit
e9fd92b043
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=117566
@ -5,29 +5,25 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= bsdtar
|
||||
PORTVERSION= 2004.07.14
|
||||
PORTVERSION= 1.01.011
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= archivers
|
||||
MASTER_SITES= http://people.freebsd.org/~kientzle/libarchive/src/
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION:S/./-/g}
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= martin@tradex.sk
|
||||
COMMENT= New tar archiver from FreeBSD-CURRENT
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/lib/libarchive.a:${PORTSDIR}/archivers/libarchive
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
MAKE_FLAGS+= BINDIR=${PREFIX}/bin \
|
||||
MANDIR=${PREFIX}/man/man
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
|
||||
|
||||
PLIST_FILES= bin/bsdtar
|
||||
|
||||
USE_REINPLACE= yes
|
||||
|
||||
MANCOMPRESSED= yes
|
||||
MANCOMPRESSED= no
|
||||
MAN1= bsdtar.1
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
@ -36,11 +32,4 @@ MAN1= bsdtar.1
|
||||
IGNORE= is in the base system
|
||||
.endif
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
EXTRA_PATCHES= ${PATCHDIR}/diff-bsdtar.h
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/Makefile
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
MD5 (bsdtar-2004-07-14.tgz) = 3be99578825c9a3ba606ad12783785b4
|
||||
SIZE (bsdtar-2004-07-14.tgz) = 41039
|
||||
MD5 (bsdtar-1.01.011.tar.gz) = e3def76fd560fd87a8a52c66d5d7dcbb
|
||||
SIZE (bsdtar-1.01.011.tar.gz) = 100316
|
||||
|
@ -1,10 +0,0 @@
|
||||
--- bsdtar.h.orig Sun Jul 18 11:08:41 2004
|
||||
+++ bsdtar.h Sun Jul 18 11:09:20 2004
|
||||
@@ -107,3 +107,7 @@
|
||||
void usage(struct bsdtar *);
|
||||
int yes(const char *fmt, ...);
|
||||
|
||||
+#ifndef id_t
|
||||
+typedef __int64_t __id_t; /* can hold a gid_t, pid_t, or uid_t */
|
||||
+typedef __id_t id_t; /* can hold a uid_t or pid_t */
|
||||
+#endif
|
@ -1,17 +0,0 @@
|
||||
--- Makefile.orig Thu Jun 3 23:46:09 2004
|
||||
+++ Makefile Sun Jul 18 10:58:12 2004
|
||||
@@ -4,12 +4,8 @@
|
||||
SRCS= bsdtar.c matching.c read.c util.c write.c
|
||||
WARNS?= 6
|
||||
DPADD= ${LIBARCHIVE} ${LIBBZ2} ${LIBZ}
|
||||
-LDADD= -larchive -lbz2 -lz
|
||||
-
|
||||
-.if defined(WITH_BSDTAR)
|
||||
-SYMLINKS= ${BINDIR}/bsdtar ${BINDIR}/tar
|
||||
-MLINKS= bsdtar.1 tar.1
|
||||
-.endif
|
||||
+LDADD= -L%%LOCALBASE%%/lib/ %%LOCALBASE%%/lib/libarchive.a -lbz2 -lz
|
||||
+CFLAGS+=-I%%LOCALBASE%%/include
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user