Lines 7-12
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= stella |
8 |
PORTNAME= stella |
9 |
PORTVERSION= 1.2 |
9 |
PORTVERSION= 1.2 |
|
|
10 |
PORTREVISION= 1 |
10 |
CATEGORIES= emulators |
11 |
CATEGORIES= emulators |
11 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
12 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
12 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
13 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
Lines 14-30
Link Here
|
14 |
|
15 |
|
15 |
MAINTAINER= ports@FreeBSD.org |
16 |
MAINTAINER= ports@FreeBSD.org |
16 |
|
17 |
|
17 |
USE_XLIB= yes |
18 |
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} |
|
|
19 |
BUILD_WRKSRC= ${WRKSRC}/src/build |
18 |
|
20 |
|
19 |
PORTTOP= ${WRKDIR}/${PKGNAME} |
21 |
USE_XLIB= yes |
20 |
WRKSRC= ${PORTTOP}/src/build |
|
|
21 |
USE_GMAKE= yes |
22 |
USE_GMAKE= yes |
|
|
23 |
MAKE_ENV= CC="${CC}" CFLAGS="${CFLAGS}" |
22 |
MAKEFILE= makefile |
24 |
MAKEFILE= makefile |
23 |
ALL_TARGET= freebsd-x |
25 |
ALL_TARGET= freebsd-x |
24 |
|
26 |
|
25 |
USE_XLIB= yes |
|
|
26 |
|
27 |
DOCSDIR= ${PREFIX}/share/doc/stella |
28 |
DOCS= docs/stella.html |
27 |
DOCS= docs/stella.html |
29 |
GFX= docs/graphics/chucky_cheese.png \ |
28 |
GFX= docs/graphics/chucky_cheese.png \ |
30 |
docs/graphics/circuit.png \ |
29 |
docs/graphics/circuit.png \ |
Lines 35-59
Link Here
|
35 |
docs/graphics/space_invaders.png |
34 |
docs/graphics/space_invaders.png |
36 |
|
35 |
|
37 |
post-build: |
36 |
post-build: |
38 |
@(cd ${PORTTOP}/src/ui/sound && \ |
37 |
@(cd ${WRKSRC}/src/ui/sound && \ |
39 |
${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} \ |
38 |
${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} \ |
40 |
${MAKE_ARGS} oss) |
39 |
${MAKE_ARGS} oss) |
41 |
|
40 |
|
42 |
do-install: |
41 |
do-install: |
43 |
.for exe in src/build/stella.x11 src/ui/sound/stella-sound |
42 |
.for exe in src/build/stella.x11 src/ui/sound/stella-sound |
44 |
${INSTALL_PROGRAM} ${PORTTOP}/${exe} ${PREFIX}/bin/ |
43 |
${INSTALL_PROGRAM} ${WRKSRC}/${exe} ${PREFIX}/bin/ |
45 |
.endfor |
44 |
.endfor |
46 |
${MKDIR} ${PREFIX}/share/stella |
45 |
${MKDIR} ${DATADIR} |
47 |
${INSTALL_DATA} ${PORTTOP}/src/emucore/stella.pro \ |
46 |
${INSTALL_DATA} ${WRKSRC}/src/emucore/stella.pro ${DATADIR}/ |
48 |
${PREFIX}/share/stella/ |
|
|
49 |
.if !defined(NOPORTDOCS) |
47 |
.if !defined(NOPORTDOCS) |
50 |
${MKDIR} ${DOCSDIR} |
48 |
${MKDIR} ${DOCSDIR} |
51 |
.for doc in ${DOCS} |
49 |
.for doc in ${DOCS} |
52 |
${INSTALL_DATA} ${PORTTOP}/${doc} ${DOCSDIR}/ |
50 |
${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}/ |
53 |
.endfor |
51 |
.endfor |
54 |
${MKDIR} ${DOCSDIR}/graphics |
52 |
${MKDIR} ${DOCSDIR}/graphics |
55 |
.for gfx in ${GFX} |
53 |
.for gfx in ${GFX} |
56 |
${INSTALL_DATA} ${PORTTOP}/${gfx} ${DOCSDIR}/graphics/ |
54 |
${INSTALL_DATA} ${WRKSRC}/${gfx} ${DOCSDIR}/graphics/ |
57 |
.endfor |
55 |
.endfor |
58 |
.endif |
56 |
.endif |
59 |
|
57 |
|