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

(-)games/empire/Makefile (-8 / +10 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	empire
8
PORTNAME=	empire
9
PORTVERSION=	1.8
9
PORTVERSION=	1.9
10
CATEGORIES=	games
10
CATEGORIES=	games
11
MASTER_SITES=	http://www.catb.org/~esr/vms-empire/
11
MASTER_SITES=	http://www.catb.org/~esr/vms-empire/
12
DISTNAME=	vms-${PORTNAME}-${PORTVERSION}
12
DISTNAME=	vms-${PORTNAME}-${PORTVERSION}
Lines 15-39 Link Here
15
COMMENT=	Solitaire empire game "VMS Empire"
15
COMMENT=	Solitaire empire game "VMS Empire"
16
16
17
LICENSE=	GPLv2
17
LICENSE=	GPLv2
18
LICENSE_FILE=	${WRKSRC}/COPYING
19
20
MAKE_JOBS_SAFE=	yes
18
21
19
MAN6=		empire.6
22
MAN6=		empire.6
20
PLIST_FILES=	bin/empire
21
PORTDOCS=	BUGS README
23
PORTDOCS=	BUGS README
22
USE_GMAKE=	yes
24
PLIST_FILES=	bin/empire
23
24
.include <bsd.port.pre.mk>
25
25
26
post-patch:
26
post-patch:
27
	@${REINPLACE_CMD} -e 's/^CFLAGS/#CFLAGS/ ; \
28
		 s/-lncurses/-lcurses/' ${WRKSRC}/Makefile
27
	@${REINPLACE_CMD} -e 's/static void/void/g' ${WRKSRC}/game.c
29
	@${REINPLACE_CMD} -e 's/static void/void/g' ${WRKSRC}/game.c
28
30
29
do-install:
31
do-install:
30
	${INSTALL_PROGRAM} ${WRKSRC}/vms-empire ${PREFIX}/bin/empire
32
	${INSTALL_PROGRAM} ${WRKSRC}/vms-empire ${PREFIX}/bin/empire
31
	${INSTALL_MAN} ${WRKSRC}/empire.6 ${MANPREFIX}/man/man6/empire.6
33
	${INSTALL_MAN} ${WRKSRC}/empire.6 ${MAN6PREFIX}/man/man6/empire.6
32
.if !defined(NOPORTDOCS)
34
.if !defined(NOPORTDOCS)
33
.for file in BUGS README
35
.for file in ${PORTDOCS}
34
	@${MKDIR} ${DOCSDIR}
36
	@${MKDIR} ${DOCSDIR}
35
	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
37
	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
36
.endfor
38
.endfor
37
.endif
39
.endif
38
40
39
.include <bsd.port.post.mk>
41
.include <bsd.port.mk>
(-)games/empire/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (vms-empire-1.8.tar.gz) = 32712ff7256587b65135a1e6a95de1c83b2cd35784ff6f5fcb22ddd18da293dd
1
SHA256 (vms-empire-1.9.tar.gz) = 9fc3f2cd03fd02b3a7cb5de0598fa981f7462bb4f9e819c63a02eca6ad76dff2
2
SIZE (vms-empire-1.8.tar.gz) = 89528
2
SIZE (vms-empire-1.9.tar.gz) = 97370
(-)games/empire/files/patch-Makefile (-23 lines)
Lines 1-23 Link Here
1
--- Makefile.orig	2010-10-21 13:29:25.000000000 +0200
2
+++ Makefile	2010-10-24 15:49:36.000000000 +0200
3
@@ -11,17 +11,17 @@
4
 # Use -g to compile the program for debugging.
5
 
6
 #DEBUG = -g -DDEBUG -Wall
7
-DEBUG = -O2
8
+#DEBUG = -O2
9
 
10
 # Use -p to profile the program.
11
 #PROFILE = -p -DPROFILE
12
 PROFILE =
13
 
14
-LIBS = -lncurses
15
+LIBS = -lcurses
16
 
17
 # You shouldn't have to modify anything below this line.
18
 
19
-CFLAGS = $(DEBUG) $(PROFILE)
20
+CFLAGS+= $(DEBUG) $(PROFILE)
21
 
22
 FILES = \
23
 	attack.c \

Return to bug 166028