diff options
author | sno <sno> | 2009-03-09 16:52:05 +0000 |
---|---|---|
committer | sno <sno> | 2009-03-09 16:52:05 +0000 |
commit | fed86ee9711aa9a2c3e250ef778e1a5cc2f93d4d (patch) | |
tree | ab3984abf3b3720dfaefd2ef2ea0b6572a789249 /archivers/sapcar/Makefile | |
parent | 02068a1a9af4e591fcbd538d2752e0ed53fb6bbc (diff) | |
download | pkgsrc-fed86ee9711aa9a2c3e250ef778e1a5cc2f93d4d.tar.gz |
pkgsrc changes:
Import of new archivers/sapcar to extract *.SAR archives provided by
SAP AG for their packages.
SAPCAR (older version was called CAR) is a compress utility (similar to
winzip, tar, zip, gz, etc.) , that is used by SAP to compress and decompress
nearly all delivered files and executables.
On 09/15/08 05:46 UTC, OBATA Akio <obache@netbsd.org> wrote:
> Personally, I think that those packages may exist.
On 09/15/08 09:41 UTC, Jonathan Groll <lists@groll.co.za> wrote:
> I for one would be most grateful if you could get this to work.
Oked by joerg@
Diffstat (limited to 'archivers/sapcar/Makefile')
-rw-r--r-- | archivers/sapcar/Makefile | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/archivers/sapcar/Makefile b/archivers/sapcar/Makefile new file mode 100644 index 00000000000..dd3b9fc92cb --- /dev/null +++ b/archivers/sapcar/Makefile @@ -0,0 +1,84 @@ +# $NetBSD: Makefile,v 1.1.1.1 2009/03/09 16:52:05 sno Exp $ + +PKGNAME= sapcar-7.00 +CATEGORIES= archivers +EXTRACT_SUFX= # empty + +PKG_DESTDIR_SUPPORT= user-destdir + +.include "../../emulators/sap/Makefile.common" + +.if ${SAP_OPSYS} == "linux" +.if ${SAP_ARCH} == "x86_64" +DISTNAME= SAPCAR_0-10003690.exe +.elif ${SAP_ARCH} == "i386" +DISTNAME= SAPCAR_0-10003688.exe +.elif ${SAP_ARCH} == "powerpc64" +DISTNAME= SAPCAR_0-10003687.exe +.elif ${SAP_ARCH} == "ia64" +DISTNAME= SAPCAR_0-10003689.exe +.else +BROKEN= Architecture ${MACHINE_ARCH} on this platform not supported +.endif +.elif ${SAP_OPSYS} == "aix" +.if ${SAP_ARCH} == "powerpc" +DISTNAME= SAPCAR_0-10003699.exe +.else +BROKEN= Architecture ${MACHINE_ARCH} on this platform not supported +.endif +.elif ${SAP_OPSYS} == "hpux" +.if ${SAP_ARCH} == "ia64" +DISTNAME= SAPCAR_0-10003682.exe +.elif ${SAP_ARCH} == "hppa" +DISTNAME= SAPCAR_0-10003683.exe +.else +BROKEN= Architecture ${MACHINE_ARCH} on this platform not supported +.endif +.elif ${SAP_OPSYS} == "solaris" +.if ${SAP_ARCH} == "x86_64" +DISTNAME= SAPCAR_0-10003701.exe +.elif ${SAP_ARCH} == "sparc64" +DISTNAME= SAPCAR_0-10003702.exe +.else +BROKEN= Architecture ${MACHINE_ARCH} on this platform not supported +.endif +.elif ${SAP_OPSYS} == "interix" +# Note: only native windows and interix is supported here - maybe MKS Toolkit +# Cygwin must fail! +.if ${SAP_ARCH} == "x86_64" +DISTNAME= SAPCAR_0-10003696.exe +.elif ${SAP_ARCH} == "i586" +DISTNAME= SAPCAR_0-10003694.exe +.elif ${SAP_ARCH} == "ia64" +DISTNAME= SAPCAR_0-10003695.exe +.else +BROKEN= Architecture ${MACHINE_ARCH} on platform ${OPSYS} not supported +.endif +.else +BROKEN= Plattform ${OPSYS} not supported +.endif + +MAINTAINER= pkgsrc-users@NetBSD.org +COMMENT= SAP archiver + +LICENSE= sap-license +RESTRICTED= Only unmodified original package can be distributed +NO_BIN_ON_CDROM= ${RESTRICTED} +NO_BIN_ON_FTP= ${RESTRICTED} + +WRKSRC= ${WRKDIR}/SAPCAR +BUILD_DIRS= # empty + +NO_CONFIGURE= yes +NO_BUILD= yes + +do-extract: + ${MKDIR} ${WRKSRC:Q} +.for f in ${DISTNAME} + ${CP} ${_DISTDIR:Q}/${f:Q} ${WRKSRC:Q}/${f:Q} +.endfor + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC:Q}/${DISTNAME} ${PREFIX:Q}/bin/SAPCAR + +.include "../../mk/bsd.pkg.mk" |