aboutsummaryrefslogtreecommitdiff
path: root/cad/geda-utils/Makefile
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2006-07-16 03:38:24 +0000
committerRong-En Fan <rafan@FreeBSD.org>2006-07-16 03:38:24 +0000
commit792c426b0bad54e8515296b7a8921d055c54f6b8 (patch)
treee561a5a4839578baeb86644bfc82fe6babb8b27a /cad/geda-utils/Makefile
parent35b04741b516179263ab00d5e1806f12a96e7d97 (diff)
downloadports-792c426b0bad54e8515296b7a8921d055c54f6b8.tar.gz
ports-792c426b0bad54e8515296b7a8921d055c54f6b8.zip
Notes
Diffstat (limited to 'cad/geda-utils/Makefile')
-rw-r--r--cad/geda-utils/Makefile21
1 files changed, 17 insertions, 4 deletions
diff --git a/cad/geda-utils/Makefile b/cad/geda-utils/Makefile
index 4c7d9610a155..f199f7f27274 100644
--- a/cad/geda-utils/Makefile
+++ b/cad/geda-utils/Makefile
@@ -5,25 +5,38 @@
# $FreeBSD$
#
-PORTNAME= geda-utils
+PORTNAME= utils
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/
+PKGNAMEPREFIX= geda-
+DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
MAINTAINER= ssedov@mbsd.msk.ru
-COMMENT= gEDA utilities
+COMMENT= The gEDA's utilities
-RUN_DEPENDS= ${LOCALBASE}/share/gEDA/sym:${PORTSDIR}/cad/geda-symbols
+RUN_DEPENDS= ${LOCALBASE}/share/geda/sym:${PORTSDIR}/cad/geda-symbols
LIB_DEPENDS= geda.25:${PORTSDIR}/cad/libgeda
+DOCSDIR= ${PREFIX}/share/doc/geda
+DATADIR= ${PREFIX}/share/geda
+
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_GNOME= gtk20
+CONFIGURE_ARGS= --with-docdir=${DOCSDIR}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
MAN1= grenum.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>