diff options
Diffstat (limited to 'deskutils/mrproject/Makefile')
-rw-r--r-- | deskutils/mrproject/Makefile | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/deskutils/mrproject/Makefile b/deskutils/mrproject/Makefile index 07561dd3938e..361fff7a291d 100644 --- a/deskutils/mrproject/Makefile +++ b/deskutils/mrproject/Makefile @@ -7,6 +7,7 @@ PORTNAME= mrproject PORTVERSION= 0.5.1 +PORTREVISION= 1 CATEGORIES= deskutils gnome MASTER_SITES= ftp://ftp.codefactory.se/pub/software/mrproject/source/ @@ -17,20 +18,18 @@ RUN_DEPENDS= evolution:${PORTSDIR}/mail/evolution USE_X_PREFIX= yes USE_GMAKE= yes -USE_GNOME= yes -GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LIBS="-L${LOCALBASE}/lib" \ - BSD_PTHREAD_LIBS=${PTHREAD_LIBS} +USE_GNOMENG= yes +USE_GNOME= gnomeprefix gnomehack +USE_REINPLACE= yes +USE_LIBTOOL= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ + LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" INSTALLS_SHLIB= yes MAN1= mrproject.1 run-mrproject.1 mrproject-engine.1 pre-patch: - @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ + @${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> |