Lines 1-7
Link Here
|
1 |
# $FreeBSD$ |
1 |
# $FreeBSD$ |
2 |
PORTNAME= dMagnetic |
2 |
PORTNAME= dMagnetic |
3 |
PORTVERSION= 0.18 |
3 |
PORTVERSION= 0.21 |
4 |
CATEGORIES= games |
4 |
CATEGORIES= games |
5 |
MASTER_SITES= https://www.dettus.net/dMagnetic/ |
5 |
MASTER_SITES= https://www.dettus.net/dMagnetic/ |
6 |
DISTNAME= ${PORTNAME}_${PORTVERSION} |
6 |
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 |
USES= tar:bz2 |
15 |
|
14 |
do-install: |
16 |
do-install: |
15 |
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin |
17 |
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin |
16 |
${INSTALL_MAN} ${WRKSRC}/dMagnetic.1 ${STAGEDIR}${MANPREFIX}/man/man1 |
18 |
${INSTALL_MAN} ${WRKSRC}/dMagnetic.1 ${STAGEDIR}${MANPREFIX}/man/man1 |
Lines 21-24
Link Here
|
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 |
do-test: |
26 |
cd ${WRKSRC}/testcode; if [ `echo Hello | ../dMagnetic \ |
27 |
-mag minitest.mag -gfx minitest.gfx \ |
28 |
-vmode low_ansi -vecho -vcols 300 -vrows 300 | \ |
29 |
sha256 ` == 86ca2731a4333ed24203c5bda33e71a222e864cb22debe656de52157e89ab1ea ]; \ |
30 |
then echo ok; else echo expected output not seen; exit 1; fi |
31 |
|
23 |
.include <bsd.port.mk> |
32 |
.include <bsd.port.mk> |