summaryrefslogtreecommitdiff
path: root/archivers/gtar-base/Makefile
blob: 3f6ebe947cb926b5b28003f0dde462deacc254bd (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
# $NetBSD: Makefile,v 1.19 2002/01/27 18:32:32 jlam 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
.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"