freebsd-ports/cad/electric/Makefile

38 lines
1,013 B
Makefile
Raw Normal View History

# 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
PORTVERSION= 6.0.8
CATEGORIES= cad
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
2003-03-28 18:22:43 +01:00
DISTNAME= ${PORTNAME}-${PORTVERSION:C/^(...)\./\1/}
MAINTAINER= ports@FreeBSD.org
2003-02-23 20:58:35 +01:00
COMMENT= A Sophisticated electrical CAD system
2002-07-03 19:33:24 +02:00
USE_REINPLACE= yes
2004-02-08 02:14:05 +01:00
USE_SIZE= yes
USE_XLIB= yes
USE_MOTIF= yes
GNU_CONFIGURE= yes
2002-01-20 19:59:21 +01:00
CONFIGURE_ARGS= -with-x
2002-01-20 19:59:21 +01:00
post-patch:
@${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
.include <bsd.port.mk>