pkgsrc/archivers/gtar-base/Makefile

49 lines
1.3 KiB
Makefile
Raw Normal View History

2003-07-17 23:21:03 +02:00
# $NetBSD: Makefile,v 1.32 2003/07/17 21:21:15 grant Exp $
1999-09-18 16:49:08 +02:00
#
DISTNAME= tar-1.13.25
PKGNAME= gtar-base-1.13.25
2003-01-21 10:29:45 +01:00
PKGREVISION= 1
SVR4_PKGNAME= gtarb
1999-09-18 16:49:08 +02:00
CATEGORIES= archivers
MASTER_SITES= ftp://alpha.gnu.org/gnu/tar/ \
ftp://ftp.sunsite.org.uk/Mirrors/alpha.gnu.org/gnu/tar/ \
ftp://ftp.funet.fi/pub/mirrors/alpha.gnu.org/gnu/tar/
1999-09-18 16:49:08 +02:00
2003-07-17 23:21:03 +02:00
MAINTAINER= tech-pkg@NetBSD.org
1999-09-18 16:49:08 +02:00
HOMEPAGE= http://www.gnu.org/software/tar/tar.html
COMMENT= The GNU tape archiver with remote magnetic tape support
1999-09-18 16:49:08 +02:00
BUILD_USES_MSGFMT= YES
USE_BUILDLINK2= YES
USE_PKGLOCALEDIR= YES
GNU_CONFIGURE= YES
1999-09-18 16:49:08 +02:00
.include "../../mk/bsd.prefs.mk"
.if defined(GNU_PROGRAM_PREFIX)
CONFIGURE_ARGS+= --program-prefix=${GNU_PROGRAM_PREFIX}
.endif
CONFIGURE_ARGS+= --with-catgets
PLIST_SUBST+= GNU_PROGRAM_PREFIX=${GNU_PROGRAM_PREFIX}
BUILD_DEFS+= GNU_PROGRAM_PREFIX
.if !defined(GNU_PROGRAM_PREFIX) || ${GNU_PROGRAM_PREFIX} != "g"
PLIST_SUBST+= GTAR_LINK=""
.else
PLIST_SUBST+= GTAR_LINK="@comment "
.endif
1999-09-18 16:49:08 +02:00
post-patch:
@${TOUCH} ${WRKSRC}/po/fr.po
1999-09-18 16:49:08 +02:00
post-install:
${INSTALL_DATA} ${FILESDIR}/gtar.1 \
${PREFIX}/man/man1/${GNU_PROGRAM_PREFIX}tar.1
.if !defined(GNU_PROGRAM_PREFIX) || ${GNU_PROGRAM_PREFIX} != "g"
${LN} -sf ${GNU_PROGRAM_PREFIX}tar ${PREFIX}/bin/gtar
.endif
1999-09-18 16:49:08 +02:00
.include "../../mk/bsd.pkg.mk"