View | Details | Raw Unified | Return to bug 82922
Collapse All | Expand All

(-)Makefile (-7 / +5 lines)
Lines 5-11 Link Here
5
# $FreeBSD: ports/x11-clocks/wmbday/Makefile,v 1.4 2005/05/13 20:17:27 thierry Exp $
5
# $FreeBSD: ports/x11-clocks/wmbday/Makefile,v 1.4 2005/05/13 20:17:27 thierry Exp $
6
6
7
PORTNAME=	wmbday
7
PORTNAME=	wmbday
8
PORTVERSION=	0.2a
8
PORTVERSION=	0.3
9
CATEGORIES=	x11-clocks
9
CATEGORIES=	x11-clocks
10
MASTER_SITES=	http://buzzinhornetz.ath.cx/wmbday/files/
10
MASTER_SITES=	http://buzzinhornetz.ath.cx/wmbday/files/
11
11
Lines 15-28 Link Here
15
BUILD_DEPENDS=	${X11BASE}/bin/xmessage:${X_CLIENTS_PORT}
15
BUILD_DEPENDS=	${X11BASE}/bin/xmessage:${X_CLIENTS_PORT}
16
16
17
HAS_CONFIGURE=	yes
17
HAS_CONFIGURE=	yes
18
USE_XLIB=	yes
18
USE_X_PREFIX=	yes
19
MAKEFILE=	BSDmakefile
19
20
20
MAN1=		wmbday.1
21
MAN1=		wmbday.1
21
22
22
do-install:
23
post-extract:
23
	${INSTALL_PROGRAM} ${WRKSRC}/wmbday ${PREFIX}/bin
24
	@${CP} ${FILESDIR}/BSDmakefile ${WRKSRC}
24
.if !defined(NO_INSTALL_MANPAGES)
25
	${INSTALL_MAN} ${WRKSRC}/wmbday.1 ${PREFIX}/man/man1
26
.endif
27
25
28
.include <bsd.port.mk>
26
.include <bsd.port.mk>
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (wmbday-0.2a.tar.gz) = b4c1062e5db18c4dc2c6cf2896dc7b7b
1
MD5 (wmbday-0.3.tar.gz) = 0bfa927ef0784d9619db11aa01c26bee
2
SIZE (wmbday-0.2a.tar.gz) = 16884
2
SIZE (wmbday-0.3.tar.gz) = 18835
(-)files/BSDmakefile (+12 lines)
Added Link Here
1
PROG=	wmbday
2
SRCS=	date.c main.c ring.c
3
4
PREFIX?=  ${X11BASE}
5
6
BINDIR=   ${PREFIX}/bin
7
SHAREDIR= ${PREFIX}
8
CFLAGS+=  -I/usr/X11R6/include
9
LDFLAGS+= -L/usr/X11R6/lib
10
LDADD=    -lX11 -lXext -lXpm
11
12
.include <bsd.prog.mk>
(-)files/patch-Makefile (-24 lines)
Removed Link Here
1
--- Makefile.orig	Sun Jul 27 15:11:38 2003
2
+++ Makefile	Tue Jan  6 00:39:09 2004
3
@@ -1,16 +1,15 @@
4
-CC 				= gcc
5
 OBJS			= date.c ring.c main.c
6
-INCDIR			= -I/usr/X11R6/include
7
-LIBDIR			= -L/usr/X11R6/lib
8
+INCDIR			= -I$(X11BASE)/include
9
+LIBDIR			= -L$(X11BASE)/lib
10
 LIBS			= -lX11 -lXext
11
-BIN_DESTDIR 	= /usr/local/bin
12
-MAN_DESTDIR		= /usr/local/man/man1
13
+BIN_DESTDIR 	= $(PREFIX)/local/bin
14
+MAN_DESTDIR		= $(PREFIX)/man/man1
15
 PACKAGE 		= wmbday
16
 VERSION 		= 0.1
17
 
18
 
19
 all:
20
-	$(CC) $(OBJS) -o wmbday -Wall $(LIBDIR) $(LIBS) $(INCDIR)
21
+	$(CC) $(CFLAGS) $(OBJS) -o wmbday -Wall $(LIBDIR) $(LIBS) $(INCDIR)
22
 
23
 debug:
24
 	$(CC) -g $(OBJS) -o wmbday -Wall $(LIBDIR) $(LIBS) $(INCDIR)

Return to bug 82922