Support STAGE, and use new LIB_DEPENDS syntax. Fix: Please apply patch below: diff -ru /usr/ports/lang/squeak/Makefile squeak/Makefile --- /usr/ports/lang/squeak/Makefile 2014-03-02 06:23:14.000000000 +0900 +++ squeak/Makefile 2014-07-25 13:49:25.787774241 +0900 @@ -25,12 +25,12 @@ BUILD_DEPENDS= ${UNZIP_CMD}:${PORTSDIR}/archivers/unzip \ cmake:${PORTSDIR}/devel/cmake \ v4l_compat>=1.0.20120501:${PORTSDIR}/multimedia/v4l_compat -LIB_DEPENDS= audio:${PORTSDIR}/audio/nas \ - ffi:${PORTSDIR}/devel/libffi \ - asound:${PORTSDIR}/audio/alsa-lib \ - pulse-simple:${PORTSDIR}/audio/pulseaudio \ - gstreamer:${PORTSDIR}/multimedia/gstreamer \ - v4l2:${PORTSDIR}/multimedia/libv4l +LIB_DEPENDS= libaudio.so:${PORTSDIR}/audio/nas \ + libffi.so:${PORTSDIR}/devel/libffi \ + libasound.so:${PORTSDIR}/audio/alsa-lib \ + libpulse-simple.so:${PORTSDIR}/audio/pulseaudio \ + libgstreamer-0.10.so:${PORTSDIR}/multimedia/gstreamer \ + libv4l2.so:${PORTSDIR}/multimedia/libv4l ################################################## VM_VERSION= ${PORTVERSION}.${SVNVERSION} @@ -40,7 +40,6 @@ SQUEAK_LIB_DIR= ${PORTVERSION}-${SVNVERSION} USES= pkgconfig -NO_STAGE= yes .include <bsd.port.pre.mk> ################################################## @@ -56,7 +55,7 @@ SHAREMODE= 644 # shared Libaries are to be installed in: -LDCONFIG_DIRS= ${PREFIX}/lib/squeak/${VM_VERSION} +LDCONFIG_DIRS= ${STAGEDIR}${PREFIX}/lib/squeak/${VM_VERSION} IMAGES= Squeak${IMAGEVERSION}/Squeak${IMAGEVERSION}.image \ Squeak${IMAGEVERSION}/Squeak${IMAGEVERSION}.changes @@ -92,11 +91,15 @@ @${MKDIR} ${CONFIGURE_WRKSRC} ################################################## +pre-install: + ${MKDIR} -p ${STAGEDIR}${PREFIX}/lib/squeak/${SQUEAK_LIB_DIR}/ + +################################################## post-install: - ${GUNZIP_CMD} -c ${DISTDIR}/${DIST_SUBDIR}/${SQUEAK_SRC}.gz > ${WRKDIR}/${SQUEAK_SRC} && ${INSTALL_DATA} ${WRKDIR}/${SQUEAK_SRC} ${PREFIX}/lib/squeak/${SQUEAK_LIB_DIR}/ + ${GUNZIP_CMD} -c ${DISTDIR}/${DIST_SUBDIR}/${SQUEAK_SRC}.gz > ${WRKDIR}/${SQUEAK_SRC} && ${INSTALL_DATA} ${WRKDIR}/${SQUEAK_SRC} ${STAGEDIR}${PREFIX}/lib/squeak/${SQUEAK_LIB_DIR}/ (cd ${DISTDIR}/${DIST_SUBDIR} && ${UNZIP_CMD} -u Squeak${IMAGEVERSION}.zip -d ${WRKDIR}) .for f in ${IMAGES} - (cd ${WRKDIR} && ${INSTALL_DATA} ${f} ${PREFIX}/lib/squeak/) + (cd ${WRKDIR} && ${INSTALL_DATA} ${f} ${STAGEDIR}${PREFIX}/lib/squeak/) .endfor @${CAT} ${PKGMESSAGE} diff -ru /usr/ports/lang/squeak/pkg-plist squeak/pkg-plist --- /usr/ports/lang/squeak/pkg-plist 2014-01-23 00:16:56.000000000 +0900 +++ squeak/pkg-plist 2014-07-25 10:07:08.653693588 +0900 @@ -31,5 +31,6 @@ lib/squeak/%%SQUEAK_LIB_DIR%%/SqueakV41.sources lib/squeak/Squeak4.3.changes lib/squeak/Squeak4.3.image +man/man1/squeak.1.gz @dirrm lib/squeak/%%SQUEAK_LIB_DIR%% @dirrm lib/squeak
Could you please attach the patch again as a file? You have to use the web interface as opposed to send-pr.
A commit references this bug: Author: danfe Date: Wed Jul 30 08:03:10 UTC 2014 New revision: 363453 URL: http://svnweb.freebsd.org/changeset/ports/363453 Log: - Stagify, sort the knobs, remove excessive whitespace and bogus comments - Employ USE_GSTREAMER knob instead of depending on libgstreamer.so - Use consistent separators in patch files (this also deuglifies them) PR: 192234 Changes: head/lang/squeak/Makefile head/lang/squeak/files/patch-unix__plugins_CameraPlugin_sqCamera-linux.c head/lang/squeak/files/patch-unix__plugins_ScratchPlugin_unixSeriaPort2Ops.c head/lang/squeak/files/patch-unix__plugins_SerialPlugin_sqUnixSerial.c head/lang/squeak/files/patch-unix__plugins_UUIDPlugin_config.cmake head/lang/squeak/files/patch-unix__vm__build.cmake head/lang/squeak/files/patch-unix_plugins_CameraPlugin_sqCamera-linux.c head/lang/squeak/files/patch-unix_plugins_ScratchPlugin_unixSeriaPort2Ops.c head/lang/squeak/files/patch-unix_plugins_SerialPlugin_sqUnixSerial.c head/lang/squeak/files/patch-unix_plugins_UUIDPlugin_config.cmake head/lang/squeak/files/patch-unix_vm_build.cmake head/lang/squeak/pkg-plist
I've attempted to stagify this port and cleanup it a bit, but there is more work remains: investigate the problem behind "don't USE_ZIP as this breaks EXTRACT_CMD"; port also has CMake in BUILD_DEPENDS, perhaps it can be converted to USES=cmake? It would also be nice to make PulseAudio plugin and dependency optional: PA is a heavy port, usually not enabled by default in other ports, and many people hate it.