aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2016-04-13 18:44:23 +0800
committerjbeich <jbeich@FreeBSD.org>2016-04-13 18:44:23 +0800
commitc7bfb8e2d3f157dbe6c47e27c1c8de2c671b80a0 (patch)
tree70d1b1e6f4380f3d2aa9ecbabd5634c304ea617c /lang
parent3665ef5665c1c7487e93ed2893ad29a66ac4b8be (diff)
downloadfreebsd-ports-gnome-c7bfb8e2d3f157dbe6c47e27c1c8de2c671b80a0.tar.gz
freebsd-ports-gnome-c7bfb8e2d3f157dbe6c47e27c1c8de2c671b80a0.tar.zst
freebsd-ports-gnome-c7bfb8e2d3f157dbe6c47e27c1c8de2c671b80a0.zip
lang/squeak: convert to CONFIGURE_OUTSOURCE
Differential Revision: https://reviews.freebsd.org/D4157
Diffstat (limited to 'lang')
-rw-r--r--lang/squeak/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/lang/squeak/Makefile b/lang/squeak/Makefile
index e7e5f6111f12..c592b9800635 100644
--- a/lang/squeak/Makefile
+++ b/lang/squeak/Makefile
@@ -35,6 +35,7 @@ USES= pkgconfig
USE_GNOME= cairo pango
USE_GL= gl
HAS_CONFIGURE= yes
+CONFIGURE_OUTSOURCE= yes
USE_GSTREAMER= yes
VM_VERSION= ${PORTVERSION}.${SVN_VERSION}
@@ -46,12 +47,9 @@ SQUEAK_SRC= SqueakV46.sources
SQUEAK_LIB_DIR= ${PORTVERSION}-${SVN_VERSION}
WRKSRC= ${WRKDIR}/Squeak-${VM_VERSION}-src
-CONFIGURE_WRKSRC= ${WRKSRC}/build
-BUILD_WRKSRC= ${CONFIGURE_WRKSRC}
-INSTALL_WRKSRC= ${CONFIGURE_WRKSRC}
-CONFIGURE_SCRIPT= ../unix/cmake/configure
+CONFIGURE_SCRIPT= unix/cmake/configure
CONFIGURE_ARGS= --prefix=${PREFIX}
-CMAKE_SOURCE_PATH= ../unix
+CMAKE_SOURCE_PATH= unix
SUB_FILES= pkg-message
SUB_LIST= SQUEAK_LIB_DIR=${SQUEAK_LIB_DIR} \
@@ -72,9 +70,6 @@ post-patch:
@${REINPLACE_CMD} -e 's,return;,return 1;,' \
${WRKSRC}/Cross/plugins/Mpeg3Plugin/libmpeg/video/getpicture.c
-pre-configure:
- @${MKDIR} ${CONFIGURE_WRKSRC}
-
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/squeak/${SQUEAK_LIB_DIR}/so.* \
${STAGEDIR}${PREFIX}/lib/squeak/${SQUEAK_LIB_DIR}/squeakvm \