diff options
author | demon <demon@FreeBSD.org> | 2001-03-13 15:08:45 +0000 |
---|---|---|
committer | demon <demon@FreeBSD.org> | 2001-03-13 15:08:45 +0000 |
commit | 7e6af1d393797bbdbdc32459376408a2d4c18024 (patch) | |
tree | 4d0a37a76b770675da4175009d0fada9604e4a74 /sysutils/gupsc/Makefile | |
parent | b95ddcc46d9bfcb71b48590d55b85699db5211e1 (diff) | |
download | FreeBSD-ports-7e6af1d393797bbdbdc32459376408a2d4c18024.zip FreeBSD-ports-7e6af1d393797bbdbdc32459376408a2d4c18024.tar.gz |
New port: gupsc.
A free Gnome client for the Network UPS Tools
Diffstat (limited to 'sysutils/gupsc/Makefile')
-rw-r--r-- | sysutils/gupsc/Makefile | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/sysutils/gupsc/Makefile b/sysutils/gupsc/Makefile new file mode 100644 index 0000000..f40f382 --- /dev/null +++ b/sysutils/gupsc/Makefile @@ -0,0 +1,31 @@ +# New ports collection makefile for: gupsc +# Date created: 13 March 2001 +# Whom: Dmitry Sivachenko <demon@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= gupsc +PORTVERSION= 0.3.1 +CATEGORIES= sysutils gnome +MASTER_SITES= http://www.stud.ifi.uio.no/~hennikul/gupsc/download/ + +MAINTAINER= demon@FreeBSD.org + +USE_X_PREFIX= yes +USE_BZIP2= yes +USE_GMAKE= yes +USE_GNOMELIBS= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LIBS="-L${LOCALBASE}/lib" + +pre-patch: + @${PERL} -pi -e 's|-lpthread|-pthread|g ; \ + s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure \ + ${WRKSRC}/src/Makefile.in + @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \ + 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \ + s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g' + +.include <bsd.port.mk> |