aboutsummaryrefslogtreecommitdiffstats
path: root/cad/electric/Makefile
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2004-06-13 23:09:16 +0800
committerlioux <lioux@FreeBSD.org>2004-06-13 23:09:16 +0800
commitb7d81606e8586a39d0c3a08e7593fe9e39d079b1 (patch)
treeae011f01d49aad9454182ad901a988827bf00e3e /cad/electric/Makefile
parent327ad06691b400bf2987301a3e7e6dc56e83c029 (diff)
downloadfreebsd-ports-gnome-b7d81606e8586a39d0c3a08e7593fe9e39d079b1.tar.gz
freebsd-ports-gnome-b7d81606e8586a39d0c3a08e7593fe9e39d079b1.tar.zst
freebsd-ports-gnome-b7d81606e8586a39d0c3a08e7593fe9e39d079b1.zip
o Update to 6.0.8
o Drop maintainership
Diffstat (limited to 'cad/electric/Makefile')
-rw-r--r--cad/electric/Makefile15
1 files changed, 9 insertions, 6 deletions
diff --git a/cad/electric/Makefile b/cad/electric/Makefile
index c3a433118640..68544ac04e2e 100644
--- a/cad/electric/Makefile
+++ b/cad/electric/Makefile
@@ -6,13 +6,13 @@
#
PORTNAME= electric
-PORTVERSION= 6.0.7.1
+PORTVERSION= 6.0.8
CATEGORIES= cad
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}-${PORTVERSION:C/^(...)\./\1/}
-MAINTAINER= lioux@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
COMMENT= A Sophisticated electrical CAD system
USE_REINPLACE= yes
@@ -21,12 +21,15 @@ USE_XLIB= yes
USE_MOTIF= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= -with-x
-WRKSRC= ${WRKDIR}/electric-6.07
post-patch:
- @${REINPLACE_CMD} -e 's|/usr/local/lib/electric/|${PREFIX}/share/electric/lib/|; \
- s|/usr/local/|${PREFIX}/|' ${WRKSRC}/src/include/config.h
- @${REINPLACE_CMD} -e 's|/lib/electric|/share/electric/lib|; \
+ @${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