1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/emulators/spim/Makefile
David E. O'Brien cf1439c350 Upgrade to 5.9.
Closes PR:	ports/2643
Submitted by:	Arne Henrik Juul <arnej@imf.unit.no>
1997-02-15 22:35:28 +00:00

49 lines
1.2 KiB
Makefile

# ex:ts=8
# New ports collection makefile for: spim
# Version required: 5.8
# Date created: Mon Oct 28, 1996
# Whom: David O'Brien (obrien@cs.ucdavis.edu)
#
# $Id: Makefile,v 1.2 1996/11/12 02:16:56 obrien Exp $
#
DISTNAME= spim5.9
PKGNAME= spim-5.9
CATEGORIES= emulators
MASTER_SITES= ftp://ftp.cs.wisc.edu/pub/spim/
MAINTAINER= obrien@cs.ucdavis.edu
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.*
pre-install:
@${MKDIR} ${PREFIX}/share/spim && chmod a+rx ${PREFIX}/share/spim
post-install:
[ -e ${PREFIX}/bin/cl-spim ] && \
/bin/ln -f ${PREFIX}/bin/cl-spim ${PREFIX}/bin/spim
[ -e ${PREFIX}/bin/cl-xspim ] && \
/bin/ln -f ${PREFIX}/bin/cl-xspim ${PREFIX}/bin/xspim
.if !defined(NOPORTDOCS)
@${ECHO} "Installing spim/xspim documentation"
@${MKDIR} ${PREFIX}/share/doc/spim \
&& chmod a+rx ${PREFIX}/share/doc/spim
${INSTALL_DATA} ${WRKSRC}/Documentation/spim.ps \
${PREFIX}/share/doc/spim
${INSTALL_DATA} ${WRKSRC}/Documentation/cycle.ps \
${PREFIX}/share/doc/spim
gzip -9nf ${PREFIX}/share/doc/spim/*.ps
.endif
.include <bsd.port.mk>