1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/comms/ghfaxviewer/Makefile
Maxim Sobolev 187ecafe15 GNOME policy:
- Fix libintl detection;
- properly use ${PREFIX}/share/gnome.
2002-05-13 12:06:47 +00:00

38 lines
962 B
Makefile

# New ports collection makefile for: ghfaxviewer
# Date created: Fri Apr 20 13:08:00 MET DST 2001
# Whom: Dominik Brettnacher <domi@saargate.de>
#
# $FreeBSD$
#
PORTNAME= ghfaxviewer
PORTVERSION= 0.22.0
PORTREVISION= 2
CATEGORIES= comms
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= halifax
MAINTAINER= domi@saargate.de
LIB_DEPENDS= gnomeprint.16:${PORTSDIR}/print/gnomeprint \
gconf-1.1:${PORTSDIR}/devel/gconf \
tiff.4:${PORTSDIR}/graphics/tiff
USE_GMAKE= yes
USE_X_PREFIX= yes
USE_GNOME= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
MAN1= halifax.1 ghfaxviewer.1
pre-patch:
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
@find ${WRKSRC} -name "Makefile.in*" | xargs ${PERL} -pi -e \
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
.include <bsd.port.mk>