1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/emulators/spim/Makefile
2000-06-07 22:52:16 +00:00

49 lines
1.2 KiB
Makefile

# ex:ts=8
# Ports collection makefile for: spim
# Date created: Mon Oct 28, 1996
# Whom: David O'Brien (obrien@cs.ucdavis.edu)
#
# $FreeBSD$
#
PORTNAME= spim
PORTVERSION= 5.9
CATEGORIES= emulators
MASTER_SITES= ftp://ftp.cs.wisc.edu/pub/spim/Old_Versions/
DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= obrien@FreeBSD.org
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
MAN1= spim.1 xspim.1
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 ] && \
${LN} -f ${PREFIX}/bin/cl-spim ${PREFIX}/bin/spim
[ -e ${PREFIX}/bin/cl-xspim ] && \
${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_CMD} ${PREFIX}/share/doc/spim/*.ps
.endif
.include <bsd.port.mk>