diff options
author | mi <mi@FreeBSD.org> | 2010-12-03 22:54:04 +0800 |
---|---|---|
committer | mi <mi@FreeBSD.org> | 2010-12-03 22:54:04 +0800 |
commit | 20ff905fc875b481889442487317302a9dce12da (patch) | |
tree | 9e830401915365edca6ba209038b7a4b2e2690bb /devel | |
parent | 89477ced3edbd3c12bf977f2913cdbed4b593a55 (diff) | |
download | freebsd-ports-gnome-20ff905fc875b481889442487317302a9dce12da.tar.gz freebsd-ports-gnome-20ff905fc875b481889442487317302a9dce12da.tar.zst freebsd-ports-gnome-20ff905fc875b481889442487317302a9dce12da.zip |
Add a slave port of insight -- the gdb's GUI front-end. Having a slave
port will ensure, the packages are auto-built for insight and that the
WITH_INSIGHT option of gdb66 does not bit-rot with time...
In gdb66 use bsd.port.options.mk to parse options and then act on them
before bsd.port.pre.mk -- as
Suggested by: pav
Diffstat (limited to 'devel')
-rw-r--r-- | devel/gdb66/Makefile | 15 | ||||
-rw-r--r-- | devel/insight/Makefile | 16 |
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" |