2001-03-13 15:08:45 +00:00
|
|
|
# New ports collection makefile for: gupsc
|
|
|
|
# Date created: 13 March 2001
|
|
|
|
# Whom: Dmitry Sivachenko <demon@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gupsc
|
|
|
|
PORTVERSION= 0.3.1
|
2012-06-01 05:26:28 +00:00
|
|
|
PORTREVISION= 11
|
2001-03-13 15:08:45 +00:00
|
|
|
CATEGORIES= sysutils gnome
|
2005-02-21 09:21:36 +00:00
|
|
|
MASTER_SITES= http://heim.ifi.uio.no/~hennikul/gupsc/download/
|
2001-03-13 15:08:45 +00:00
|
|
|
|
|
|
|
MAINTAINER= demon@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= A free Gnome client for the Network UPS Tools
|
2001-03-13 15:08:45 +00:00
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_GMAKE= yes
|
2006-10-14 08:54:54 +00:00
|
|
|
USE_GNOME= gnomelibs gnomehier
|
2003-11-20 15:06:14 +00:00
|
|
|
USE_PERL5_BUILD=yes
|
2001-03-13 15:08:45 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2011-09-23 22:26:39 +00:00
|
|
|
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib"
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2001-03-13 15:08:45 +00:00
|
|
|
|
|
|
|
pre-patch:
|
2001-03-29 16:35:19 +00:00
|
|
|
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
2006-10-14 08:54:54 +00:00
|
|
|
s|/usr/local|${PREFIX}|; \
|
2001-03-13 15:08:45 +00:00
|
|
|
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure \
|
|
|
|
${WRKSRC}/src/Makefile.in
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|