diff options
Diffstat (limited to 'sysutils/gnomecontrolcenter/Makefile')
-rw-r--r-- | sysutils/gnomecontrolcenter/Makefile | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/sysutils/gnomecontrolcenter/Makefile b/sysutils/gnomecontrolcenter/Makefile index 06b89691fae7..a9fc227cff77 100644 --- a/sysutils/gnomecontrolcenter/Makefile +++ b/sysutils/gnomecontrolcenter/Makefile @@ -16,23 +16,17 @@ DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org -LIB_DEPENDS= gnomecanvaspixbuf.1:${PORTSDIR}/graphics/gnomecanvas \ - gnomevfs.0:${PORTSDIR}/devel/gnomevfs - USE_BZIP2= yes USE_X_PREFIX= yes USE_GMAKE= yes -USE_GNOMELIBS= yes -INSTALLS_SHLIB= yes +USE_GNOMENG= yes +USE_GNOME= gnomeprefix gnomehack gnomecanvas gnomevfs libcapplet GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LIBS="-L${LOCALBASE}/lib" -pre-patch: - @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ +post-patch: + @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure - @find ${WRKSRC} -name "Makefile.in*" | xargs ${PERL} -pi -e \ - 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \ - s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g' .include <bsd.port.mk> |