mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
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)
This commit is contained in:
parent
c693baa621
commit
29da4dcb63
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=158053
@ -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"
|
||||
|
@ -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
|
||||
|
15
astro/xmoontool/files/patch-Makefile
Normal file
15
astro/xmoontool/files/patch-Makefile
Normal file
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user