diff options
Diffstat (limited to 'emulators/spim/Makefile')
-rw-r--r-- | emulators/spim/Makefile | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/emulators/spim/Makefile b/emulators/spim/Makefile new file mode 100644 index 00000000000..96ef8760d36 --- /dev/null +++ b/emulators/spim/Makefile @@ -0,0 +1,35 @@ +# $NetBSD: Makefile,v 1.1 1998/05/26 21:19:18 tron Exp $ +# FreeBSD Id: Makefile,v 1.5 1997/10/10 06:53:35 obrien Exp +# + +DISTNAME= spim +PKGNAME= spim-6.1 +CATEGORIES= emulators +MASTER_SITES= ftp://ftp.cs.wisc.edu/pub/spim/ + +MAINTAINER= deberg@mit.edu + +NO_WRKSUBDIR= yes + +USE_IMAKE= yes +XMKMF= xmkmf # don't specify -a option + +ALL_TARGET= y.tab.c depend spim xspim + +pre-configure: + @${RM} -f ${WRKSRC}/y.tab.* + +pre-install: + @${MKDIR} ${PREFIX}/share/spim && chmod a+rx ${PREFIX}/share/spim + +post-install: + @${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 + +.include "../../mk/bsd.pkg.mk" |