aboutsummaryrefslogtreecommitdiff
path: root/cad/geda-netlist/Makefile
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2006-07-16 03:48:49 +0000
committerRong-En Fan <rafan@FreeBSD.org>2006-07-16 03:48:49 +0000
commit7d98596c5e7a887827e533e7993335eba97b4231 (patch)
treee1e8b65650d39ef9b27665f036bfb9afdd125f13 /cad/geda-netlist/Makefile
parent80470c34c5b3f024ff807d1d3a5e19575a407a22 (diff)
downloadports-7d98596c5e7a887827e533e7993335eba97b4231.tar.gz
ports-7d98596c5e7a887827e533e7993335eba97b4231.zip
Notes
Diffstat (limited to 'cad/geda-netlist/Makefile')
-rw-r--r--cad/geda-netlist/Makefile22
1 files changed, 17 insertions, 5 deletions
diff --git a/cad/geda-netlist/Makefile b/cad/geda-netlist/Makefile
index 0b13514befb5..c44006a5b686 100644
--- a/cad/geda-netlist/Makefile
+++ b/cad/geda-netlist/Makefile
@@ -5,25 +5,37 @@
# $FreeBSD$
#
-PORTNAME= gnetlist
+PORTNAME= netlist
PORTVERSION= 20060123
+PORTREVISION= 1
CATEGORIES= cad
MASTER_SITES= ftp://ftp.geda.seul.org/pub/geda/devel/${PORTVERSION}/ \
http://geda.seul.org/devel/${PORTVERSION}/ \
http://www.tinkerbox.org/projects/files/gEDA/
-DISTNAME= geda-${PORTNAME}-${PORTVERSION}
+PKGNAMEPREFIX= geda-
+DISTNAME= ${PKGNAMEPREFIX}g${PORTNAME}-${PORTVERSION}
MAINTAINER= ssedov@mbsd.msk.ru
-COMMENT= gEDA electronic schematic capture tools, netlister
+COMMENT= The gEDA's netlister
LIB_DEPENDS= geda.25:${PORTSDIR}/cad/libgeda
-RUN_DEPENDS= ${LOCALBASE}/share/gEDA/sym:${PORTSDIR}/cad/geda-symbols
+RUN_DEPENDS= ${LOCALBASE}/share/geda/sym:${PORTSDIR}/cad/geda-symbols
+
+DATADIR= ${PREFIX}/share/geda
+DOCSDIR= ${PREFIX}/share/doc/geda
GNU_CONFIGURE= yes
USE_GNOME= gtk20
+CONFIGURE_ARGS= --with-docdir=${DOCSDIR}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
MAN1= gnetlist.1
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+BROKEN= does not compile on 4.x
+.endif
+
+.include <bsd.port.post.mk>