aboutsummaryrefslogtreecommitdiff
path: root/deskutils/gnome-pim
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-07-18 09:56:35 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-07-18 09:56:35 +0000
commite871a9e3cd10e0b26dc4eabc68305e690b0b55d7 (patch)
treed362c28b75130cba03162f32bedda740cc502eae /deskutils/gnome-pim
parentf26fc055bf46bf53daa925a02740f0172dc7fca6 (diff)
downloadports-e871a9e3cd10e0b26dc4eabc68305e690b0b55d7.tar.gz
ports-e871a9e3cd10e0b26dc4eabc68305e690b0b55d7.zip
Notes
Diffstat (limited to 'deskutils/gnome-pim')
-rw-r--r--deskutils/gnome-pim/Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/deskutils/gnome-pim/Makefile b/deskutils/gnome-pim/Makefile
index 6ab4fb5302f6..9b48ce0bcf90 100644
--- a/deskutils/gnome-pim/Makefile
+++ b/deskutils/gnome-pim/Makefile
@@ -27,7 +27,8 @@ PLIST_SUB= GNOME_PILOT="@comment "
USE_X_PREFIX= yes
USE_BISON= yes
USE_GMAKE= yes
-USE_GNOME= yes
+USE_GNOMENG= yes
+USE_GNOME= gnomeprefix gnomehack gnomelibs libcapplet
USE_LIBTOOL= yes
CPPFLAGS= -I${LOCALBASE}/include
@@ -50,14 +51,15 @@ pre-extract:
.endif
@${ECHO_MSG}
-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'
.for file in vcc.y vobject.c
- @${PERL} -pi -e "s/malloc.h/stdlib.h/g" ${WRKSRC}/libversit/${file}
+ @${REINPLACE_CMD} -e "s/malloc[.]h/stdlib.h/g" ${WRKSRC}/libversit/${file}
.endfor
+pre-install:
+ ${MKDIR} ${PREFIX}//share/gnome/help/gnomecard/C \
+ ${PREFIX}/share/gnome/help/gnomecard/eu
+
.include <bsd.port.mk>