2000-06-09 17:28:13 -04:00
|
|
|
# New ports collection makefile for: ghex
|
|
|
|
# Date created: 9th June 2000
|
|
|
|
# Whom: Ade Lovett <ade@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= ghex
|
2001-06-19 07:33:21 -04:00
|
|
|
PORTVERSION= 1.2.1
|
2000-06-09 17:28:13 -04:00
|
|
|
CATEGORIES= editors gnome
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
|
|
|
MASTER_SITE_SUBDIR= stable/sources/ghex
|
|
|
|
|
2001-05-11 12:36:50 -04:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
2000-06-09 17:28:13 -04:00
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_GMAKE= yes
|
2000-10-05 03:10:50 -04:00
|
|
|
USE_GNOME= yes
|
2000-06-09 17:28:13 -04:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
|
|
|
|
2000-08-04 12:11:37 -04:00
|
|
|
pre-patch:
|
2001-03-29 11:35:19 -05:00
|
|
|
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
2000-08-03 21:34:38 -04:00
|
|
|
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 17:28:13 -04:00
|
|
|
.include <bsd.port.mk>
|