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
|
2000-10-22 15:52:39 -04:00
|
|
|
PORTVERSION= 1.1.4
|
2000-06-09 17:28:13 -04:00
|
|
|
CATEGORIES= editors gnome
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
|
|
|
MASTER_SITE_SUBDIR= stable/sources/ghex
|
|
|
|
|
|
|
|
MAINTAINER= ade@FreeBSD.org
|
|
|
|
|
2000-10-05 03:10:50 -04:00
|
|
|
LIB_DEPENDS= gnomeprint.12:${PORTSDIR}/print/gnomeprint
|
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:
|
2000-08-03 21:34:38 -04: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 17:28:13 -04:00
|
|
|
.include <bsd.port.mk>
|