1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

Use USE_GNOMENG.

This commit is contained in:
Maxim Sobolev 2002-07-18 09:56:35 +00:00
parent f26fc055bf
commit e871a9e3cd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=63182
2 changed files with 18 additions and 14 deletions

View File

@ -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>

View File

@ -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>