freebsd-ports/cad/xcircuit/Makefile
Kevin Lo ddde651aeb Update to version 2.3.3.b16
PR: 31300
Submitted by: Ports Fury
2001-10-19 16:02:11 +00:00

36 lines
780 B
Makefile

# New ports collection makefile for: xcircuit
# Date created: 3 Apr 1998
# Whom: giffunip@asme.org
#
# $FreeBSD$
#
PORTNAME= xcircuit
PORTVERSION= 2.3.3.b16
PORTEPOCH= 1
CATEGORIES= cad
MASTER_SITES= http://xcircuit.ece.jhu.edu/archive/
DISTNAME= ${PORTNAME}-${PORTVERSION:R}
MAINTAINER= ports@FreeBSD.org
RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript-gnu
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4
USE_BZIP2= yes
USE_XPM= yes
USE_IMAKE= yes
XMKMF= xmkmf
MAN1= xcircuit.1
post-patch:
@find ${WRKSRC} -name '*.[ch]' | xargs ${PERL} -pi -e \
's|<malloc.h>|<stdlib.h>|g'
post-install:
@${MKDIR} ${PREFIX}/share/examples/xcircuit
${TAR} -C ${WRKSRC}/examples --exclude CVS -cf - . | \
${TAR} -C ${PREFIX}/share/examples/xcircuit --unlink -xf -
.include <bsd.port.mk>