freebsd-ports/emulators/spim/Makefile

44 lines
1,019 B
Makefile
Raw Normal View History

# ex:ts=8
2000-02-13 04:25:05 +01:00
# Ports collection makefile for: spim
# Date created: Mon Oct 28, 1996
# Whom: David O'Brien (obrien@cs.ucdavis.edu)
#
1999-08-25 07:57:29 +02:00
# $FreeBSD$
#
2000-04-12 06:56:17 +02:00
PORTNAME= spim
PORTVERSION= 6.2
CATEGORIES= emulators
MASTER_SITES= ftp://ftp.cs.wisc.edu/pub/spim/
2000-04-12 06:56:17 +02:00
DISTNAME= ${PORTNAME}${PORTVERSION}
1997-10-10 08:53:48 +02:00
MAINTAINER= obrien@FreeBSD.org
PREFIX?= ${LOCALBASE}
NO_WRKSUBDIR= yes
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= Configure
USE_IMAKE= yes
ALL_TARGET= y.tab.c spim xspim
MAN1= spim.1 xspim.1
pre-build:
@${RM} -f ${WRKSRC}/y.tab.*
1999-09-06 00:15:15 +02:00
pre-install:
@${MKDIR} ${PREFIX}/share/spim && ${CHMOD} a+rx,u+w ${PREFIX}/share/spim
post-install:
.if !defined(NOPORTDOCS)
@${ECHO_MSG} "Installing spim/xspim documentation"
@${MKDIR} ${PREFIX}/share/doc/spim \
&& ${CHMOD} a+rx,u+w ${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>