1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-08 23:06:56 +00:00
freebsd-ports/www/screem/Makefile
Ade Lovett 972ca4afab Re-sobomize to use pre-patch instead of post-extract
Wrists slapped by:	knu, sheldon
2000-08-04 16:11:37 +00:00

50 lines
1.4 KiB
Makefile

# New ports collection makefile for: SCREEM
# Date created: 05 Nov 1999
# Whom: Will Andrews <andrews@technologist.com>
#
# $FreeBSD$
#
PORTNAME= screem
PORTVERSION= 0.2.10
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://www.screem.org/src/
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs \
gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf \
xml.5:${PORTSDIR}/textproc/libxml \
glade.4:${PORTSDIR}/devel/libglade \
guile.9:${PORTSDIR}/lang/guile \
wwwcore.1:${PORTSDIR}/www/libwww
RUN_DEPENDS= gnomecc:${PORTSDIR}/sysutils/gnomecontrolcenter
USE_GMAKE= yes
USE_LIBTOOL= yes
USE_X_PREFIX= yes
USE_XPM= yes
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}" \
GLIB_CONFIG="${GLIB_CONFIG}" \
CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
--datadir=${PREFIX}/share/gnome \
--libdir=${PREFIX}/share/gnome
pre-patch:
@${PERL} -pi -e 's|-lpthread|-pthread|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
's|\@GNOME_DATA_PREFIX\@/gnome|\@GNOME_DATA_PREFIX\@|g ; \
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
.include <bsd.port.mk>