freebsd-ports/devel/crystal/Makefile
2002-03-25 02:33:32 +00:00

38 lines
872 B
Makefile

# New ports collection makefile for: crystal
# Date created: Thu Feb 21 18:44:14 CST 2002
# Whom: Kyle Martin
#
# $FreeBSD$
#
PORTNAME= crystal
PORTVERSION= 0.92
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ftp://sunsite.dk/projects/crystal/cs092/source/
DISTNAME= cs92_001
MAINTAINER= mkm@ieee.org
BROKEN= "Does not build"
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
png.5:${PORTSDIR}/graphics/png
USE_BZIP2= yes
USE_GMAKE= yes
WRKSRC= ${WRKDIR}/CS
pre-build:
cd ${WRKSRC}; ${GMAKE} freebsd
pre-patch:
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS:S/"//g}|' \
${WRKSRC}/plugins/cscript/cspython/cspython.mak
@${FIND} ${WRKSRC} -name "*.mak" | ${XARGS} ${PERL} -pi -e \
's|-O6|${PTHREAD_CFLAGS}|; s|/usr/local|${LOCALBASE}|; \
s|INSTALL_DIR = ${LOCALBASE}/crystal|INSTALL_DIR = ${PREFIX}/crystal|'
.include <bsd.port.mk>