aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2010-12-03 14:54:04 +0000
committerMikhail Teterin <mi@FreeBSD.org>2010-12-03 14:54:04 +0000
commita290f6018a985e4d63c96d74dbf31c6450d728bf (patch)
tree6891d2c401632ed898b2cd3bed2637c20b7339ed /devel
parent9daf94fa7ae017e76822df442c639c86be2df89d (diff)
downloadports-a290f6018a985e4d63c96d74dbf31c6450d728bf.tar.gz
ports-a290f6018a985e4d63c96d74dbf31c6450d728bf.zip
Notes
Diffstat (limited to 'devel')
-rw-r--r--devel/gdb66/Makefile15
-rw-r--r--devel/insight/Makefile16
2 files changed, 24 insertions, 7 deletions
diff --git a/devel/gdb66/Makefile b/devel/gdb66/Makefile
index b8f806b9b138..5ecf220365c9 100644
--- a/devel/gdb66/Makefile
+++ b/devel/gdb66/Makefile
@@ -16,7 +16,7 @@ MASTER_SITE_SUBDIR=gdb/:gdb
DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:gdb
MAINTAINER= mi@aldan.algebra.com
-COMMENT= GNU GDB of newer version than comes with the system
+COMMENT?= GNU GDB of newer version than comes with the system
LATEST_LINK= gdb66
@@ -43,17 +43,12 @@ VER= ${PORTVERSION:S/.//}
PLIST_SUB= VER=${VER}
MAN1= gdb${VER}.1
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "ia64" || ${ARCH} == "powerpc"
-BROKEN= Does not configure on ia64 or powerpc
-.endif
+.include <bsd.port.options.mk>
.if defined(WITH_INSIGHT)
PKGNAMESUFFIX= -insight
PORTREVISION= 0
USE_TK= 84+
-.include "${PORTSDIR}/Mk/bsd.tcl.mk"
LIB_DEPENDS= itk:${PORTSDIR}/x11-toolkits/itk
RUN_DEPENDS= ${LOCALBASE}/lib/iwidgets:${PORTSDIR}/x11-toolkits/iwidgets
DISTFILES+= gdbtk-6.6${EXTRACT_SUFX}:gdbtk
@@ -83,6 +78,12 @@ PLIST_SUB+= INSIGHT='@comment '
CONFLICTS+= gdb-insight*
.endif
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "ia64" || ${ARCH} == "powerpc"
+BROKEN= Does not configure on ia64 or powerpc
+.endif
+
.if ${ARCH} == "amd64"
CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL}
.endif
diff --git a/devel/insight/Makefile b/devel/insight/Makefile
new file mode 100644
index 000000000000..44a835a4715a
--- /dev/null
+++ b/devel/insight/Makefile
@@ -0,0 +1,16 @@
+# New ports collection makefile for: gdb-insight
+# Date created: December 2, 2010
+# Whom: Mikhail Teterin
+#
+# $FreeBSD$
+
+PORTREVISION= 0
+
+MAINTAINER= mi@aldan.algebra.com
+COMMENT= Gnu debugger with the Insight GUI front-end
+
+MASTERDIR= ${.CURDIR:H}/gdb66
+WITH_INSIGHT= true
+CONFLICTS= gdb-[6-9]*
+
+.include "${MASTERDIR}/Makefile"