pkgsrc/archivers/gtar-base/Makefile
veego 63ad910dee SVR4 packages have a limit of 9 chars for a package name.
The automatic truncation in gensolpkg doesn't work for packages which
have the same package name for the first 5-6 chars.
e.g. amanda-server and amanda-client would be named amanda and amanda.
Now, we add a SVR4_PKGNAME and use amacl for amanda-client and amase for
amanda-server.
All svr4 packages also have a vendor tag, so we have to reserve some chars
for this tag, which is normaly 3 or 4 chars. Thats why we can only use 6
or 5 chars for SVR4_PKGNAME. I used 5 for all the packages, to give the
vendor tag enough room.
All p5-* packages and a few other packages have now a SVR4_PKGNAME.
2001-10-18 15:20:01 +00:00

37 lines
855 B
Makefile

# $NetBSD: Makefile,v 1.16 2001/10/18 15:20:01 veego Exp $
#
DISTNAME= tar-1.12
PKGNAME= gtar-base-1.12
SVR4_PKGNAME= gtarb
CATEGORIES= archivers
MASTER_SITES= ${MASTER_SITE_GNU:=tar/}
EXTRACT_SUFX= .shar.gz
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.gnu.org/software/tar/tar.html
COMMENT= The GNU tape archiver with remote magnetic tape support
EXTRACT_CMD= ${DECOMPRESS_CMD} ${DOWNLOADED_DISTFILE} | ${SH}
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-prefix=g --with-catgets
.include "../../mk/bsd.prefs.mk"
.if (${OPSYS} != "NetBSD")
PLIST_SRC= ${WRKDIR}/PLIST
pre-install:
-${RM} -f ${WRKDIR}/PLIST
${CAT} ${PKGDIR}/PLIST | ${SED} -e 's/cat$$/mo/' > ${WRKDIR}/PLIST
.endif
post-patch:
@${ECHO} '' >>${WRKSRC}/po/fr.po
post-install:
${INSTALL_DATA} ${FILESDIR}/gtar.1 ${PREFIX}/man/man1/
.include "../../mk/bsd.pkg.mk"