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

Collapse All | Expand All

(-)b/games/dMagnetic/Makefile (-10 / +1 lines)
Lines 1-5 Link Here
1
PORTNAME=	dMagnetic
1
PORTNAME=	dMagnetic
2
DISTVERSION=	0.36
2
DISTVERSION=	0.37
3
CATEGORIES=	games
3
CATEGORIES=	games
4
MASTER_SITES=	https://www.dettus.net/dMagnetic/
4
MASTER_SITES=	https://www.dettus.net/dMagnetic/
5
DISTNAME=	${PORTNAME}_${DISTVERSION}
5
DISTNAME=	${PORTNAME}_${DISTVERSION}
Lines 16-28 USES= tar:bz2 Link Here
16
TEST_ENV=	SHA256_CMD=sha256
16
TEST_ENV=	SHA256_CMD=sha256
17
TEST_TARGET=	check
17
TEST_TARGET=	check
18
18
19
do-install:
20
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
21
	${INSTALL_MAN} ${WRKSRC}/dMagneticini.5 ${STAGEDIR}${MANPREFIX}/man/man5
22
	${INSTALL_MAN} ${WRKSRC}/dMagnetic.6 ${STAGEDIR}${MANPREFIX}/man/man6
23
	${MKDIR} ${STAGEDIR}/${DATADIR}
24
	${INSTALL_DATA} ${WRKSRC}/dMagnetic.ini ${STAGEDIR}/${DATADIR}
25
	${MKDIR} ${STAGEDIR}/${DOCSDIR}
26
	${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}/${DOCSDIR}
27
28
.include <bsd.port.mk>
19
.include <bsd.port.mk>
(-)b/games/dMagnetic/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1674941662
1
TIMESTAMP = 1684411182
2
SHA256 (dMagnetic_0.36.tar.bz2) = 0b7614e47f6711ce58cfbee7188d56d17a92c104004f51ab61798b318e897d8f
2
SHA256 (dMagnetic_0.37.tar.bz2) = ad812bb515bc972e23930d643d5abeaed971d550768b1b3f371bd0f72c3c2e89
3
SIZE (dMagnetic_0.36.tar.bz2) = 93540
3
SIZE (dMagnetic_0.37.tar.bz2) = 93405
(-)b/games/dMagnetic/files/patch-Makefile (-6 / +27 lines)
Lines 1-11 Link Here
1
--- Makefile.orig	2023-05-18 14:07:09.571240000 +0200
1
--- Makefile.orig	2023-05-16 19:52:30.000000000 +0200
2
+++ Makefile	2023-05-18 14:07:22.166522000 +0200
2
+++ Makefile	2023-05-18 14:17:25.959172000 +0200
3
@@ -25,7 +25,7 @@
3
@@ -25,10 +25,11 @@
4
 
4
 
5
 PREFIX?=/usr/local
5
 PREFIX?=/usr/local
6
 DESTDIR?=/usr/local
6
 DESTDIR?=/usr/local
7
-MYPREFIX=$(DESTDIR)
7
-MYPREFIX=$(DESTDIR)
8
+MYPREFIX=$(PREFIX)
8
+MYPREFIX=$(DESTDIR)$(PREFIX)
9
 INSTALLBIN=$(MYPREFIX)/bin
9
 INSTALLBIN=$(MYPREFIX)/bin
10
 INSTALLSHARE=$(MYPREFIX)/share/games
10
-INSTALLSHARE=$(MYPREFIX)/share/games
11
 INSTALLMAN=$(MYPREFIX)/share/man
11
-INSTALLMAN=$(MYPREFIX)/share/man
12
+INSTALLSHARE=$(MYPREFIX)/share
13
+INSTALLDOC=$(MYPREFIX)/share/doc
14
+INSTALLMAN=$(MYPREFIX)/man
15
 
16
 CC?=gcc
17
 AR?=ar
18
@@ -97,12 +98,13 @@
19
 	install -m 755 -d $(INSTALLBIN)
20
 	install -m 755 -d $(INSTALLMAN)/man5/
21
 	install -m 755 -d $(INSTALLMAN)/man6/
22
+	install -m 755 -d $(INSTALLDOC)/dMagnetic/
23
 	install -m 755 -d $(INSTALLSHARE)/dMagnetic/
24
 
25
 	install -m 755 -s dMagnetic $(INSTALLBIN)/dMagnetic
26
 	install -m 644 dMagneticini.5 $(INSTALLMAN)/man5/dMagneticini.5
27
 	install -m 644 dMagnetic.6 $(INSTALLMAN)/man6/dMagnetic.6
28
-	install -m 644 README.txt $(INSTALLSHARE)/dMagnetic/README.txt
29
+	install -m 644 README.txt $(INSTALLDOC)/dMagnetic/README.txt
30
 	install -m 644 LICENSE.txt $(INSTALLSHARE)/dMagnetic/LICENSE.txt
31
 	cp dMagnetic.ini $(INSTALLSHARE)/dMagnetic/
32
 

Return to bug 271487