pkgsrc/archivers/gtar-base/Makefile

45 lines
994 B
Makefile
Raw Normal View History

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
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
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"
.if ${OPSYS} != "Darwin"
EXTRACT_SUFX= .shar.gz
.endif
1999-09-18 16:49:08 +02:00
.if (${OPSYS} != "NetBSD")
PLIST_SRC= ${WRKDIR}/PLIST
post-configure:
@${TOUCH} ${WRKSRC}/aclocal.m4 ${WRKSRC}/Makefile.in ${WRKSRC}/Makefile
1999-09-18 16:49:08 +02:00
pre-install:
-${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"