1996-10-30 01:58:56 +00:00
|
|
|
# ex:ts=8
|
2000-02-13 03:25:05 +00:00
|
|
|
# Ports collection makefile for: spim
|
|
|
|
# Version required: 5.8
|
|
|
|
# Date created: Mon Oct 28, 1996
|
|
|
|
# Whom: David O'Brien (obrien@cs.ucdavis.edu)
|
1996-10-30 01:58:56 +00:00
|
|
|
#
|
1999-08-25 05:57:29 +00:00
|
|
|
# $FreeBSD$
|
1996-10-30 01:58:56 +00:00
|
|
|
#
|
|
|
|
|
1997-02-15 22:35:28 +00:00
|
|
|
DISTNAME= spim5.9
|
|
|
|
PKGNAME= spim-5.9
|
1996-11-12 02:19:40 +00:00
|
|
|
CATEGORIES= emulators
|
1997-08-25 06:18:14 +00:00
|
|
|
MASTER_SITES= ftp://ftp.cs.wisc.edu/pub/spim/Old_Versions/
|
1996-10-30 01:58:56 +00:00
|
|
|
|
1997-10-10 06:53:48 +00:00
|
|
|
MAINTAINER= obrien@FreeBSD.org
|
1996-10-30 01:58:56 +00:00
|
|
|
|
|
|
|
PREFIX?= ${LOCALBASE}
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
CONFIGURE_SCRIPT= Configure
|
|
|
|
USE_IMAKE= yes
|
|
|
|
XMKMF= xmkmf
|
|
|
|
ALL_TARGET= y.tab.c depend cl-spim cl-xspim
|
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
@${RM} -f ${WRKSRC}/y.tab.*
|
1999-09-05 22:15:15 +00:00
|
|
|
|
1996-10-30 01:58:56 +00:00
|
|
|
pre-install:
|
1999-08-22 19:01:07 +00:00
|
|
|
@${MKDIR} ${PREFIX}/share/spim && ${CHMOD} a+rx ${PREFIX}/share/spim
|
1996-10-30 01:58:56 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
[ -e ${PREFIX}/bin/cl-spim ] && \
|
1999-08-28 01:58:05 +00:00
|
|
|
${LN} -f ${PREFIX}/bin/cl-spim ${PREFIX}/bin/spim
|
1996-10-30 01:58:56 +00:00
|
|
|
[ -e ${PREFIX}/bin/cl-xspim ] && \
|
1999-08-28 01:58:05 +00:00
|
|
|
${LN} -f ${PREFIX}/bin/cl-xspim ${PREFIX}/bin/xspim
|
1996-10-30 01:58:56 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${ECHO} "Installing spim/xspim documentation"
|
1996-11-12 02:19:40 +00:00
|
|
|
@${MKDIR} ${PREFIX}/share/doc/spim \
|
1999-08-22 19:01:07 +00:00
|
|
|
&& ${CHMOD} a+rx ${PREFIX}/share/doc/spim
|
1996-10-30 01:58:56 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/Documentation/spim.ps \
|
|
|
|
${PREFIX}/share/doc/spim
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/Documentation/cycle.ps \
|
|
|
|
${PREFIX}/share/doc/spim
|
1999-09-04 23:39:29 +00:00
|
|
|
${GZIP_CMD} ${PREFIX}/share/doc/spim/*.ps
|
1996-10-30 01:58:56 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|