Lines 1-7
Link Here
|
1 |
# $FreeBSD$ |
1 |
# $FreeBSD$ |
2 |
|
2 |
|
3 |
PORTNAME= dMagnetic |
3 |
PORTNAME= dMagnetic |
4 |
PORTVERSION= 0.18 |
4 |
PORTVERSION= 0.21 |
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 12-17
Link Here
|
12 |
LICENSE= BSD2CLAUSE |
12 |
LICENSE= BSD2CLAUSE |
13 |
LICENSE_FILE= ${WRKSRC}/LICENSE.txt |
13 |
LICENSE_FILE= ${WRKSRC}/LICENSE.txt |
14 |
|
14 |
|
|
|
15 |
USES= tar:bz2 |
16 |
|
15 |
do-install: |
17 |
do-install: |
16 |
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin |
18 |
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin |
17 |
${INSTALL_MAN} ${WRKSRC}/dMagnetic.1 ${STAGEDIR}${MANPREFIX}/man/man1 |
19 |
${INSTALL_MAN} ${WRKSRC}/dMagnetic.1 ${STAGEDIR}${MANPREFIX}/man/man1 |
Lines 20-24
Link Here
|
20 |
${INSTALL_DATA} ${WRKSRC}/dMagnetic.ini ${STAGEDIR}/${DATADIR} |
22 |
${INSTALL_DATA} ${WRKSRC}/dMagnetic.ini ${STAGEDIR}/${DATADIR} |
21 |
${MKDIR} ${STAGEDIR}/${DOCSDIR} |
23 |
${MKDIR} ${STAGEDIR}/${DOCSDIR} |
22 |
${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}/${DOCSDIR} |
24 |
${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}/${DOCSDIR} |
|
|
25 |
|
26 |
do-test: |
27 |
cd ${WRKSRC}/testcode; if [ `${ECHO_MSG} Hello | ../dMagnetic \ |
28 |
-mag minitest.mag -gfx minitest.gfx \ |
29 |
-vmode high_ansi -vecho -vcols 300 -vrows 300 | \ |
30 |
sha256 ` == e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ]; \ |
31 |
then echo ok; else echo expected output not seen; exit 1; fi |
23 |
|
32 |
|
24 |
.include <bsd.port.mk> |
33 |
.include <bsd.port.mk> |