2001-07-26 20:57:57 +02:00
|
|
|
# ex:ts=8
|
|
|
|
# New ports collection makefile for: gfontview
|
|
|
|
# Date created: Jul 9, 2001
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gfontview
|
|
|
|
PORTVERSION= 0.5.0
|
2001-09-17 08:26:19 +02:00
|
|
|
PORTREVISION= 1
|
|
|
|
CATEGORIES= print gnome
|
2001-07-26 20:57:57 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= An outline font viewer
|
2001-07-26 20:57:57 +02:00
|
|
|
|
2001-11-23 18:25:26 +01:00
|
|
|
LIB_DEPENDS= t1.4:${PORTSDIR}/devel/t1lib
|
2001-07-26 20:57:57 +02:00
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
2002-09-01 18:07:59 +02:00
|
|
|
USE_REINPLACE= yes
|
2001-07-26 20:57:57 +02:00
|
|
|
USE_GNOME= yes
|
2001-09-17 08:26:19 +02:00
|
|
|
USE_FREETYPE= yes
|
2001-07-26 20:57:57 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2002-03-25 13:28:39 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/freetype1/freetype \
|
2002-03-14 12:16:45 +01:00
|
|
|
-I${LOCALBASE}/include" \
|
2001-09-17 08:26:19 +02:00
|
|
|
SPOOLER="/usr/bin/lpr" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
|
|
|
CONFIGURE_ARGS= --with-fontdir="${LOCALBASE}/share/ghostscript/fonts" \
|
|
|
|
--with-libungif
|
2001-07-26 20:57:57 +02:00
|
|
|
|
|
|
|
post-patch:
|
2002-09-01 18:07:59 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|CXXFLAGS="-O2"|CXXFLAGS="$$CXXFLAGS"|g ; \
|
2001-09-17 08:26:19 +02:00
|
|
|
s|DATADIRNAME=lib|DATADIRNAME=share|g ; \
|
|
|
|
s|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \
|
2002-09-01 18:07:59 +02:00
|
|
|
s|\$$(top_builddir)/intl/libintl.a|-lintl|g' \
|
2001-09-17 08:26:19 +02:00
|
|
|
${WRKSRC}/configure
|
2002-09-01 18:07:59 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|\$$(datadir)/gnome/|$$(datadir)/|g ; \
|
|
|
|
s|\$$(datadir)/locale|$$(prefix)/share/locale|g ; \
|
2002-03-25 13:28:39 +01:00
|
|
|
s|-I/usr/include/freetype||g' \
|
2001-09-17 08:26:19 +02:00
|
|
|
${WRKSRC}/Makefile.in
|
2001-07-26 20:57:57 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|