aboutsummaryrefslogtreecommitdiff
path: root/x11-clocks
diff options
context:
space:
mode:
authorSylvio Cesar Teixeira <sylvio@FreeBSD.org>2012-06-05 21:01:51 +0000
committerSylvio Cesar Teixeira <sylvio@FreeBSD.org>2012-06-05 21:01:51 +0000
commitda244d49bf5bfa2986208c27aa1ad0116c4ae0c4 (patch)
tree7e1746f9234c24e0f75817111d5b1cdda2dc0eb3 /x11-clocks
parent7da9a4be40794902a0321b64a7501352a573b7b4 (diff)
downloadports-da244d49bf5bfa2986208c27aa1ad0116c4ae0c4.tar.gz
ports-da244d49bf5bfa2986208c27aa1ad0116c4ae0c4.zip
Notes
Diffstat (limited to 'x11-clocks')
-rw-r--r--x11-clocks/buici-clock/Makefile30
-rw-r--r--x11-clocks/buici-clock/distinfo4
-rw-r--r--x11-clocks/buici-clock/files/patch-Makefile.in20
-rw-r--r--x11-clocks/buici-clock/pkg-descr2
4 files changed, 24 insertions, 32 deletions
diff --git a/x11-clocks/buici-clock/Makefile b/x11-clocks/buici-clock/Makefile
index a537d45e88b8..474b0dbe732c 100644
--- a/x11-clocks/buici-clock/Makefile
+++ b/x11-clocks/buici-clock/Makefile
@@ -6,28 +6,40 @@
#
PORTNAME= buici-clock
-PORTVERSION= 0.4.5
-PORTREVISION= 3
+PORTVERSION= 0.4.9.2
CATEGORIES= x11-clocks
-MASTER_SITES= ftp://ftp.buici.com/pub/buici-clock/
+MASTER_SITES= DEBIAN
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Xlib implementation of an attractive, configurable clock
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+LICENSE= GPLv2 # (or later)
+LIB_DEPENDS= cairo.2:${PORTSDIR}/graphics/cairo
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
+USE_XORG= x11 xext
+USE_GNOME= pkgconfig
USE_BISON= build
USE_GMAKE= yes
GNU_CONFIGURE= yes
-USE_XORG= x11 xau xdmcp xext ice sm
+MAKE_JOBS_UNSAFE=yes
-MAN1= buici-clock.1
+MAN1= buici-clock.1
PLIST_FILES= bin/buici-clock
post-patch:
- @${REINPLACE_CMD} -e 's,_=,+=,' ${WRKSRC}/xo/Makefile.in
- @${REINPLACE_CMD} -e 's|\./configure|./configure ${CONFIGURE_ARGS}|' ${WRKSRC}/configure
- @${REINPLACE_CMD} -e 's|\./configure|./configure ${CONFIGURE_ARGS}|' ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e \
+ 's|echo -e|echo| ; \
+ s|-g | |' ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e \
+ 's|_=|+=| ; \
+ s|-g | |' ${WRKSRC}/xo/Makefile.in
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/buici-clock ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/buici-clock.1 ${MANPREFIX}/man/man1
.include <bsd.port.mk>
diff --git a/x11-clocks/buici-clock/distinfo b/x11-clocks/buici-clock/distinfo
index e742885f924c..22d24ff05f0e 100644
--- a/x11-clocks/buici-clock/distinfo
+++ b/x11-clocks/buici-clock/distinfo
@@ -1,2 +1,2 @@
-SHA256 (buici-clock_0.4.5.tar.gz) = eb19c3f5c253bcc68dc03021aa8e871362d10b8946fd9cf67e125cfc42f982f9
-SIZE (buici-clock_0.4.5.tar.gz) = 154495
+SHA256 (buici-clock_0.4.9.2.tar.gz) = 06b33420128b5ebfa4063dae0a998527c24a912aefdd69f3e9f8442b7d3a751d
+SIZE (buici-clock_0.4.9.2.tar.gz) = 167987
diff --git a/x11-clocks/buici-clock/files/patch-Makefile.in b/x11-clocks/buici-clock/files/patch-Makefile.in
deleted file mode 100644
index 687ea8e0870d..000000000000
--- a/x11-clocks/buici-clock/files/patch-Makefile.in
+++ /dev/null
@@ -1,20 +0,0 @@
---- Makefile.in.orig Wed Feb 12 19:05:59 2003
-+++ Makefile.in Mon Nov 22 11:42:51 2004
-@@ -138,7 +138,7 @@
-
- xolib:
- @if test ! "${XO_PATH}" = "../xo" ; \
-- then (cd ${XO_PATH} ; ./configure ; make all) ; fi
-+ then (cd ${XO_PATH} ; ./configure ; gmake all) ; fi
-
- $(O_D)$(TARGET): $(OBJ) $(XO_PATH)/libxo.a
- $(CC) -o $@ $(addprefix $(O_D),$(OBJ)) $(LFLAGS)
-@@ -178,7 +178,7 @@
- .version_patch` > .version
-
- _version.h: .version
-- @/bin/echo -e \#define SZ_VERSION \"`cat .version`\" > _version.h
-+ @/bin/echo \#define SZ_VERSION \"`cat .version`\" > _version.h
-
- .PHONY: transmit
- transmit: # distribution-archive
diff --git a/x11-clocks/buici-clock/pkg-descr b/x11-clocks/buici-clock/pkg-descr
index b85082455d97..6169bf37623b 100644
--- a/x11-clocks/buici-clock/pkg-descr
+++ b/x11-clocks/buici-clock/pkg-descr
@@ -2,4 +2,4 @@ Buici Clock is an attractive X-Window System clock.
As clocks go, Buici satisfies the basic need of representing
the time accuratel and attractively.
-WWW: ftp://ftp.buici.com/pub/buici-clock/
+WWW: http://packages.qa.debian.org/b/buici-clock.html