summaryrefslogtreecommitdiff
path: root/archivers/gtar-base/Makefile
blob: 12e8c72a7492e53868d82d8c4b22b22aa7f8f80c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# $NetBSD: Makefile,v 1.18 2001/12/27 21:50:56 agc Exp $
#

DISTNAME=       tar-1.12
PKGNAME=	gtar-base-1.12
SVR4_PKGNAME=	gtarb
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

GNU_CONFIGURE=	yes
CONFIGURE_ARGS= --program-prefix=g --with-catgets

.include "../../mk/bsd.prefs.mk"

.if ${OPSYS} != "Darwin"
EXTRACT_SUFX=	.shar.gz
EXTRACT_CMD=	${DECOMPRESS_CMD} ${DOWNLOADED_DISTFILE} | ${SH}
.endif

.if (${OPSYS} != "NetBSD")
PLIST_SRC=	${WRKDIR}/PLIST

post-configure:
	@${TOUCH} ${WRKSRC}/aclocal.m4 ${WRKSRC}/Makefile.in ${WRKSRC}/Makefile

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
.endif

post-patch:
	@${ECHO} '' >>${WRKSRC}/po/fr.po

post-install:
	${INSTALL_DATA} ${FILESDIR}/gtar.1 ${PREFIX}/man/man1/

.include "../../mk/bsd.pkg.mk"