Lines 1-7
Link Here
|
1 |
# $FreeBSD$ |
1 |
# $FreeBSD$ |
2 |
|
2 |
|
3 |
PORTNAME= dMagnetic |
3 |
PORTNAME= dMagnetic |
4 |
PORTVERSION= 0.23 |
4 |
PORTVERSION= 0.24 |
5 |
CATEGORIES= games |
5 |
CATEGORIES= games |
6 |
MASTER_SITES= https://www.dettus.net/dMagnetic/ |
6 |
MASTER_SITES= https://www.dettus.net/dMagnetic/ |
7 |
DISTNAME= ${PORTNAME}_${PORTVERSION} |
7 |
DISTNAME= ${PORTNAME}_${PORTVERSION} |
Lines 24-58
Link Here
|
24 |
${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}/${DOCSDIR} |
24 |
${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}/${DOCSDIR} |
25 |
|
25 |
|
26 |
do-test: |
26 |
do-test: |
27 |
cd ${WRKSRC}/testcode; if [ `${ECHO_CMD} Hello | ../dMagnetic -ini ../dMagnetic.ini \ |
27 |
cd ${WRKSRC} && ${MAKE} SHA256_CMD=sha256 do-test |
28 |
-mag minitest.mag -gfx minitest.gfx \ |
|
|
29 |
-vmode none -vecho -vcols 300 -vrows 300 | \ |
30 |
sha256 ` == 70af45367a6ad1b612ceabd36fef309d4258abac275281a5541342ccf0a765cd -a \ |
31 |
`${ECHO_CMD} Hello | ../dMagnetic -ini ../dMagnetic.ini \ |
32 |
-mag minitest.mag -gfx minitest.gfx \ |
33 |
-vmode monochrome -vecho -vcols 300 -vrows 300 | \ |
34 |
sha256 ` == b1e0f1b9fb7ade27960b23a0bbf195d6b57713bc91397792fab0bd700e882fb6 -a \ |
35 |
`${ECHO_CMD} Hello | ../dMagnetic -ini ../dMagnetic.ini \ |
36 |
-mag minitest.mag -gfx minitest.gfx \ |
37 |
-vmode monochrome_inv -vecho -vcols 300 -vrows 300 | \ |
38 |
sha256 ` == 31fa692260d66e4c884cd378f4d556948fa2cac993a222735b50fe77d5e42f74 -a \ |
39 |
`${ECHO_CMD} Hello | ../dMagnetic -ini ../dMagnetic.ini \ |
40 |
-mag minitest.mag -gfx minitest.gfx \ |
41 |
-vmode low_ansi -vecho -vcols 300 -vrows 300 | \ |
42 |
sha256 ` == 0305fe17144310c4759a2fc23f78e7f3975603d525b64a1ecc79fb86628523c9 -a \ |
43 |
`${ECHO_CMD} Hello | ../dMagnetic -ini ../dMagnetic.ini \ |
44 |
-mag minitest.mag -gfx minitest.gfx \ |
45 |
-vmode low_ansi2 -vecho -vcols 300 -vrows 300 | \ |
46 |
sha256 ` == ef4a1edd1313246dff47a9d44e2827b475c483efce456d1c3475b9b19f8fd8b7 -a \ |
47 |
`${ECHO_CMD} Hello | ../dMagnetic -ini ../dMagnetic.ini \ |
48 |
-mag minitest.mag -gfx minitest.gfx \ |
49 |
-vmode high_ansi -vecho -vcols 300 -vrows 300 | \ |
50 |
sha256 ` == 91a443b46e40caa3a8f229144adafe8220f445f452cae6632e0f7dcd95e03b9f -a \ |
51 |
`${ECHO_CMD} Hello | ../dMagnetic -ini ../dMagnetic.ini \ |
52 |
-mag minitest.mag -gfx minitest.gfx \ |
53 |
-vmode sixel -vecho -vcols 300 -vrows 300 | \ |
54 |
sha256 ` == 69deb35a1323d3b018d249fb0eb91b33872e454d986c7538912aba3c91d55a32 \ |
55 |
]; \ |
56 |
then echo ok; else echo expected output not seen; exit 1; fi |
57 |
|
28 |
|
58 |
.include <bsd.port.mk> |
29 |
.include <bsd.port.mk> |