1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/cad/electric/Makefile
Mario Sergio Fujikawa Ferreira 9280666185 o Update to 6.0.8
o Drop maintainership
2004-06-13 15:09:16 +00:00

38 lines
1013 B
Makefile

# 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}
DISTNAME= ${PORTNAME}-${PORTVERSION:C/^(...)\./\1/}
MAINTAINER= ports@FreeBSD.org
COMMENT= A Sophisticated electrical CAD system
USE_REINPLACE= yes
USE_SIZE= yes
USE_XLIB= yes
USE_MOTIF= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= -with-x
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}|; \
s|@PTHREAD_LIBS@|${PTHREAD_LIBS:S/"//g}|' \
${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's|/usr/X11R6/|${X11BASE}/|' ${WRKSRC}/configure
.include <bsd.port.mk>