diff options
| author | Jeremy Lea <reg@FreeBSD.org> | 2000-10-05 07:17:31 +0000 |
|---|---|---|
| committer | Jeremy Lea <reg@FreeBSD.org> | 2000-10-05 07:17:31 +0000 |
| commit | c76cf46929051f9dd322487d888c82f104026e6d (patch) | |
| tree | f415aeddadc6782b1474ebd88710bfa86cf08711 /math/rcalc | |
| parent | b7bdcd418e7aca3dd98409e16a4c4ae9bc289d02 (diff) | |
Implement USE_GNOME, part 2.
Diffstat (limited to 'math/rcalc')
| -rw-r--r-- | math/rcalc/Makefile | 13 | ||||
| -rw-r--r-- | math/rcalc/pkg-plist | 2 |
2 files changed, 6 insertions, 9 deletions
diff --git a/math/rcalc/Makefile b/math/rcalc/Makefile index e4b7fd4bdea2..a10d44da8d98 100644 --- a/math/rcalc/Makefile +++ b/math/rcalc/Makefile @@ -14,16 +14,15 @@ DISTNAME= rCalc-${PORTVERSION} MAINTAINER= jedgar@FreeBSD.org -LIB_DEPENDS= panel_applet.4:${PORTSDIR}/x11/gnomecore - -GTK_CONFIG?= ${X11BASE}/bin/gtk12-config - USE_X_PREFIX= yes USE_GMAKE= yes +USE_GNOME= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-x -CONFIGURE_ENV+= CFLAGS="-I${LOCALBASE}/include ${CFLAGS}" \ - GTK_CONFIG="${GTK_CONFIG}" \ +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LIBS="-L${LOCALBASE}/lib" +pre-patch: + @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \ + 's|\$$\(datadir\)/gnome/|\$$\(datadir\)/|g' + .include <bsd.port.mk> diff --git a/math/rcalc/pkg-plist b/math/rcalc/pkg-plist index ace0f118ded6..4087f6c4490d 100644 --- a/math/rcalc/pkg-plist +++ b/math/rcalc/pkg-plist @@ -7,5 +7,3 @@ share/gnome/help/rCalc/C/calculate.png share/gnome/help/rCalc/C/topic.dat @dirrm share/gnome/help/rCalc/C @dirrm share/gnome/help/rCalc -@unexec rmdir %D/share/gnome/apps/Utilities 2>/dev/null || true -@unexec rmdir %D/share/gnome/help 2>/dev/null || true |
