freebsd-ports/net/giftui/Makefile

47 lines
993 B
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= 4
CATEGORIES= net
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/gift
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GNOME= gconf2 gtk20
USE_GMAKE= yes
USE_REINPLACE= 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}|g' \
${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|^giftuidocdir =.*|giftuidocdir =${DOCSDIR}|g' \
${WRKSRC}/Makefile.in
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>