aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-07-18 17:56:35 +0800
committersobomax <sobomax@FreeBSD.org>2002-07-18 17:56:35 +0800
commit77126c53e89537755f4d29e5cde3201bf0e79666 (patch)
tree9d4d5d53431eacc0d896aeb12526c8565aa34897
parent836e8eab221a7769375bc50273bd6543bacb7693 (diff)
downloadfreebsd-ports-gnome-77126c53e89537755f4d29e5cde3201bf0e79666.tar.gz
freebsd-ports-gnome-77126c53e89537755f4d29e5cde3201bf0e79666.tar.zst
freebsd-ports-gnome-77126c53e89537755f4d29e5cde3201bf0e79666.zip
Use USE_GNOMENG.
-rw-r--r--deskutils/gnome-pim/Makefile16
-rw-r--r--deskutils/gnomepim/Makefile16
2 files changed, 18 insertions, 14 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>
diff --git a/deskutils/gnomepim/Makefile b/deskutils/gnomepim/Makefile
index 6ab4fb5302f6..9b48ce0bcf90 100644
--- a/deskutils/gnomepim/Makefile
+++ b/deskutils/gnomepim/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>