diff options
Diffstat (limited to 'archivers/gtar-base/Makefile')
-rw-r--r-- | archivers/gtar-base/Makefile | 33 |
1 files changed, 12 insertions, 21 deletions
diff --git a/archivers/gtar-base/Makefile b/archivers/gtar-base/Makefile index 3f6ebe947cb..27216b157f0 100644 --- a/archivers/gtar-base/Makefile +++ b/archivers/gtar-base/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2002/01/27 18:32:32 jlam Exp $ +# $NetBSD: Makefile,v 1.20 2002/08/25 21:49:06 jlam Exp $ # DISTNAME= tar-1.12 @@ -6,39 +6,30 @@ 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 -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --program-prefix=g --with-catgets +USE_BUILDLINK2= YES +GNU_CONFIGURE= YES +CONFIGURE_ARGS+= --program-prefix=g --with-catgets +CONFIGURE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR} .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 +.if ${OPSYS} == "NetBSD" +PLIST_SRC= ${.CURDIR}/PLIST.NetBSD +.elif ${OPSYS} == "Darwin" +PLIST_SRC= ${.CURDIR}/PLIST.Darwin +EXTRACT_SUFX= .tar.gz .endif post-patch: @${ECHO} '' >>${WRKSRC}/po/fr.po post-install: - ${INSTALL_DATA} ${FILESDIR}/gtar.1 ${PREFIX}/man/man1/ + ${INSTALL_DATA} ${FILESDIR}/gtar.1 ${PREFIX}/man/man1/gtar.1 .include "../../mk/bsd.pkg.mk" |