aboutsummaryrefslogtreecommitdiff
path: root/astro/openuniverse/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'astro/openuniverse/Makefile')
-rw-r--r--astro/openuniverse/Makefile22
1 files changed, 12 insertions, 10 deletions
diff --git a/astro/openuniverse/Makefile b/astro/openuniverse/Makefile
index 414b1c2b89af..c3bb2a42976f 100644
--- a/astro/openuniverse/Makefile
+++ b/astro/openuniverse/Makefile
@@ -1,10 +1,10 @@
PORTNAME= openuniverse
DISTVERSION= 1.0beta3
-PORTREVISION= 15
+PORTREVISION= 16
CATEGORIES= astro
-MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/1.0beta3
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTVERSION}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= mew14930xvi@inbox.lv
COMMENT= OpenGL Solar System simulator for X Window System
WWW= https://openuniverse.sourceforge.net/
@@ -12,16 +12,18 @@ LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= gl gmake jpeg localbase xorg
-USE_CXXSTD= c++14
+USE_CXXSTD= c++98
USE_GL= gl glu glut
-USE_XORG= sm ice xmu xi xext x11
+USE_XORG= ice sm x11 xext xi xmu xorgproto
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --includedir="${LOCALBASE}/include" \
- --libdir="${LOCALBASE}/lib" \
+.include <bsd.port.pre.mk>
-CPPFLAGS+= -I${LOCALBASE}/include/GL
-LIBS+= -lm -lcompat -lutil
+.if ${OPSYS}_${OSREL:R} == FreeBSD_13
+LIBS+= -lcompat
+.else
+LIBS+= -lutil
+.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>