1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/emulators/ski/Makefile
Alexander Leidinger 8697f3d4a9 s/rpm2cpio/rpm2cpio.pl/ after the recent update of archivers/rpm2cpio (the
script was renamed to solve a conflict with archivers/rpm) to fix possible
build problems.

I've tested this with lang/icc. Any new errors because of this commit in
one of the modified ports may be because the ports previously may have used
rpm2cpio from archivers/rpm instead of the used {EXTRACT,BUILD}_DEPENDS
archivers/rpm2cpio.
2003-12-12 13:43:05 +00:00

62 lines
1.7 KiB
Makefile

# ex:ts=8
# Ports collection makefile for: ski
# Date created: Mon Oct 15, 2001
# Whom: David O'Brien (obrien@NUXI.com)
#
# $FreeBSD$
#
PORTNAME= ski
PORTVERSION= 0.943l.2
CATEGORIES= emulators
MASTER_SITES= ftp://www.software.hp.com/dist/swdepot/
DISTNAME= ski-0.943l-2.i386
EXTRACT_SUFX= .rpm
MAINTAINER= freebsd-ia64@FreeBSD.org
COMMENT= HP's Ski IA-64 simulator
BUILD_DEPENDS= rpm2cpio.pl:${PORTSDIR}/archivers/rpm2cpio
ONLY_FOR_ARCHS= i386
NOTICE= -- please manually download ${DISTNAME}${EXTRACT_SUFX} from the HP site (http://www.software.hp.com/products/LIA64/overview1a.htm) and put it in ${DISTDIR} first. License restrictions disallow automatic downloads and redistribution of the software.
NO_PACKAGE= ${NOTICE}
NO_CDROM= ${NOTICE}
EXTRACT_CMD= rpm2cpio.pl
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS= |cpio -idum
NO_WRKSUBDIR= yes
NO_BUILD= yes
NO_FILTER_SHLIBS= yes
NO_MTREE= yes
MAN1= ski.1
MLINKS= ski.1 bski.1 ski.1 xski.1
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/nue/usr/bin/ski ${PREFIX}/bin
brandelf -t Linux ${PREFIX}/bin/ski
.for SL in bski bskinc xski
cd ${PREFIX}/bin ; ${LN} -sf ski ${SL}
.endfor
${INSTALL_DATA} ${WRKSRC}/nue/usr/X11R6/lib/X11/app-defaults/XSki \
${X11BASE}/lib/X11/app-defaults
${INSTALL_MAN} ${WRKSRC}/usr/man/man1/ski.1 ${PREFIX}/man/man1
@${MKDIR} ${PREFIX}/examples/ski
${INSTALL_DATA} ${FILESDIR}/ia64.cmd ${PREFIX}/examples/ski
${INSTALL_DATA} ${WRKSRC}/nue/usr/X11R6/lib/X11/app-defaults/XSki \
${X11BASE}/lib/X11/app-defaults
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/usr/doc/ski-0.943l/* ${DOCSDIR}
.endif
.include <bsd.port.pre.mk>
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE= ${NOTICE}
.endif
.include <bsd.port.post.mk>