freebsd-ports/net-p2p/giftui/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

49 lines
1.1 KiB
Makefile

# New ports collection makefile for: giFTui
# Date Created: 23 May 2004
# Whom: Joel Diaz <joeldiaz@bellsouth.net>
#
# $FreeBSD$
#
PORTNAME= giFTui
PORTVERSION= 0.4.1
PORTREVISION= 5
CATEGORIES= net-p2p
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= giftui
DISTNAME= giftui-0.4.1
MAINTAINER= joeldiaz@bellsouth.net
COMMENT= GTK2 client for giFT daemon
LIB_DEPENDS= gift.0:${PORTSDIR}/net-p2p/gift
USE_BZIP2= yes
USE_XLIB= yes
USE_GNOME= gnomehack gnomeprefix gconf2 gtk20
USE_GMAKE= yes
GNU_CONFIGURE= yes
GCONF_SCHEMAS= giftui.schemas
.if !defined(NOPORTDOCS)
PORTDOCS= AUTHORS COPYING ChangeLog NEWS README TODO
.endif
post-patch:
@${REINPLACE_CMD} -e 's|^giftuidatadir=.*|giftuidatadir=$${datadir}/giftui|g ; \
s|^giftuiicondir=.*|giftuiicondir=$${datadir}/pixmaps|g' \
${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|^giftuidocdir =.*|giftuidocdir =${DOCSDIR}|g' \
${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's|/usr/share/pixmaps/||g' \
${WRKSRC}/data/giftui.desktop
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>