2000-07-30 09:10:53 +02:00
|
|
|
# New ports collection makefile for: electric
|
|
|
|
# Date created: 4 May 2000
|
|
|
|
# Whom: Mario S F Ferreira <lioux@linf.unb.br> et al.
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= electric
|
2004-06-13 17:09:16 +02:00
|
|
|
PORTVERSION= 6.0.8
|
2000-07-30 09:10:53 +02:00
|
|
|
CATEGORIES= cad
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2003-03-28 18:22:43 +01:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:C/^(...)\./\1/}
|
2000-07-30 09:10:53 +02:00
|
|
|
|
2004-06-13 17:09:16 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-23 20:58:35 +01:00
|
|
|
COMMENT= A Sophisticated electrical CAD system
|
2000-07-30 09:10:53 +02:00
|
|
|
|
2002-07-03 19:33:24 +02:00
|
|
|
USE_REINPLACE= yes
|
2004-02-08 02:14:05 +01:00
|
|
|
USE_SIZE= yes
|
2000-07-30 09:10:53 +02:00
|
|
|
USE_XLIB= yes
|
2000-11-08 00:28:20 +01:00
|
|
|
USE_MOTIF= yes
|
2000-07-30 09:10:53 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2002-01-20 19:59:21 +01:00
|
|
|
CONFIGURE_ARGS= -with-x
|
2000-07-30 09:10:53 +02:00
|
|
|
|
2002-01-20 19:59:21 +01:00
|
|
|
post-patch:
|
2004-06-13 17:09:16 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|/usr/share/electric/lib/|${DATADIR}/lib/|; \
|
|
|
|
s|/usr/share/electric/doc/|${DOCSDIR}/|; \
|
|
|
|
s|/usr/bin/|${LOCALBASE}/bin/|; \
|
|
|
|
s|${LOCALBASE}/bin/sort|${SORT}|' \
|
|
|
|
${WRKSRC}/src/include/config.h
|
|
|
|
@${REINPLACE_CMD} -e 's|/usr/share/electric/lib|${DATADIR}/lib|; \
|
|
|
|
s|/usr/share/electric/doc|${DOCSDIR}|; \
|
2002-09-20 04:32:14 +02:00
|
|
|
s|@PTHREAD_LIBS@|${PTHREAD_LIBS:S/"//g}|' \
|
|
|
|
${WRKSRC}/Makefile.in
|
2002-07-03 19:33:24 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|/usr/X11R6/|${X11BASE}/|' ${WRKSRC}/configure
|
2000-07-30 09:10:53 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|