diff options
author | krion <krion@FreeBSD.org> | 2003-08-18 09:02:49 +0000 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2003-08-18 09:02:49 +0000 |
commit | ca20a576e8987f6f1d6b523d9233b57dc47c5a51 (patch) | |
tree | 62b690cc7a1848a776ec71a927663171a202572d /x11-clocks | |
parent | f3f7556f2843be191478f2fc7e7cd1db1d216475 (diff) | |
download | FreeBSD-ports-ca20a576e8987f6f1d6b523d9233b57dc47c5a51.zip FreeBSD-ports-ca20a576e8987f6f1d6b523d9233b57dc47c5a51.tar.gz |
- Update to version 1.2
PR: 55688
Submitted by: Ports Fury
Diffstat (limited to 'x11-clocks')
-rw-r--r-- | x11-clocks/xtu/Makefile | 22 | ||||
-rw-r--r-- | x11-clocks/xtu/distinfo | 2 | ||||
-rw-r--r-- | x11-clocks/xtu/files/patch-Imakefile | 21 |
3 files changed, 39 insertions, 6 deletions
diff --git a/x11-clocks/xtu/Makefile b/x11-clocks/xtu/Makefile index 350e1b0..2ea98a3 100644 --- a/x11-clocks/xtu/Makefile +++ b/x11-clocks/xtu/Makefile @@ -6,7 +6,7 @@ # PORTNAME= xtu -PORTVERSION= 1.1 +PORTVERSION= 1.2 CATEGORIES= x11-clocks MASTER_SITES= http://core.de/~coto/projects/xtu/ @@ -14,9 +14,21 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Transparent analog clock for X11 USE_IMAKE= yes -USE_XPM= yes +WANT_GNOME= yes +USE_REINPLACE= yes +MAKE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" +NO_INSTALL_MANPAGES= yes + +.include <bsd.port.pre.mk> -#post-install: -# strip ${PREFIX}/bin/xtu +.if ${HAVE_GNOME:Mimlib}!="" +USE_GNOME= imlib +CPPFLAGS= -DUSE_IMLIB `${IMLIB_CONFIG} --cflags` +LDFLAGS= `${IMLIB_CONFIG} --libs` +.else +USE_XPM= yes +CPPFLAGS= -DUSE_XPM +LDFLAGS= -lXpm -lX11 -lXext +.endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/x11-clocks/xtu/distinfo b/x11-clocks/xtu/distinfo index e309a2fd..e4dd76f 100644 --- a/x11-clocks/xtu/distinfo +++ b/x11-clocks/xtu/distinfo @@ -1 +1 @@ -MD5 (xtu-1.1.tar.gz) = 3b1ee9eefa18991d9fcffab1c1521d4a +MD5 (xtu-1.2.tar.gz) = 20da1edc11f1b05d72cf9e22c7925cab diff --git a/x11-clocks/xtu/files/patch-Imakefile b/x11-clocks/xtu/files/patch-Imakefile new file mode 100644 index 0000000..c962b12 --- /dev/null +++ b/x11-clocks/xtu/files/patch-Imakefile @@ -0,0 +1,21 @@ +--- Imakefile.orig Fri Oct 20 21:12:09 2000 ++++ Imakefile Sun Aug 17 23:39:01 2003 +@@ -1,13 +1,15 @@ + XCOMM LOCAL_LIBRARIES = -lImlib -lX11 -lXext +-LOCAL_LIBRARIES = -lXpm -lX11 -lXext ++XCOMM LOCAL_LIBRARIES = -lXpm -lX11 -lXext ++LOCAL_LIBRARIES = ${LDFLAGS} + + SRCS = TolleUhr.c XCC.c + OBJS = TolleUhr.o XCC.o + +-CDEBUGFLAGS = -O2 -g -Wall ++XCOMM CDEBUGFLAGS = -O2 -g -Wall + + XCOMM CCOPTIONS= -DUSE_IMLIB +-CCOPTIONS= -DUSE_XPM ++XCOMM CCOPTIONS= -DUSE_XPM ++CCOPTIONS = ${CPPFLAGS} + + ComplexProgramTargetNoMan(xtu) + |