|
Lines 21-27
Link Here
|
| 21 |
|
21 |
|
| 22 |
# Don't set USE_ZIP as this breaks EXTRACT_CMD, EXTRACT_SUFX, and what not. |
22 |
# Don't set USE_ZIP as this breaks EXTRACT_CMD, EXTRACT_SUFX, and what not. |
| 23 |
BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip |
23 |
BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip |
| 24 |
LIB_DEPENDS+= audio.2:${PORTSDIR}/audio/nas |
|
|
| 25 |
|
24 |
|
| 26 |
SQUEAK_VERSION= 3.4-1 |
25 |
SQUEAK_VERSION= 3.4-1 |
| 27 |
SQUEAK_IMAGE_VERSION= 3.5 |
26 |
SQUEAK_IMAGE_VERSION= 3.5 |
|
Lines 42-53
Link Here
|
| 42 |
CONFIGURE_WRKSRC= ${WRKSRC}/build |
41 |
CONFIGURE_WRKSRC= ${WRKSRC}/build |
| 43 |
INSTALL_WRKSRC= ${CONFIGURE_WRKSRC} |
42 |
INSTALL_WRKSRC= ${CONFIGURE_WRKSRC} |
| 44 |
CONFIGURE_SCRIPT= ../platforms/unix/config/configure |
43 |
CONFIGURE_SCRIPT= ../platforms/unix/config/configure |
| 45 |
CONFIGURE_ARGS+= --libdir=${PREFIX}/share --with-audio |
44 |
CONFIGURE_ARGS+= --libdir=${PREFIX}/share --with-audio=nas |
| 46 |
# don't pass "-s" to install to avoid trying to strip a shell script |
45 |
# don't pass "-s" to install to avoid trying to strip a shell script |
| 47 |
CONFIGURE_ENV= INSTALL_PROGRAM="${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}" |
46 |
CONFIGURE_ENV= INSTALL_PROGRAM="${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}" |
| 48 |
BUILD_WRKSRC= ${WRKSRC}/build |
47 |
BUILD_WRKSRC= ${WRKSRC}/build |
| 49 |
DIST_SUBDIR= squeak |
48 |
DIST_SUBDIR= squeak |
| 50 |
|
49 |
|
|
|
50 |
.ifdef (WITHOUT_AUDIO) |
| 51 |
CONFIGURE_ARGS+= --without-audio |
| 52 |
.else |
| 53 |
LIB_DEPENDS+= audio.2:${PORTSDIR}/audio/nas |
| 54 |
CONFIGURE_ARGS+= --with-audio=nas |
| 55 |
.endif |
| 56 |
|
| 57 |
.ifdef (WITH_MMX) |
| 58 |
CONFIGURE_ARGS+= --enable-mpg-mmx |
| 59 |
.endif |
| 60 |
|
| 51 |
MAKEFILE= Makefile |
61 |
MAKEFILE= Makefile |
| 52 |
.ifdef (CC) |
62 |
.ifdef (CC) |
| 53 |
MAKE_ARGS+= CC=${CC} |
63 |
MAKE_ARGS+= CC=${CC} |
|
Lines 75-81
Link Here
|
| 75 |
(cd ${PREFIX}/share/squeak && ${GZIP_CMD} ${file}) |
85 |
(cd ${PREFIX}/share/squeak && ${GZIP_CMD} ${file}) |
| 76 |
.endfor |
86 |
.endfor |
| 77 |
# install inisqueak and change the build in version number on the fly |
87 |
# install inisqueak and change the build in version number on the fly |
| 78 |
${SED} -e 's|VERSION=3.4-5170|VERSION=3.5-5180|' ${WRKSRC}/build/inisqueak > ${PREFIX}/bin/inisqueak |
88 |
${SED} -e 's|3.4-5170|3.5-5180|' ${WRKSRC}/build/inisqueak > ${PREFIX}/bin/inisqueak |
| 79 |
${CHMOD} 755 ${PREFIX}/bin/inisqueak |
89 |
${CHMOD} 755 ${PREFIX}/bin/inisqueak |
| 80 |
${STRIP_CMD} ${PREFIX}/share/squeak/${SQUEAK_VERSION}/squeak |
90 |
${STRIP_CMD} ${PREFIX}/share/squeak/${SQUEAK_VERSION}/squeak |
| 81 |
${CAT} ${PKGMESSAGE} |
91 |
${CAT} ${PKGMESSAGE} |