View | Details | Raw Unified | Return to bug 226675 | Differences between
and this patch

Collapse All | Expand All

(-)astro/wmglobe/Makefile (+21 lines)
Line 0 Link Here
1
# Created by: Will Andrews <andrews@technologist.com>
2
# $FreeBSD$
3
4
PORTNAME=	wmglobe
5
DISTVERSION=	1.3
6
PORTREVISION=	11
7
CATEGORIES=	astro windowmaker geography
8
MASTER_SITES=	http://www.dockapps.net/download/
9
10
COMMENT=	Neat xearth-like WindowMaker dockapp
11
12
LICENSE=	GPLv2
13
LICENSE_FILE=	${WRKSRC}/COPYING
14
15
LIB_DEPENDS=	libwraster.so:x11-wm/libwraster
16
17
PLIST_FILES=	bin/wmglobe \
18
		man/man1/wmglobe.1.gz
19
MAKE_ARGS=	PREFIX=${STAGEDIR}${PREFIX}
20
21
.include <bsd.port.mk>
(-)astro/wmglobe/distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1513946787
2
SHA256 (wmglobe-1.3.tar.gz) = 3ba943d2e2e18d6c517144f74db81e51b8f9137dcde377c83f3414df9c75a914
3
SIZE (wmglobe-1.3.tar.gz) = 75541
(-)astro/wmglobe/files/patch-Makefile (+31 lines)
Line 0 Link Here
1
--- Makefile.orig	1999-02-06 12:17:06 UTC
2
+++ Makefile
3
@@ -1,12 +1,11 @@
4
-INC	=	-I/usr/X11R6/include
5
-LIBS	=	-lXext -lX11 -lm -L/usr/X11R6/lib \
6
-		-ltiff  -lXpm -lpng -lz -ljpeg -lungif -lwraster
7
+INC	=	`pkg-config wrlib --cflags`
8
+LIBS	=	-lm `pkg-config wrlib xpm xext --libs`
9
 OBJS	=	src/wmglobe.o src/rend.o src/wmgutil.o \
10
 		src/sunpos.o src/myconvert.o src/mycontext.o 
11
 
12
 
13
 .c.o :
14
-	gcc -c -O2 -Wall $(INC) $< -o $*.o
15
+	${CC} -c ${CFLAGS} $(INC) $< -o $@
16
 
17
 all:  wmglobe
18
 
19
@@ -14,9 +13,8 @@ clean:
20
 	rm -f src/*.o wmglobe
21
 	
22
 wmglobe :	$(OBJS)
23
-		gcc -O2 -Wall $(OBJS) -o wmglobe $(LIBS)
24
-		strip wmglobe 
25
+		${CC} ${CFLAGS} $(OBJS) -o wmglobe $(LIBS)
26
 
27
 install :	
28
-		install wmglobe /usr/local/bin
29
-		install wmglobe.1 /usr/local/man/man1
30
+		${BSD_INSTALL_PROGRAM} wmglobe ${PREFIX}/bin
31
+		${BSD_INSTALL_MAN} wmglobe.1 ${PREFIX}/man/man1
(-)astro/wmglobe/pkg-descr (+5 lines)
Line 0 Link Here
1
wmglobe is a neat WindowMaker dockapp that displays a
2
xearth-like view of the earth that is currently under
3
the sun, and does a lot of other neat stuff.
4
5
WWW: http://www.dockapps.net/wmglobe

Return to bug 226675