1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/textproc/meld/Makefile
Joe Marcus Clarke 29747f458a Chase the GNOME X11BASE to LOCALBASE move, and fix the build with the
new freetype2 where needed.

Submitted by:	mezz, ahze, pav, and many others
Approved by:	portmgr (implicit, kris)
2006-10-14 08:54:54 +00:00

39 lines
1.1 KiB
Makefile

# New ports collection makefile for: meld
# Date created: 2003-04-13
# Whom: Pav Lucistnik <pav@oook.cz>
#
# $FreeBSD$
#
PORTNAME= meld
PORTVERSION= 0.9.4.1
PORTREVISION= 4
CATEGORIES= textproc devel python
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.9
MAINTAINER= rui@ruilopes.com
COMMENT= GNOME 2 visual diff and merge tool
USE_BZIP2= yes
USE_GNOME= pygnome2
USE_PYTHON= yes
NO_BUILD= yes
USE_GMAKE= yes
MAKEFILE= GNUmakefile
post-patch:
@${REINPLACE_CMD} -E 's,(prefix := )(.*),\1${PREFIX},; \
s,(libdir := )(.*),\1${PREFIX}/share,' ${WRKSRC}/GNUmakefile
post-install:
${INSTALL_DATA} ${WRKSRC}/meld.desktop ${PREFIX}/share/gnome/applications
${INSTALL_DATA} ${WRKSRC}/manual/stylesheet.css ${DOCSDIR}
# This target is only meant to be used by the port maintainer.
x-generate-plist:
(${PORTSDIR}/Tools/scripts/plist -d -m ${MTREE_FILE} ${PREFIX}|${SED} -E 's,.*share/nls/.+$$,,g;s,share/doc/meld,%%DOCSDIR%%,;s,^@dirrm share/(gnome|pixmaps|application|locale).*,,'|${TR} -s '\n') > temp-pkg-plist
.include <bsd.port.mk>