1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

- Fix license

- Switch to USES=localbase
- Switch to ${TOUCH}

PR:		210637
Approved by:	naddy@FreeBSD.org (maintainer)
This commit is contained in:
Dmitry Marakasov 2016-06-29 15:27:31 +00:00
parent 14f11eb8b9
commit 168bf1844b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=417776

View File

@ -10,17 +10,16 @@ PKGNAMEPREFIX= g
MAINTAINER= naddy@FreeBSD.org
COMMENT= GNU version of the traditional tape archiver
LICENSE= GPLv3
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
INFO= tar
USES= charsetfix cpe iconv:${STATIC_ARGS} makeinfo tar:xz
USES= charsetfix cpe iconv:${STATIC_ARGS} localbase makeinfo tar:xz
CPE_VENDOR= gnu
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-prefix=g \
--disable-silent-rules
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV= DEFAULT_ARCHIVE=/dev/sa0 \
DEFAULT_RMT_COMMAND=/etc/rmt
# supply result to skip a test that will abort configure if run as root
@ -43,6 +42,6 @@ STATIC_VARS_OFF= STATIC_ARGS=lib
# do not rebuild tar.info
post-patch:
touch -r ${WRKSRC}/doc/stamp-vti ${WRKSRC}/configure
${TOUCH} -r ${WRKSRC}/doc/stamp-vti ${WRKSRC}/configure
.include <bsd.port.mk>