|
Lines 1-41
Link Here
|
| 1 |
# New ports collection makefile for: nemiver |
1 |
# New ports collection makefile for: nemiver |
| 2 |
# Date created: 2008-02-22 |
2 |
# Date created: 2008-02-22 |
| 3 |
# Whom: Romain Tartiere <romain@blogreen.org> |
3 |
# Whom: Romain Tartiere <romain@blogreen.org> |
| 4 |
# |
4 |
# |
| 5 |
# $FreeBSD$ |
5 |
# $FreeBSD$ |
| 6 |
# |
6 |
# |
| 7 |
|
7 |
|
| 8 |
PORTNAME= nemiver |
8 |
PORTNAME= nemiver |
| 9 |
PORTVERSION= 0.6.4 |
9 |
PORTVERSION= 0.6.5 |
| 10 |
CATEGORIES= devel |
10 |
CATEGORIES= devel |
| 11 |
MASTER_SITES= GNOME |
11 |
MASTER_SITES= ${MASTER_SITE_GNOME} |
| 12 |
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} |
12 |
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} |
| 13 |
DIST_SUBDIR= gnome2 |
13 |
DIST_SUBDIR= gnome2 |
| 14 |
|
14 |
|
| 15 |
MAINTAINER= romain@blogreen.org |
15 |
MAINTAINER= romain@blogreen.org |
| 16 |
COMMENT= A C/C++ Debugger for GNOME |
16 |
COMMENT= A C/C++ Debugger for GNOME |
| 17 |
|
17 |
|
| 18 |
LIB_DEPENDS= boost_unit_test_framework:${PORTSDIR}/devel/boost \ |
18 |
LIB_DEPENDS= boost_unit_test_framework:${PORTSDIR}/devel/boost \ |
| 19 |
gtop-2.0:${PORTSDIR}/devel/libgtop \ |
19 |
gtop-2.0:${PORTSDIR}/devel/libgtop \ |
| 20 |
sqlite3:${PORTSDIR}/databases/sqlite3 \ |
20 |
sqlite3:${PORTSDIR}/databases/sqlite3 \ |
| 21 |
vte.9:${PORTSDIR}/x11-toolkits/vte \ |
21 |
vte.9:${PORTSDIR}/x11-toolkits/vte \ |
| 22 |
glademm-2.4:${PORTSDIR}/devel/libglademm24 \ |
22 |
glademm-2.4:${PORTSDIR}/devel/libglademm24 \ |
| 23 |
gtksourceviewmm-2:${PORTSDIR}/x11-toolkits/libgtksourceviewmm |
23 |
gtksourceviewmm-2:${PORTSDIR}/x11-toolkits/libgtksourceviewmm |
| 24 |
|
24 |
|
| 25 |
OPTIONS= GHEX "Enable memory view" off |
25 |
OPTIONS= GHEX "Enable memory view" off |
| 26 |
|
26 |
|
| 27 |
GNU_CONFIGURE= yes |
27 |
GNU_CONFIGURE= yes |
| 28 |
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
28 |
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
| 29 |
USE_GMAKE= yes |
29 |
USE_GMAKE= yes |
| 30 |
USE_GNOME= gnomeprefix gnomehack intltool gnomedocutils gconf2 |
30 |
USE_GNOME= gnomeprefix gnomehack intltool gnomedocutils gconf2 |
| 31 |
GCONF_SCHEMAS= nemiver-workbench.schemas nemiver-dbgperspective.schemas |
31 |
GCONF_SCHEMAS= nemiver-workbench.schemas nemiver-dbgperspective.schemas |
| 32 |
USE_LDCONFIG= yes |
32 |
USE_LDCONFIG= yes |
| 33 |
USE_GETTEXT= yes |
33 |
USE_GETTEXT= yes |
| 34 |
INSTALLS_OMF= yes |
34 |
INSTALLS_OMF= yes |
| 35 |
INSTALLS_ICONS= yes |
35 |
INSTALLS_ICONS= yes |
| 36 |
MAN1= nemiver.1 |
36 |
MAN1= nemiver.1 |
| 37 |
|
37 |
|
| 38 |
CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \ |
38 |
CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \ |
| 39 |
LDFLAGS="-L${LOCALBASE}/lib" |
39 |
LDFLAGS="-L${LOCALBASE}/lib" |
| 40 |
|
40 |
|
| 41 |
.include <bsd.port.pre.mk> |
41 |
.include <bsd.port.pre.mk> |
|
Lines 46-56
Link Here
|
| 46 |
|
46 |
|
| 47 |
.if defined(WITH_GHEX) && !defined(WITHOUT_GHEX) |
47 |
.if defined(WITH_GHEX) && !defined(WITHOUT_GHEX) |
| 48 |
CONFIGURE_ARGS+=--enable-memoryview |
48 |
CONFIGURE_ARGS+=--enable-memoryview |
| 49 |
PLIST_SUB+= GHEX="" |
49 |
PLIST_SUB+= GHEX="" |
| 50 |
LIB_DEPENDS+= gtkhex.0:${PORTSDIR}/editors/ghex |
50 |
LIB_DEPENDS+= gtkhex.0:${PORTSDIR}/editors/ghex |
| 51 |
.else |
51 |
.else |
| 52 |
CONFIGURE_ARGS+=--disable-memoryview |
52 |
CONFIGURE_ARGS+=--disable-memoryview |
| 53 |
PLIST_SUB+= GHEX="@comment " |
53 |
PLIST_SUB+= GHEX="@comment " |
| 54 |
.endif |
54 |
.endif |
| 55 |
|
55 |
|
| 56 |
.include <bsd.port.post.mk> |
56 |
.include <bsd.port.post.mk> |