Lines 7-29
Link Here
|
7 |
# |
7 |
# |
8 |
|
8 |
|
9 |
PORTNAME= textmaze |
9 |
PORTNAME= textmaze |
10 |
PORTVERSION= 1.0 |
10 |
PORTVERSION= 1.2 |
11 |
CATEGORIES= games perl5 |
11 |
CATEGORIES= games perl5 |
12 |
MASTER_SITES= http://www.robobunny.com/projects/textmaze/ |
12 |
MASTER_SITES= http://www.robobunny.com/projects/textmaze/ |
13 |
DISTNAME= ${PORTNAME}_v${PORTVERSION} |
13 |
DISTNAME= ${PORTNAME}_v${PORTVERSION} |
14 |
|
14 |
|
15 |
MAINTAINER= ports@FreeBSD.org |
15 |
MAINTAINER= ehaupt@critical.ch |
16 |
COMMENT= Generates mazes on a text terminal and lets you traverse them |
16 |
COMMENT= Generates mazes on a text terminal and lets you traverse them |
17 |
|
17 |
|
|
|
18 |
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Curses.pm:${PORTSDIR}/devel/p5-Curses |
19 |
|
18 |
USE_PERL5= yes |
20 |
USE_PERL5= yes |
|
|
21 |
USE_REINPLACE= yes |
19 |
WRKSRC= ${WRKDIR}/TextMaze |
22 |
WRKSRC= ${WRKDIR}/TextMaze |
20 |
NO_BUILD= yes |
23 |
NO_BUILD= yes |
21 |
PLIST_FILES= bin/textmaze |
24 |
PLIST_FILES= bin/textmaze |
22 |
|
25 |
|
23 |
post-patch: |
26 |
post-patch: |
24 |
@${PERL} -pi -e "s,/usr/local/bin/perl,${PERL},g" ${WRKSRC}/textmaze |
27 |
@${REINPLACE_CMD} -e 's|/usr/local/bin/perl|${PERL}|' \ |
|
|
28 |
${WRKSRC}/${PORTNAME} |
25 |
|
29 |
|
26 |
do-install: |
30 |
do-install: |
27 |
${INSTALL_SCRIPT} ${WRKSRC}/textmaze ${PREFIX}/bin |
31 |
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin |
28 |
|
32 |
|
29 |
.include <bsd.port.mk> |
33 |
.include <bsd.port.mk> |