aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/meld/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/meld/Makefile')
-rw-r--r--textproc/meld/Makefile42
1 files changed, 17 insertions, 25 deletions
diff --git a/textproc/meld/Makefile b/textproc/meld/Makefile
index 426a6572033b..96da82f7c764 100644
--- a/textproc/meld/Makefile
+++ b/textproc/meld/Makefile
@@ -6,46 +6,38 @@
#
PORTNAME= meld
-PORTVERSION= 1.1.4
-PORTREVISION= 2
+PORTVERSION= 1.1.5.1
CATEGORIES= textproc devel python
MASTER_SITES= ${MASTER_SITE_GNOME}
-MASTER_SITE_SUBDIR= sources/${PORTNAME}/1.1
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:R:R}
MAINTAINER= ports@FreeBSD.org
COMMENT= GNOME 2 visual diff and merge tool
+OPTIONS= PYGNOMEDESKTOP "Code syntax hilighting (many dependencies)" off
+
USE_BZIP2= yes
USE_GNOME= pygnome2
-INSTALLS_OMF= yes
USE_PYTHON= yes
-NO_BUILD= yes
-USE_GMAKE= yes
USE_GETTEXT= yes
-INSTALLS_ICONS= yes
-
+USE_GMAKE= yes
MAKEFILE= GNUmakefile
-
-OPTIONS= PYGNOMEDESKTOP "Code syntax hilighting (many dependencies)" off
+MAKE_ARGS= prefix=${PREFIX}
+INSTALLS_ICONS= yes
+INSTALLS_OMF= yes
post-patch:
- @${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|g' \
- ${WRKSRC}/INSTALL
-
- @${REINPLACE_CMD} \
- 's|$$(sharedir)/applications|$$(sharedir)/gnome/applications|g ;\
- s|$$(sharedir)/application-registry|$$(sharedir)/gnome/application-registry|g ;\
- s|$$(sharedir)/pixmaps|$$(sharedir)/gnome/pixmaps|g' \
- ${WRKSRC}/${MAKEFILE}
-
- @${FIND} ${WRKSRC}/help -type f -name ${MAKEFILE} -exec \
- ${REINPLACE_CMD} \
- 's|$$(prefix)/var/lib/scrollkeeper|/var/db/scrollkeeper|g ; \
- s|$$(sharedir)/omf/meld|$$(sharedir)/gnome/omf/meld|g' \
- "{}" \;
+ @${FIND} ${WRKSRC} -name "${MAKEFILE}" | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|$$(sharedir)/applications|$$(sharedir)/gnome/applications|g ; \
+ s|$$(sharedir)/application-registry|$$(sharedir)/gnome/application-registry|g ; \
+ s|$$(sharedir)/pixmaps|$$(sharedir)/gnome/pixmaps|g ; \
+ s|$$(localstatedir)/lib/scrollkeeper|/var/db/scrollkeeper|g ; \
+ s|$$(sharedir)/omf/meld|$$(sharedir)/gnome/omf/meld|g'
.include <bsd.port.pre.mk>
-.if defined (WITH_PYGNOMEDESKTOP)
+
+.if defined(WITH_PYGNOMEDESKTOP)
USE_GNOME+= pygnomedesktop
.endif
+
.include <bsd.port.post.mk>