diff options
author | thierry <thierry@FreeBSD.org> | 2006-03-24 18:04:52 +0800 |
---|---|---|
committer | thierry <thierry@FreeBSD.org> | 2006-03-24 18:04:52 +0800 |
commit | 75701046a1ecadb77aeb79fd633ffc4f3f7efd22 (patch) | |
tree | e9a58fa31b63ceb3e5b19256c0e96fbfd1795d18 /astro | |
parent | a565f4881eadef433222256a2b53921fa477046d (diff) | |
download | freebsd-ports-gnome-75701046a1ecadb77aeb79fd633ffc4f3f7efd22.tar.gz freebsd-ports-gnome-75701046a1ecadb77aeb79fd633ffc4f3f7efd22.tar.zst freebsd-ports-gnome-75701046a1ecadb77aeb79fd633ffc4f3f7efd22.zip |
Regular update to version 3.0.3. The optional libnova support is enabled
by default where possible.
PR: 93972
Submitted by: Frank W. Josellis <frank (at) dynamical-systems.org> (maintainer)
Diffstat (limited to 'astro')
-rw-r--r-- | astro/xmoontool/Makefile | 18 | ||||
-rw-r--r-- | astro/xmoontool/distinfo | 6 | ||||
-rw-r--r-- | astro/xmoontool/files/patch-Makefile | 15 |
3 files changed, 34 insertions, 5 deletions
diff --git a/astro/xmoontool/Makefile b/astro/xmoontool/Makefile index 4b18da3d16d9..e5e9a9a94379 100644 --- a/astro/xmoontool/Makefile +++ b/astro/xmoontool/Makefile @@ -6,14 +6,13 @@ # PORTNAME= xmoontool -PORTVERSION= 3.0.2 +PORTVERSION= 3.0.3 CATEGORIES= astro MASTER_SITES= http://www.senax.net/xmoontool/ MAINTAINER= frank@dynamical-systems.org COMMENT= A version of John Walker's classical moontool for X11/Motif -USE_REINPLACE= yes USE_MOTIF= yes USE_X_PREFIX= yes @@ -23,6 +22,21 @@ PLIST_FILES= bin/xmoontool .include <bsd.port.pre.mk> +.if ${OSVERSION} < 503000 # libnova currently not available here! +WITHOUT_LIBNOVA= yes +.endif + +.if defined(WITHOUT_LIBNOVA) +MAKE_ENV+= WITHOUT_LIBNOVA=yes +.else +LIB_DEPENDS+= nova:${PORTSDIR}/astro/libnova +.endif + +pre-everything:: +.if !defined(WITHOUT_LIBNOVA) + @${ECHO_MSG} "You can disable libnova support by defining WITHOUT_LIBNOVA" +.endif + pre-configure: .if !defined(WITHOUT_DEFAULT_COLOR) @${ECHO_MSG} "For use with monochrome displays try to set WITHOUT_DEFAULT_COLOR" diff --git a/astro/xmoontool/distinfo b/astro/xmoontool/distinfo index ad1314081ed6..37f04e2fe4bd 100644 --- a/astro/xmoontool/distinfo +++ b/astro/xmoontool/distinfo @@ -1,3 +1,3 @@ -MD5 (xmoontool-3.0.2.tar.gz) = 5556d08574f25a6098858343b702d343 -SHA256 (xmoontool-3.0.2.tar.gz) = eb5eeb4da988e62dfadcbf7189e072cb9c83b62e005130e84621a5ad487b2c8b -SIZE (xmoontool-3.0.2.tar.gz) = 20394 +MD5 (xmoontool-3.0.3.tar.gz) = 1688d1176d197c1c4f28711e410a28e3 +SHA256 (xmoontool-3.0.3.tar.gz) = eda8312eedf86116e2b8289ce7c7e3e93ea45f621b1c13a187aa2d3885704d32 +SIZE (xmoontool-3.0.3.tar.gz) = 24354 diff --git a/astro/xmoontool/files/patch-Makefile b/astro/xmoontool/files/patch-Makefile new file mode 100644 index 000000000000..df09066bdc47 --- /dev/null +++ b/astro/xmoontool/files/patch-Makefile @@ -0,0 +1,15 @@ +--- ./Makefile.orig Fri Feb 24 23:00:24 2006 ++++ ./Makefile Fri Mar 24 10:55:01 2006 +@@ -8,9 +8,9 @@ + LOCALBASE?= /usr/local + X11BASE?= /usr/X11R6 + +-CC= gcc +-CFLAGS= -O2 -Wall +-LDFLAGS= -lXm -lXt -lX11 -lm ++#CC= gcc ++#CFLAGS= -O2 -Wall ++LDFLAGS+= -lXm -lXt -lX11 -lm + DEFINES?= -DDEFAULT_COLOR + ALL_CFLAGS= $(CFLAGS) $(DEFINES) -I$(X11BASE)/include -L$(X11BASE)/lib + |