2002-01-27 19:32:32 +01:00
|
|
|
# $NetBSD: Makefile,v 1.19 2002/01/27 18:32:32 jlam Exp $
|
1999-09-18 16:49:08 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= tar-1.12
|
1999-09-18 17:07:29 +02:00
|
|
|
PKGNAME= gtar-base-1.12
|
2001-10-18 17:20:01 +02:00
|
|
|
SVR4_PKGNAME= gtarb
|
1999-09-18 16:49:08 +02:00
|
|
|
CATEGORIES= archivers
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=tar/}
|
|
|
|
|
|
|
|
MAINTAINER= packages@netbsd.org
|
|
|
|
HOMEPAGE= http://www.gnu.org/software/tar/tar.html
|
2001-02-16 14:15:24 +01:00
|
|
|
COMMENT= The GNU tape archiver with remote magnetic tape support
|
1999-09-18 16:49:08 +02:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --program-prefix=g --with-catgets
|
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2001-12-27 22:50:56 +01:00
|
|
|
.if ${OPSYS} != "Darwin"
|
|
|
|
EXTRACT_SUFX= .shar.gz
|
|
|
|
.endif
|
|
|
|
|
1999-09-18 16:49:08 +02:00
|
|
|
.if (${OPSYS} != "NetBSD")
|
|
|
|
PLIST_SRC= ${WRKDIR}/PLIST
|
|
|
|
|
2001-10-19 11:02:38 +02:00
|
|
|
post-configure:
|
|
|
|
@${TOUCH} ${WRKSRC}/aclocal.m4 ${WRKSRC}/Makefile.in ${WRKSRC}/Makefile
|
|
|
|
|
1999-09-18 16:49:08 +02:00
|
|
|
pre-install:
|
2001-12-27 22:50:56 +01:00
|
|
|
-${RM} -f ${PLIST_SRC}
|
|
|
|
. if ${OPSYS} == "Darwin"
|
|
|
|
${CP} ${PKGDIR}/PLIST.Darwin ${PLIST_SRC}
|
|
|
|
. else
|
|
|
|
${CAT} ${PKGDIR}/PLIST | ${SED} -e 's/cat$$/mo/' > ${PLIST_SRC}
|
|
|
|
. endif
|
1999-09-18 16:49:08 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${ECHO} '' >>${WRKSRC}/po/fr.po
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/gtar.1 ${PREFIX}/man/man1/
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|