Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= atari800 |
8 |
PORTNAME= atari800 |
9 |
PORTVERSION= 1.2.2 |
9 |
PORTVERSION= 1.2.3 |
10 |
CATEGORIES= emulators |
10 |
CATEGORIES= emulators |
11 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
11 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
12 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
12 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
Lines 24-29
Link Here
|
24 |
WRKSRC= ${WRKDIR}/${DISTNAME}/src |
24 |
WRKSRC= ${WRKDIR}/${DISTNAME}/src |
25 |
|
25 |
|
26 |
USE_XLIB= yes |
26 |
USE_XLIB= yes |
|
|
27 |
USE_REINPLACE= yes |
27 |
USE_GMAKE= yes |
28 |
USE_GMAKE= yes |
28 |
GNU_CONFIGURE= yes |
29 |
GNU_CONFIGURE= yes |
29 |
CONFIGURE_ARGS= --target=x11 |
30 |
CONFIGURE_ARGS= --target=x11 |
Lines 38-60
Link Here
|
38 |
|
39 |
|
39 |
post-patch: |
40 |
post-patch: |
40 |
@${CP} ${FILESDIR}/atari800.cfg ${WRKSRC} |
41 |
@${CP} ${FILESDIR}/atari800.cfg ${WRKSRC} |
41 |
@${PERL} -pi -e 's|GUMBY|${DATADIR}|g' ${WRKSRC}/atari800.cfg |
42 |
@${REINPLACE_CMD} -e 's|GUMBY|${DATADIR}|g' ${WRKSRC}/atari800.cfg |
42 |
@${PERL} -pi -e 's|/etc|${DATADIR}|g' ${WRKSRC}/rt-config.c |
43 |
@${REINPLACE_CMD} -e 's|/etc|${DATADIR}|g' ${WRKSRC}/rt-config.c |
43 |
@${PERL} -pi -e 's|tmpnam|mkstemp|g' ${WRKSRC}/devices.c \ |
44 |
@${REINPLACE_CMD} -e 's|tmpnam|mkstemp|g' ${WRKSRC}/devices.c \ |
44 |
${WRKSRC}/compfile.c |
45 |
${WRKSRC}/compfile.c |
45 |
|
46 |
|
46 |
do-install: |
47 |
do-install: |
47 |
@${INSTALL_PROGRAM} ${WRKSRC}/atari800 ${PREFIX}/bin/atari800 |
48 |
${INSTALL_PROGRAM} ${WRKSRC}/atari800 ${PREFIX}/bin/atari800 |
48 |
@${INSTALL_MAN} ${WRKSRC}/atari800.man ${MANPREFIX}/man/man1/atari800.1 |
49 |
${INSTALL_MAN} ${WRKSRC}/atari800.man ${MANPREFIX}/man/man1/atari800.1 |
49 |
@${MKDIR} ${DATADIR} |
50 |
@${MKDIR} ${DATADIR} |
50 |
@${INSTALL_DATA} -m 644 ${WRKSRC}/atari800.cfg ${DATADIR} |
51 |
${INSTALL_DATA} -m 644 ${WRKSRC}/atari800.cfg ${DATADIR} |
51 |
.for file in ${ATARI_XF} |
52 |
.for file in ${ATARI_XF} |
52 |
@${INSTALL_DATA} ${WRKSRC}/${file} ${DATADIR} |
53 |
${INSTALL_DATA} ${WRKSRC}/${file} ${DATADIR} |
53 |
.endfor |
54 |
.endfor |
54 |
.if !defined(NOPORTDOCS) |
55 |
.if !defined(NOPORTDOCS) |
55 |
@${MKDIR} ${DOCSDIR} |
56 |
@${MKDIR} ${DOCSDIR} |
56 |
.for file in BUGS CHANGES CREDITS FAQ INSTALL README TODO USAGE |
57 |
.for file in BUGS CHANGES CREDITS FAQ INSTALL README TODO USAGE |
57 |
@${INSTALL_DATA} ${WRKSRC}/../DOC/${file} ${DOCSDIR} |
58 |
${INSTALL_DATA} ${WRKSRC}/../DOC/${file} ${DOCSDIR} |
58 |
.endfor |
59 |
.endfor |
59 |
.endif |
60 |
.endif |
60 |
|
61 |
|