2000-06-09 21:28:13 +00:00
|
|
|
# New ports collection makefile for: ghex
|
|
|
|
# Date created: 9th June 2000
|
|
|
|
# Whom: Ade Lovett <ade@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= ghex
|
|
|
|
PORTVERSION= 1.1.3
|
|
|
|
CATEGORIES= editors gnome
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
|
|
|
MASTER_SITE_SUBDIR= stable/sources/ghex
|
|
|
|
|
|
|
|
MAINTAINER= ade@FreeBSD.org
|
|
|
|
|
2000-10-05 07:10:50 +00:00
|
|
|
LIB_DEPENDS= gnomeprint.12:${PORTSDIR}/print/gnomeprint
|
2000-06-09 21:28:13 +00:00
|
|
|
|
2000-09-28 18:02:30 +00:00
|
|
|
BROKEN= "Uses internals from gnomeprint that are no longer present"
|
|
|
|
|
2000-06-09 21:28:13 +00:00
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_GMAKE= yes
|
2000-10-05 07:10:50 +00:00
|
|
|
USE_GNOME= yes
|
2000-06-09 21:28:13 +00:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
|
|
|
|
2000-08-04 16:11:37 +00:00
|
|
|
pre-patch:
|
2000-08-04 01:34:38 +00:00
|
|
|
@${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|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
|
|
|
|
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
|
|
|
|
|
2000-06-09 21:28:13 +00:00
|
|
|
.include <bsd.port.mk>
|