1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/print/gfontview/Makefile
Ying-Chieh Liao 12a5805c9c unbreak
PR:		36295
Submitted by:	Ports Fury
2002-03-25 12:28:39 +00:00

43 lines
1.1 KiB
Makefile

# ex:ts=8
# New ports collection makefile for: gfontview
# Date created: Jul 9, 2001
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= gfontview
PORTVERSION= 0.5.0
PORTREVISION= 1
CATEGORIES= print gnome
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= t1.4:${PORTSDIR}/devel/t1lib
USE_X_PREFIX= yes
USE_GNOME= yes
USE_FREETYPE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/freetype1/freetype \
-I${LOCALBASE}/include" \
SPOOLER="/usr/bin/lpr" \
LIBS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --with-fontdir="${LOCALBASE}/share/ghostscript/fonts" \
--with-libungif
post-patch:
@${PERL} -pi -e 's|CXXFLAGS="-O2"|CXXFLAGS="\$$CXXFLAGS"|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g ; \
s|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \
s|\$$\(top_builddir\)/intl/libintl.a|-lintl|g' \
${WRKSRC}/configure
@${PERL} -pi -e 's|\$$\(datadir\)/gnome/|\$$\(datadir\)/|g ; \
s|\$$\(datadir\)/locale|\$$\(prefix\)/share/locale|g ; \
s|-I/usr/include/freetype||g' \
${WRKSRC}/Makefile.in
.include <bsd.port.mk>