freebsd-ports/security/mosref/Makefile
Rong-En Fan 923ca8d08d - Use OSVERSION instead of exist()
Noticed by:	kris
Approved by:	Piet Delport (maintainer, implicit)
2006-09-02 13:33:36 +00:00

43 lines
1.1 KiB
Makefile

# Ports collection makefile for: security/mosref
# Date created: 2006-08-18
# Whom: Piet Delport
#
# $FreeBSD$
PORTNAME= mosref
PORTVERSION= 2.0.b3
CATEGORIES= security lang scheme
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}-2.0-beta3
MAINTAINER= pjd@satori.za.net
COMMENT= A secure remote execution framework using a compact Scheme-influenced VM
USE_GMAKE= yes
PORTDOCS= ChangeLog TODO vm-implementation.tex vm-implementation.pdf
# The distfile has execute bits set on everything; fix.
post-extract:
${FIND} ${WRKSRC} -type f -exec ${CHMOD} a-x {} ";"
post-patch:
${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/bin/install.ms
post-install:
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/share/vimrc ${DATADIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ChangeLog TODO ${DOCSDIR}
cd ${WRKSRC}/doc && ${INSTALL_DATA} vm-implementation.tex vm-implementation.pdf ${DOCSDIR}
.endif
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
BROKEN= requires stdint.h
.endif
.include <bsd.port.post.mk>