Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/pkgsrc/archivers/gtar-base/Makefile,v rcsdiff: /ftp/cvs/cvsroot/pkgsrc/archivers/gtar-base/Makefile,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.17 retrieving revision 1.18 diff -u -p -r1.17 -r1.18 --- pkgsrc/archivers/gtar-base/Makefile 2001/10/19 09:02:38 1.17 +++ pkgsrc/archivers/gtar-base/Makefile 2001/12/27 21:50:56 1.18 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2001/10/19 09:02:38 veego Exp $ +# $NetBSD: Makefile,v 1.18 2001/12/27 21:50:56 agc Exp $ # DISTNAME= tar-1.12 @@ -6,19 +6,21 @@ 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} != "Darwin" +EXTRACT_SUFX= .shar.gz +EXTRACT_CMD= ${DECOMPRESS_CMD} ${DOWNLOADED_DISTFILE} | ${SH} +.endif + .if (${OPSYS} != "NetBSD") PLIST_SRC= ${WRKDIR}/PLIST @@ -26,8 +28,12 @@ post-configure: @${TOUCH} ${WRKSRC}/aclocal.m4 ${WRKSRC}/Makefile.in ${WRKSRC}/Makefile pre-install: - -${RM} -f ${WRKDIR}/PLIST - ${CAT} ${PKGDIR}/PLIST | ${SED} -e 's/cat$$/mo/' > ${WRKDIR}/PLIST + -${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: