PERL -> REINPLACE_CMD
PR: 39938 Submitted by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
This commit is contained in:
parent
4e50fe7061
commit
2730c8a3dc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=62647
33 changed files with 92 additions and 58 deletions
|
@ -16,6 +16,7 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/rc/}
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
|
|
||||||
WRKSRC= ${WRKDIR}/${PORTNAME}-1.4.0
|
WRKSRC= ${WRKDIR}/${PORTNAME}-1.4.0
|
||||||
|
USE_REINPLACE= yes
|
||||||
USE_LIBTOOL= yes
|
USE_LIBTOOL= yes
|
||||||
INSTALLS_SHLIB= yes
|
INSTALLS_SHLIB= yes
|
||||||
|
|
||||||
|
@ -53,10 +54,10 @@ post-extract:
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${RM} -f ${WRKSRC}/config.cache
|
@${RM} -f ${WRKSRC}/config.cache
|
||||||
@${PERL} -pi -e 's|/usr/local|${LOCALBASE}|g; \
|
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g; \
|
||||||
s|MAKEINFO=makeinfo|MAKEINFO="makeinfo --no-split"|g' \
|
s|MAKEINFO=makeinfo|MAKEINFO="makeinfo --no-split"|g' \
|
||||||
${WRKSRC}/configure
|
${WRKSRC}/configure
|
||||||
@find ${WRKSRC} \( -name '*.[ch]' \! -name acconfig.h \) \
|
@${FIND} ${WRKSRC} \( -name '*.[ch]' \! -name acconfig.h \) \
|
||||||
| xargs ${PERL} -pi -e 's|<malloc.h>|<stdlib.h>|g'
|
| ${XARGS} ${REINPLACE_CMD} -e 's|<malloc.h>|<stdlib.h>|g'
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -20,14 +20,15 @@ LIB_DEPENDS= aa.1:${PORTSDIR}/graphics/aalib
|
||||||
|
|
||||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
|
||||||
|
|
||||||
|
USE_REINPLACE= yes
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
CONFIGURE_ARGS= --with-x=no
|
CONFIGURE_ARGS= --with-x=no
|
||||||
|
|
||||||
MAN1= asciiview.1 aview.1
|
MAN1= asciiview.1 aview.1
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${PERL} -pi -e 's|/bash|/sh|g' ${WRKSRC}/asciiview
|
@${REINPLACE_CMD} -e 's|/bash|/sh|g' ${WRKSRC}/asciiview
|
||||||
@find ${WRKSRC} -name '*.[ch]' | xargs ${PERL} -pi -e \
|
@${FIND} ${WRKSRC} -name '*.[ch]' | ${XARGS} ${REINPLACE_CMD} -e \
|
||||||
's|<malloc.h>|<stdlib.h>|g'
|
's|<malloc.h>|<stdlib.h>|g'
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -16,12 +16,13 @@ MAINTAINER= ports@FreeBSD.org
|
||||||
|
|
||||||
WRKSRC= ${WRKDIR}/${PORTNAME}/build
|
WRKSRC= ${WRKDIR}/${PORTNAME}/build
|
||||||
|
|
||||||
|
USE_REINPLACE= yes
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
CONFIGURE_ENV= OPTFLAG=""
|
CONFIGURE_ENV= OPTFLAG=""
|
||||||
MAN1= camediaplay.1
|
MAN1= camediaplay.1
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${PERL} -pi -e "s|<sys/dir.h>|<dirent.h>|g" ${WRKSRC}/../src/*.c
|
@${REINPLACE_CMD} -e "s|<sys/dir.h>|<dirent.h>|g" ${WRKSRC}/../src/*.c
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
.if !defined(NOPORTDOCS)
|
.if !defined(NOPORTDOCS)
|
||||||
|
|
|
@ -18,11 +18,12 @@ RESTRICTED= "Beta test period, redistribution prohibited"
|
||||||
|
|
||||||
WRKSRC= ${WRKDIR}/${PORTNAME}/build
|
WRKSRC= ${WRKDIR}/${PORTNAME}/build
|
||||||
|
|
||||||
|
USE_REINPLACE= yes
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
CONFIGURE_ENV= OPTFLAG=""
|
CONFIGURE_ENV= OPTFLAG=""
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${PERL} -pi -e "s|<sys/dir.h>|<dirent.h>|g" ${WRKSRC}/../src/*.c
|
@${REINPLACE_CMD} -e "s|<sys/dir.h>|<dirent.h>|g" ${WRKSRC}/../src/*.c
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
.if !defined(NOPORTDOCS)
|
.if !defined(NOPORTDOCS)
|
||||||
|
|
|
@ -15,6 +15,7 @@ MAINTAINER= ports@FreeBSD.org
|
||||||
|
|
||||||
BUILD_DEPENDS= ${LOCALBASE}/share/automake14/automake/install-sh:${PORTSDIR}/devel/automake14
|
BUILD_DEPENDS= ${LOCALBASE}/share/automake14/automake/install-sh:${PORTSDIR}/devel/automake14
|
||||||
|
|
||||||
|
USE_REINPLACE= yes
|
||||||
USE_GTK= yes
|
USE_GTK= yes
|
||||||
USE_GMAKE= yes
|
USE_GMAKE= yes
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
|
@ -22,7 +23,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||||
LDFLAGS="-L${LOCALBASE}/lib"
|
LDFLAGS="-L${LOCALBASE}/lib"
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${PERL} -pi -e "s,Bison ,Bison,g" ${WRKSRC}/configure
|
@${REINPLACE_CMD} -e "s,Bison ,Bison,g" ${WRKSRC}/configure
|
||||||
|
|
||||||
pre-configure:
|
pre-configure:
|
||||||
.for file in config.guess config.sub install-sh missing mkinstalldirs
|
.for file in config.guess config.sub install-sh missing mkinstalldirs
|
||||||
|
|
|
@ -14,6 +14,7 @@ EXTRACT_SUFX= .tar.Z
|
||||||
|
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
|
|
||||||
|
USE_REINPLACE= yes
|
||||||
USE_GMAKE= yes
|
USE_GMAKE= yes
|
||||||
USE_X_PREFIX= yes
|
USE_X_PREFIX= yes
|
||||||
WRKSRC= ${WRKDIR}/dore
|
WRKSRC= ${WRKDIR}/dore
|
||||||
|
@ -25,7 +26,7 @@ post-extract:
|
||||||
@${MKDIR} ${WRKSRC}/lib
|
@${MKDIR} ${WRKSRC}/lib
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/src/subsys/*.c
|
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/src/subsys/*.c
|
||||||
|
|
||||||
pre-install:
|
pre-install:
|
||||||
@${MKDIR} ${PREFIX}/share/dore
|
@${MKDIR} ${PREFIX}/share/dore
|
||||||
|
|
|
@ -17,14 +17,15 @@ LIB_DEPENDS= gd.2:${PORTSDIR}/graphics/gd
|
||||||
|
|
||||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||||
|
|
||||||
|
USE_REINPLACE= yes
|
||||||
USE_QT_VER= 2
|
USE_QT_VER= 2
|
||||||
USE_GMAKE= yes
|
USE_GMAKE= yes
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
QTCPPFLAGS+= -I${LOCALBASE}/include/gd
|
QTCPPFLAGS+= -I${LOCALBASE}/include/gd
|
||||||
|
|
||||||
pre-patch:
|
pre-patch:
|
||||||
@${PERL} -pi -e 's|-lqt$$|-l${QTNAME}|g' ${WRKSRC}/ecg2png/Makefile.in
|
@${REINPLACE_CMD} -e 's|-lqt$$|-l${QTNAME}|g' ${WRKSRC}/ecg2png/Makefile.in
|
||||||
@find ${WRKSRC} -name '*.cpp' | xargs ${PERL} -pi -e \
|
@find ${WRKSRC} -name '*.cpp' | xargs ${REINPLACE_CMD} -e \
|
||||||
's|#include <qimageio.h>||g'
|
's|#include <qimageio.h>||g'
|
||||||
@${CHMOD} ${BINMODE} ${WRKSRC}/missing
|
@${CHMOD} ${BINMODE} ${WRKSRC}/missing
|
||||||
|
|
||||||
|
|
|
@ -13,6 +13,7 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||||
|
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
|
|
||||||
|
USE_REINPLACE= yes
|
||||||
USE_X_PREFIX= yes
|
USE_X_PREFIX= yes
|
||||||
USE_GTK= yes
|
USE_GTK= yes
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
|
@ -20,7 +21,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||||
LIBS="-L${LOCALBASE}/lib"
|
LIBS="-L${LOCALBASE}/lib"
|
||||||
|
|
||||||
pre-patch:
|
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
|
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -13,6 +13,7 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||||
|
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
|
|
||||||
|
USE_REINPLACE= yes
|
||||||
USE_X_PREFIX= yes
|
USE_X_PREFIX= yes
|
||||||
USE_NEWGCC= yes
|
USE_NEWGCC= yes
|
||||||
USE_GNOME= yes
|
USE_GNOME= yes
|
||||||
|
@ -22,11 +23,11 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||||
CONFIGURE_ARGS= --enable-compile-warnings=no
|
CONFIGURE_ARGS= --enable-compile-warnings=no
|
||||||
|
|
||||||
pre-patch:
|
pre-patch:
|
||||||
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
|
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
|
||||||
@find ${WRKSRC} -name "*Makefile*" | xargs ${PERL} -pi.dist -e \
|
@${FIND} ${WRKSRC} -name "*Makefile*" | ${XARGS} ${REINPLACE_CMD} -e \
|
||||||
's|-g -O2 -Wall -D_REENTRANT|\@CXXFLAGS\@|g ; \
|
's|-g -O2 -Wall -D_REENTRANT|\@CXXFLAGS\@|g ; \
|
||||||
s|datadir\)/gnome|datadir\)|g ; \
|
s|datadir)/gnome|datadir)|g ; \
|
||||||
s|datadir\)/locale|prefix\)/share/locale|g ; \
|
s|datadir)/locale|prefix)/share/locale|g ; \
|
||||||
s|gnofract4d_helpdir\)/images|gnofract4d_helpdir\)|g'
|
s|gnofract4d_helpdir)/images|gnofract4d_helpdir)|g'
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -112,6 +112,6 @@ share/locale/fr/LC_MESSAGES/gnofract4d.mo
|
||||||
@dirrm share/gnome/pixmaps/gnofract4d
|
@dirrm share/gnome/pixmaps/gnofract4d
|
||||||
@dirrm share/gnome/maps/gnofract4d
|
@dirrm share/gnome/maps/gnofract4d
|
||||||
@dirrm share/gnome/maps
|
@dirrm share/gnome/maps
|
||||||
@dirrm share/gnome/help/gnofract4d/C/stylesheet-image
|
@dirrm share/gnome/help/gnofract4d/C/stylesheet-images
|
||||||
@dirrm share/gnome/help/gnofract4d/C
|
@dirrm share/gnome/help/gnofract4d/C
|
||||||
@dirrm share/gnome/help/gnofract4d
|
@dirrm share/gnome/help/gnofract4d
|
||||||
|
|
|
@ -13,6 +13,7 @@ DISTNAME= gnome-iconedit-${PORTVERSION}
|
||||||
|
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
|
|
||||||
|
USE_REINPLACE= yes
|
||||||
USE_GNOME= yes
|
USE_GNOME= yes
|
||||||
USE_GMAKE= yes
|
USE_GMAKE= yes
|
||||||
USE_X_PREFIX= yes
|
USE_X_PREFIX= yes
|
||||||
|
@ -24,10 +25,10 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||||
LIBS="-L${LOCALBASE}/lib"
|
LIBS="-L${LOCALBASE}/lib"
|
||||||
|
|
||||||
pre-patch:
|
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
|
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
|
||||||
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
|
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
|
||||||
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
|
's|\$$(datadir)/gnome/|\$$(datadir)/|g ; \
|
||||||
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
|
s|\$$(datadir)/locale|\$$(prefix)/share/locale|g'
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -16,11 +16,12 @@ DISTNAME= gSculpt-${PORTVERSION}-src
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
|
|
||||||
WRKSRC= ${WRKDIR}/gSculpt-${PORTVERSION}
|
WRKSRC= ${WRKDIR}/gSculpt-${PORTVERSION}
|
||||||
|
USE_REINPLACE= yes
|
||||||
USE_GTK= yes
|
USE_GTK= yes
|
||||||
USE_GMAKE= yes
|
USE_GMAKE= yes
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${PERL} -pi -e "s,-O3 -Wall -Werror,${CXXFLAGS},g ; \
|
@${REINPLACE_CMD} -e "s,-O3 -Wall -Werror,${CXXFLAGS},g ; \
|
||||||
s,gtk-config,${GTK_CONFIG},g ; \
|
s,gtk-config,${GTK_CONFIG},g ; \
|
||||||
s,/usr/include/glib.h,${LOCALBASE}/include/glib12/glib.h,g ; \
|
s,/usr/include/glib.h,${LOCALBASE}/include/glib12/glib.h,g ; \
|
||||||
s,/usr/include/gtk/,${X11BASE}/include/gtk12/gtk/,g ; \
|
s,/usr/include/gtk/,${X11BASE}/include/gtk12/gtk/,g ; \
|
||||||
|
|
|
@ -15,6 +15,7 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||||
|
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
|
|
||||||
|
USE_REINPLACE= yes
|
||||||
USE_X_PREFIX= yes
|
USE_X_PREFIX= yes
|
||||||
USE_GMAKE= yes
|
USE_GMAKE= yes
|
||||||
USE_GNOME= yes
|
USE_GNOME= yes
|
||||||
|
@ -23,14 +24,14 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||||
LDFLAGS="-L${LOCALBASE}/lib"
|
LDFLAGS="-L${LOCALBASE}/lib"
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${PERL} -pi -e 's|Bison |Bison|g ; \
|
@${REINPLACE_CMD} -e 's|Bison |Bison|g ; \
|
||||||
s|-lpthread|${PTHREAD_LIBS}|g ; \
|
s|-lpthread|${PTHREAD_LIBS}|g ; \
|
||||||
s|DATADIRNAME=lib|DATADIRNAME=share|g ; \
|
s|DATADIRNAME=lib|DATADIRNAME=share|g ; \
|
||||||
s|share/pixmaps|share/gnome/pixmaps|g' ${WRKSRC}/configure
|
s|share/pixmaps|share/gnome/pixmaps|g' ${WRKSRC}/configure
|
||||||
@${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${PERL} -pi -e \
|
@${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \
|
||||||
's|^gsubeditdoc|#gsubeditdoc|g ; \
|
's|^gsubeditdoc|#gsubeditdoc|g ; \
|
||||||
s|-g -O2|| ; \
|
s|-g -O2|| ; \
|
||||||
s|\$$\(datadir\)/locale|\$$\(prefix\)/share/locale|'
|
s|\$$(datadir)/locale|\$$(prefix)/share/locale|'
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
.if !defined(NOPORTDOCS)
|
.if !defined(NOPORTDOCS)
|
||||||
|
|
|
@ -19,6 +19,7 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
|
||||||
tiff.4:${PORTSDIR}/graphics/tiff \
|
tiff.4:${PORTSDIR}/graphics/tiff \
|
||||||
ungif.5:${PORTSDIR}/graphics/libungif
|
ungif.5:${PORTSDIR}/graphics/libungif
|
||||||
|
|
||||||
|
USE_REINPLACE= yes
|
||||||
USE_X_PREFIX= yes
|
USE_X_PREFIX= yes
|
||||||
USE_FREETYPE= yes
|
USE_FREETYPE= yes
|
||||||
USE_LIBTOOL= yes
|
USE_LIBTOOL= yes
|
||||||
|
@ -34,6 +35,6 @@ CONFIGURE_ARGS= --enable-mmx
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
post-configure:
|
post-configure:
|
||||||
@${PERL} -pi -e 's|\@localbase\@|${LOCALBASE}|g' ${WRKSRC}/imlib2-config
|
@${REINPLACE_CMD} -e 's|\@localbase\@|${LOCALBASE}|g' ${WRKSRC}/imlib2-config
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
|
@ -24,6 +24,7 @@ LIB_DEPENDS= AfterBase.0:${PORTSDIR}/devel/libafterbase \
|
||||||
tiff.4:${PORTSDIR}/graphics/tiff \
|
tiff.4:${PORTSDIR}/graphics/tiff \
|
||||||
freetype.9:${PORTSDIR}/print/freetype2
|
freetype.9:${PORTSDIR}/print/freetype2
|
||||||
|
|
||||||
|
USE_REINPLACE= yes
|
||||||
USE_X_PREFIX= yes
|
USE_X_PREFIX= yes
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
|
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
|
||||||
|
@ -52,8 +53,8 @@ post-extract:
|
||||||
@${LN} -sf ${WRKSRC} ${WRKDIR}/libAfterImage
|
@${LN} -sf ${WRKSRC} ${WRKDIR}/libAfterImage
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${PERL} -pi -e 's|-lgif|-lungif|g' ${WRKSRC}/configure
|
@${REINPLACE_CMD} -e 's|-lgif|-lungif|g' ${WRKSRC}/configure
|
||||||
@find ${WRKSRC} -name '*.[ch]' | xargs ${PERL} -pi -e \
|
@${FIND} ${WRKSRC} -name '*.[ch]' | ${XARGS} ${REINPLACE_CMD} -e \
|
||||||
's|<malloc.h>|<stdlib.h>|g'
|
's|<malloc.h>|<stdlib.h>|g'
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
|
@ -18,12 +18,13 @@ LIB_DEPENDS= gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf \
|
||||||
exif.5:${PORTSDIR}/graphics/libexif
|
exif.5:${PORTSDIR}/graphics/libexif
|
||||||
RUN_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
|
RUN_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
|
||||||
|
|
||||||
|
USE_REINPLACE= yes
|
||||||
USE_GTK= yes
|
USE_GTK= yes
|
||||||
USE_LIBTOOL= yes
|
USE_LIBTOOL= yes
|
||||||
INSTALLS_SHLIB= yes
|
INSTALLS_SHLIB= yes
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${PERL} -pi -e \
|
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
|
||||||
's|\$$\(libdir\)/pkgconfig|\$$\(prefix\)/libdata/pkgconfig|g'
|
's|\$$(libdir)/pkgconfig|\$$(prefix)/libdata/pkgconfig|g'
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -15,6 +15,7 @@ MAINTAINER= ports@FreeBSD.org
|
||||||
|
|
||||||
LIB_DEPENDS= gtkgl.5:${PORTSDIR}/x11-toolkits/gtkglarea
|
LIB_DEPENDS= gtkgl.5:${PORTSDIR}/x11-toolkits/gtkglarea
|
||||||
|
|
||||||
|
USE_REINPLACE= yes
|
||||||
USE_SUBMAKE= yes
|
USE_SUBMAKE= yes
|
||||||
USE_MESA= yes
|
USE_MESA= yes
|
||||||
WANT_GTK= yes
|
WANT_GTK= yes
|
||||||
|
@ -48,7 +49,7 @@ post-extract:
|
||||||
@${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/genman3list.sh
|
@${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/genman3list.sh
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${PERL} -pi -e "s,%%X11BASE%%,${X11BASE},g ; \
|
@${REINPLACE_CMD} -e "s,%%X11BASE%%,${X11BASE},g ; \
|
||||||
s,%%CC%%,${CC},g ; \
|
s,%%CC%%,${CC},g ; \
|
||||||
s,%%CXX%%,${CXX},g ; \
|
s,%%CXX%%,${CXX},g ; \
|
||||||
s,%%CFLAGS%%,${CFLAGS},g ; \
|
s,%%CFLAGS%%,${CFLAGS},g ; \
|
||||||
|
@ -56,7 +57,7 @@ post-patch:
|
||||||
s,%%PTHREAD_CFLAGS%%,${PTHREAD_CFLAGS},g ; \
|
s,%%PTHREAD_CFLAGS%%,${PTHREAD_CFLAGS},g ; \
|
||||||
s,%%PTHREAD_LIBS%%,${PTHREAD_LIBS},g ; \
|
s,%%PTHREAD_LIBS%%,${PTHREAD_LIBS},g ; \
|
||||||
s,gtk-config,${GTK_CONFIG},g" ${WRKSRC}/setup
|
s,gtk-config,${GTK_CONFIG},g" ${WRKSRC}/setup
|
||||||
@${PERL} -pi -e "s,gtk-config,${GTK_CONFIG},g" ${WRKSRC}/examples/misc/GTK/Makefile
|
@${REINPLACE_CMD} -e "s,gtk-config,${GTK_CONFIG},g" ${WRKSRC}/examples/misc/GTK/Makefile
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${INSTALL_DATA} ${WRKSRC}/lib/*.* ${PREFIX}/lib
|
${INSTALL_DATA} ${WRKSRC}/lib/*.* ${PREFIX}/lib
|
||||||
|
|
|
@ -13,6 +13,7 @@ MASTER_SITES= ftp://ftp.bic.mni.mcgill.ca/pub/mpeg/ \
|
||||||
|
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
|
|
||||||
|
USE_REINPLACE= yes
|
||||||
INSTALLS_SHLIB= yes
|
INSTALLS_SHLIB= yes
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
CONFIGURE_ENV= OPTIMIZE="${CFLAGS}"
|
CONFIGURE_ENV= OPTIMIZE="${CFLAGS}"
|
||||||
|
@ -20,6 +21,6 @@ CONFIGURE_ENV= OPTIMIZE="${CFLAGS}"
|
||||||
post-patch:
|
post-patch:
|
||||||
@(cd ${WRKSRC} ; \
|
@(cd ${WRKSRC} ; \
|
||||||
${GREP} -r -l "<malloc.h>" * | \
|
${GREP} -r -l "<malloc.h>" * | \
|
||||||
xargs ${PERL} -pi -e "s/<malloc.h>/<stdlib.h>/")
|
${XARGS} ${REINPLACE_CMD} -e "s/<malloc.h>/<stdlib.h>/")
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -12,11 +12,12 @@ MASTER_SITES= http://yukon.genie.uottawa.ca/~lavoie/software/nurbs/
|
||||||
|
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
|
|
||||||
|
USE_REINPLACE= yes
|
||||||
USE_LIBTOOL= yes
|
USE_LIBTOOL= yes
|
||||||
INSTALLS_SHLIB= yes
|
INSTALLS_SHLIB= yes
|
||||||
|
|
||||||
pre-patch:
|
pre-patch:
|
||||||
@${PERL} -pi -e 's,<malloc.h>,<stdlib.h>,' \
|
@${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,' \
|
||||||
${WRKSRC}/nurbs/nurbs.cc ${WRKSRC}/nurbs/nurbsS.cc
|
${WRKSRC}/nurbs/nurbs.cc ${WRKSRC}/nurbs/nurbsS.cc
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -16,12 +16,13 @@ EXTRACT_SUFX= .tar.Z
|
||||||
|
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
|
|
||||||
|
USE_REINPLACE= yes
|
||||||
USE_IMAKE= yes
|
USE_IMAKE= yes
|
||||||
ALL_TARGET= World
|
ALL_TARGET= World
|
||||||
MAN1= plotmtv.1
|
MAN1= plotmtv.1
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
find ${WRKSRC} -name \*.c | xargs ${PERL} -pi.malloc.h -e 's/<malloc.h>/<stdlib.h>/'
|
@${FIND} ${WRKSRC} -name \*.c | ${XARGS} ${REINPLACE_CMD} -e 's/<malloc.h>/<stdlib.h>/'
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
.if !defined(NOPORTDOCS)
|
.if !defined(NOPORTDOCS)
|
||||||
|
|
|
@ -12,10 +12,12 @@ MASTER_SITES= http://vento.pi.tu-berlin.de/ppm2fli/
|
||||||
|
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
|
|
||||||
|
USE_REINPLACE= yes
|
||||||
|
|
||||||
MAN1= ppm2fli.1 unflick.1
|
MAN1= ppm2fli.1 unflick.1
|
||||||
|
|
||||||
pre-patch:
|
pre-patch:
|
||||||
@${PERL} -pi -e 's|^C|#C|g ; \
|
@${REINPLACE_CMD} -e 's|^C|#C|g ; \
|
||||||
s|gcc |\$${CC} |g' ${WRKSRC}/Makefile
|
s|gcc |\$${CC} |g' ${WRKSRC}/Makefile
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
|
|
|
@ -13,6 +13,7 @@ MASTER_SITES= http://www.qglviewer.de/
|
||||||
|
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
|
|
||||||
|
USE_REINPLACE= yes
|
||||||
USE_LIBTOOL= yes
|
USE_LIBTOOL= yes
|
||||||
USE_QT_VER= 2
|
USE_QT_VER= 2
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
|
@ -23,7 +24,7 @@ USE_GMAKE= yes
|
||||||
INSTALLS_SHLIB= yes
|
INSTALLS_SHLIB= yes
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${PERL} -pi -e "s,-lqt,-lqt2,g ; \
|
@${REINPLACE_CMD} -e "s,-lqt,-lqt2,g ; \
|
||||||
s,-lqgl,-lqtgl,g ; \
|
s,-lqgl,-lqtgl,g ; \
|
||||||
s,/moc,/moc2,g" ${WRKSRC}/configure
|
s,/moc,/moc2,g" ${WRKSRC}/configure
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,7 @@ LIB_DEPENDS= xforms:${PORTSDIR}/x11-toolkits/xforms \
|
||||||
tiff:${PORTSDIR}/graphics/tiff \
|
tiff:${PORTSDIR}/graphics/tiff \
|
||||||
png:${PORTSDIR}/graphics/png
|
png:${PORTSDIR}/graphics/png
|
||||||
|
|
||||||
|
USE_REINPLACE= yes
|
||||||
USE_MESA= yes
|
USE_MESA= yes
|
||||||
USE_XLIB= yes
|
USE_XLIB= yes
|
||||||
CONFIGURE_WRKSRC= ${WRKSRC}/mixkit/build
|
CONFIGURE_WRKSRC= ${WRKSRC}/mixkit/build
|
||||||
|
@ -30,7 +31,7 @@ USE_GMAKE= yes
|
||||||
ALL_TARGET= # empty
|
ALL_TARGET= # empty
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${PERL} -pi -e "s,\@XFORMS_LIBS\@,${X11BASE}/lib/libforms.a,g" ${CONFIGURE_WRKSRC}/mix-config.in
|
@${REINPLACE_CMD} -e "s,\@XFORMS_LIBS\@,${X11BASE}/lib/libforms.a,g" ${CONFIGURE_WRKSRC}/mix-config.in
|
||||||
|
|
||||||
post-build:
|
post-build:
|
||||||
@(cd ${BUILD_WRKSRC}/../../tools/qslim ; ${GMAKE} all)
|
@(cd ${BUILD_WRKSRC}/../../tools/qslim ; ${GMAKE} all)
|
||||||
|
|
|
@ -18,6 +18,7 @@ MAINTAINER= ports@FreeBSD.org
|
||||||
LIB_DEPENDS= usb-0.1.5:${PORTSDIR}/devel/libusb \
|
LIB_DEPENDS= usb-0.1.5:${PORTSDIR}/devel/libusb \
|
||||||
jpeg.9:${PORTSDIR}/graphics/jpeg
|
jpeg.9:${PORTSDIR}/graphics/jpeg
|
||||||
|
|
||||||
|
USE_REINPLACE= yes
|
||||||
USE_GMAKE= yes
|
USE_GMAKE= yes
|
||||||
USE_LIBTOOL= yes
|
USE_LIBTOOL= yes
|
||||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||||
|
@ -42,7 +43,7 @@ pre-everything::
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${PERL} -pi -e 's| -I/usr/local/include||g ; \
|
@${REINPLACE_CMD} -e 's| -I/usr/local/include||g ; \
|
||||||
s|gphoto2 2.0.1|gphoto2 2.0|g' ${WRKSRC}/configure
|
s|gphoto2 2.0.1|gphoto2 2.0|g' ${WRKSRC}/configure
|
||||||
|
|
||||||
.include "Makefile.man"
|
.include "Makefile.man"
|
||||||
|
|
|
@ -17,6 +17,7 @@ MAINTAINER= ports@FreeBSD.org
|
||||||
|
|
||||||
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/${PACKAGE_DIR}/sax/saxexts.py:${PORTSDIR}/textproc/py-xml
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/${PACKAGE_DIR}/sax/saxexts.py:${PORTSDIR}/textproc/py-xml
|
||||||
|
|
||||||
|
USE_REINPLACE= yes
|
||||||
USE_PYTHON= yes
|
USE_PYTHON= yes
|
||||||
NO_BUILD= yes
|
NO_BUILD= yes
|
||||||
|
|
||||||
|
@ -33,7 +34,7 @@ do-extract:
|
||||||
@${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}
|
@${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${PERL} -pi -e "s,/usr/bin/python,${PYTHON_CMD},g" ${WRKSRC}/svg2swf
|
@${REINPLACE_CMD} -e "s,/usr/bin/python,${PYTHON_CMD},g" ${WRKSRC}/svg2swf
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${INSTALL_SCRIPT} ${WRKSRC}/svg2swf ${PREFIX}/bin
|
${INSTALL_SCRIPT} ${WRKSRC}/svg2swf ${PREFIX}/bin
|
||||||
|
|
|
@ -17,6 +17,7 @@ MAINTAINER= ports@FreeBSD.org
|
||||||
|
|
||||||
LIB_DEPENDS= gtkgl:${PORTSDIR}/x11-toolkits/gtkglarea
|
LIB_DEPENDS= gtkgl:${PORTSDIR}/x11-toolkits/gtkglarea
|
||||||
|
|
||||||
|
USE_REINPLACE= yes
|
||||||
USE_X_PREFIX= yes
|
USE_X_PREFIX= yes
|
||||||
USE_MESA= yes
|
USE_MESA= yes
|
||||||
USE_GNOME= yes
|
USE_GNOME= yes
|
||||||
|
@ -26,13 +27,13 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_FLAGS}" \
|
||||||
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
|
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
|
||||||
|
|
||||||
pre-patch:
|
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
|
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
|
||||||
@find ${WRKSRC} -name "Makefile.in*" | xargs ${PERL} -pi -e \
|
@${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \
|
||||||
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
|
's|\$$(datadir)/gnome/|\$$(datadir)/|g ; \
|
||||||
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
|
s|\$$(datadir)/locale|\$$(prefix)/share/locale|g'
|
||||||
@${PERL} -pi -e "s,Bison ,Bison,g" ${WRKSRC}/configure
|
@${REINPLACE_CMD} -e "s,Bison ,Bison,g" ${WRKSRC}/configure
|
||||||
@${PERL} -pi -e "s,-lgthread,-lgthread12,g ; \
|
@${REINPLACE_CMD} -e "s,-lgthread,-lgthread12,g ; \
|
||||||
s,-lpthread,${PTHREAD_LIBS},g" ${WRKSRC}/src/Makefile.in
|
s,-lpthread,${PTHREAD_LIBS},g" ${WRKSRC}/src/Makefile.in
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -17,6 +17,7 @@ MAINTAINER= ports@FreeBSD.org
|
||||||
LIB_DEPENDS= png:${PORTSDIR}/graphics/png \
|
LIB_DEPENDS= png:${PORTSDIR}/graphics/png \
|
||||||
jpeg:${PORTSDIR}/graphics/jpeg
|
jpeg:${PORTSDIR}/graphics/jpeg
|
||||||
|
|
||||||
|
USE_REINPLACE= yes
|
||||||
USE_BISON= yes
|
USE_BISON= yes
|
||||||
USE_MESA= yes
|
USE_MESA= yes
|
||||||
USE_MOTIF= yes
|
USE_MOTIF= yes
|
||||||
|
@ -27,9 +28,9 @@ MAN1= dune.1
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${GREP} -lR "malloc.h" ${WRKSRC} | ${XARGS} \
|
@${GREP} -lR "malloc.h" ${WRKSRC} | ${XARGS} \
|
||||||
${PERL} -pi -e "s/malloc\.h/stdlib.h/g"
|
${REINPLACE_CMD} -e "s/malloc\.h/stdlib.h/g"
|
||||||
@${PERL} -pi -e "s/values\.h/limits.h/g" ${WRKSRC}/stdafx.h
|
@${REINPLACE_CMD} -e "s/values\.h/limits.h/g" ${WRKSRC}/stdafx.h
|
||||||
@${PERL} -pi -e "s/alloca\.h/stdlib.h/g" ${WRKSRC}/NodeNurbsSurface.cpp
|
@${REINPLACE_CMD} -e "s/alloca\.h/stdlib.h/g" ${WRKSRC}/NodeNurbsSurface.cpp
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${INSTALL_PROGRAM} ${WRKSRC}/dune ${PREFIX}/bin
|
${INSTALL_PROGRAM} ${WRKSRC}/dune ${PREFIX}/bin
|
||||||
|
|
|
@ -22,6 +22,7 @@ RUN_DEPENDS= fig2dev:${PORTSDIR}/print/transfig
|
||||||
|
|
||||||
WRKSRC= ${WRKDIR}/${PORTNAME}.${PORTVERSION}
|
WRKSRC= ${WRKDIR}/${PORTNAME}.${PORTVERSION}
|
||||||
|
|
||||||
|
USE_REINPLACE= yes
|
||||||
USE_IMAKE= yes
|
USE_IMAKE= yes
|
||||||
USE_XPM= yes
|
USE_XPM= yes
|
||||||
MAN1= xfig.1
|
MAN1= xfig.1
|
||||||
|
@ -41,7 +42,7 @@ post-extract:
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
.if defined(WITHOUT_GHOSTSCRIPT)
|
.if defined(WITHOUT_GHOSTSCRIPT)
|
||||||
@${PERL} -pi -e 's|-DGSBIT ||g' ${WRKSRC}/Imakefile
|
@${REINPLACE_CMD} -e 's|-DGSBIT ||g' ${WRKSRC}/Imakefile
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -22,6 +22,7 @@ RUN_DEPENDS= fig2dev:${PORTSDIR}/print/transfig
|
||||||
|
|
||||||
WRKSRC= ${WRKDIR}/${PORTNAME}.${PORTVERSION}
|
WRKSRC= ${WRKDIR}/${PORTNAME}.${PORTVERSION}
|
||||||
|
|
||||||
|
USE_REINPLACE= yes
|
||||||
USE_IMAKE= yes
|
USE_IMAKE= yes
|
||||||
USE_XPM= yes
|
USE_XPM= yes
|
||||||
MAN1= xfig.1
|
MAN1= xfig.1
|
||||||
|
@ -41,7 +42,7 @@ post-extract:
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
.if defined(WITHOUT_GHOSTSCRIPT)
|
.if defined(WITHOUT_GHOSTSCRIPT)
|
||||||
@${PERL} -pi -e 's|-DGSBIT ||g' ${WRKSRC}/Imakefile
|
@${REINPLACE_CMD} -e 's|-DGSBIT ||g' ${WRKSRC}/Imakefile
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -18,10 +18,11 @@ MAINTAINER= ports@FreeBSD.org
|
||||||
LIB_DEPENDS= forms.1:${PORTSDIR}/x11-toolkits/xforms
|
LIB_DEPENDS= forms.1:${PORTSDIR}/x11-toolkits/xforms
|
||||||
RUN_DEPENDS= povray:${PORTSDIR}/graphics/povray
|
RUN_DEPENDS= povray:${PORTSDIR}/graphics/povray
|
||||||
|
|
||||||
|
USE_REINPLACE= yes
|
||||||
USE_IMAKE= yes
|
USE_IMAKE= yes
|
||||||
USE_GMAKE= yes
|
USE_GMAKE= yes
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g;" ${WRKSRC}/src/xfpovray.h
|
@${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g;" ${WRKSRC}/src/xfpovray.h
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -14,13 +14,14 @@ DISTNAME= xfrac310
|
||||||
|
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
|
|
||||||
|
USE_REINPLACE= yes
|
||||||
USE_ZIP= yes
|
USE_ZIP= yes
|
||||||
USE_XLIB= yes
|
USE_XLIB= yes
|
||||||
NO_WRKSUBDIR= yes
|
NO_WRKSUBDIR= yes
|
||||||
MAN1= xfractint.1
|
MAN1= xfractint.1
|
||||||
|
|
||||||
pre-patch:
|
pre-patch:
|
||||||
@${FIND} ${WRKSRC} -name "*.c" | ${XARGS} ${PERL} -pi -e \
|
@${FIND} ${WRKSRC} -name "*.c" | ${XARGS} ${REINPLACE_CMD} -e \
|
||||||
's|malloc\.h|stdlib.h|'
|
's|malloc\.h|stdlib.h|'
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -15,6 +15,7 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||||
|
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
|
|
||||||
|
USE_REINPLACE= yes
|
||||||
USE_X_PREFIX= yes
|
USE_X_PREFIX= yes
|
||||||
USE_GMAKE= yes
|
USE_GMAKE= yes
|
||||||
USE_GNOME= yes
|
USE_GNOME= yes
|
||||||
|
@ -23,14 +24,14 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||||
LDFLAGS="-L${LOCALBASE}/lib"
|
LDFLAGS="-L${LOCALBASE}/lib"
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${PERL} -pi -e 's|Bison |Bison|g ; \
|
@${REINPLACE_CMD} -e 's|Bison |Bison|g ; \
|
||||||
s|-lpthread|${PTHREAD_LIBS}|g ; \
|
s|-lpthread|${PTHREAD_LIBS}|g ; \
|
||||||
s|DATADIRNAME=lib|DATADIRNAME=share|g ; \
|
s|DATADIRNAME=lib|DATADIRNAME=share|g ; \
|
||||||
s|share/pixmaps|share/gnome/pixmaps|g' ${WRKSRC}/configure
|
s|share/pixmaps|share/gnome/pixmaps|g' ${WRKSRC}/configure
|
||||||
@${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${PERL} -pi -e \
|
@${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \
|
||||||
's|^gsubeditdoc|#gsubeditdoc|g ; \
|
's|^gsubeditdoc|#gsubeditdoc|g ; \
|
||||||
s|-g -O2|| ; \
|
s|-g -O2|| ; \
|
||||||
s|\$$\(datadir\)/locale|\$$\(prefix\)/share/locale|'
|
s|\$$(datadir)/locale|\$$(prefix)/share/locale|'
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
.if !defined(NOPORTDOCS)
|
.if !defined(NOPORTDOCS)
|
||||||
|
|
|
@ -12,10 +12,12 @@ MASTER_SITES= http://vento.pi.tu-berlin.de/ppm2fli/
|
||||||
|
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
|
|
||||||
|
USE_REINPLACE= yes
|
||||||
|
|
||||||
MAN1= ppm2fli.1 unflick.1
|
MAN1= ppm2fli.1 unflick.1
|
||||||
|
|
||||||
pre-patch:
|
pre-patch:
|
||||||
@${PERL} -pi -e 's|^C|#C|g ; \
|
@${REINPLACE_CMD} -e 's|^C|#C|g ; \
|
||||||
s|gcc |\$${CC} |g' ${WRKSRC}/Makefile
|
s|gcc |\$${CC} |g' ${WRKSRC}/Makefile
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
|
|
Loading…
Reference in a new issue