2001-03-07 06:00:31 -05:00
|
|
|
# New ports collection makefile for: oregano
|
|
|
|
# Date created: 19 Feb 2001
|
2001-11-29 12:48:01 -05:00
|
|
|
# Whom: Anders Andersson <anders@hack.org>
|
2001-03-07 06:00:31 -05:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= oregano
|
2002-01-22 11:31:58 -05:00
|
|
|
PORTVERSION= 0.23
|
2001-03-07 06:00:31 -05:00
|
|
|
CATEGORIES= cad
|
|
|
|
MASTER_SITES= ftp://ftp.codefactory.se/pub/CodeFactory/software/oregano/
|
|
|
|
|
2001-11-29 12:48:01 -05:00
|
|
|
MAINTAINER= anders@hack.org
|
2001-03-07 06:00:31 -05:00
|
|
|
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_GNOME= yes
|
2002-01-22 11:31:58 -05:00
|
|
|
GNU_CONFIGURE= yes
|
2001-03-07 06:00:31 -05:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
pre-patch:
|
2001-03-29 11:35:19 -05:00
|
|
|
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
2001-03-07 06:00:31 -05:00
|
|
|
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
|
2002-01-22 11:31:58 -05:00
|
|
|
@find ${WRKSRC} -name "Makefile.in*" | xargs ${PERL} -pi -e \
|
2001-03-07 06:00:31 -05:00
|
|
|
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
|
|
|
|
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|