39 lines
1.0 KiB
Makefile
39 lines
1.0 KiB
Makefile
# $OpenBSD: Makefile,v 1.8 2000/04/08 22:37:42 espie Exp $
|
|
|
|
DISTNAME= sp3f4.kit
|
|
PKGNAME= spice-3f5
|
|
CATEGORIES= cad
|
|
NEED_VERSION= 1.191
|
|
|
|
MAINTAINER= ports@openbsd.org
|
|
|
|
PERMIT_PACKAGE_CDROM= "no fee"
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= "no fee"
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ftp://ic.eecs.berkeley.edu/pub/Spice3/
|
|
DISTFILES= sp3f4.kit.tar.Z sp3f4.patch.tar.Z
|
|
|
|
USE_X11= yes
|
|
WRKDIST= ${WRKDIR}
|
|
FAKE= Yes
|
|
|
|
# Apply the patches that make this 3f5
|
|
#
|
|
pre-patch:
|
|
@${ECHO_MSG} "===> Applying distribution patches";
|
|
.if defined(PATCH_DEBUG)
|
|
@(cd ${WRKDIR}/3f4patches; \
|
|
${PATCH} -d ${WRKSRC}/src/lib/fte -E -p1 < grid.patch; \
|
|
${PATCH} -d ${WRKSRC}/src/lib/fte -E -p1 < newcoms.patch; \
|
|
${PATCH} -d ${WRKSRC}/src/lib/sparse -E -p1 < spsmp.patch)
|
|
.else
|
|
@(cd ${WRKDIR}/3f4patches; \
|
|
${PATCH} -d ${WRKSRC}/src/lib/fte -N -s -E -p1 < grid.patch; \
|
|
${PATCH} -d ${WRKSRC}/src/lib/fte -N -s -E -p1 < newcoms.patch; \
|
|
${PATCH} -d ${WRKSRC}/src/lib/sparse -N -s -E -p1 < spsmp.patch)
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|