summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authormaya <maya@pkgsrc.org>2017-08-01 15:51:52 +0000
committermaya <maya@pkgsrc.org>2017-08-01 15:51:52 +0000
commit637323ae992c2e6c5ca53c3bee9803e867fe939d (patch)
tree543c3e8c438f45d2dfebd46e6e507a7016c7564c /devel
parent3d97a2cf2c5ed3e01996c91773832872bec1138b (diff)
downloadpkgsrc-637323ae992c2e6c5ca53c3bee9803e867fe939d.tar.gz
Add objfw version 0.90
ObjFW is a highly portable, lightweight, general purpose, open source Objective-C framework with full Objective-C 2.0, blocks and ARC support, providing not only basic classes like strings, arrays and dictionaries, but also providing abstractions for OS-dependant functionality like asynchronous sockets. While a lot of the core API is similar to Foundation, it breaks with Foundation's API on purpose in many places to embrace new features which Foundation can't use completely due to its backwards compatibility. One such example are exceptions, which are a first class citizen in ObjFW and not merely to inform the programmer of his wrongdoings like in Foundation. ObjFW runs on a huge list of platforms and offers the same API on all of them so that software written using ObjFW runs on all platforms supported by ObjFW without #ifdef hells or the like. It does not only run on almost any POSIX system that supports GCC >= 4, but it also works on Windows and niche platforms like the PlayStation Portable. Written and packaged by Jonathan Schleifer <js@heap.zone>
Diffstat (limited to 'devel')
-rw-r--r--devel/objfw/DESCR18
-rw-r--r--devel/objfw/Makefile27
-rw-r--r--devel/objfw/PLIST204
-rw-r--r--devel/objfw/PLIST.bridge18
-rw-r--r--devel/objfw/PLIST.runtime6
-rw-r--r--devel/objfw/distinfo6
6 files changed, 279 insertions, 0 deletions
diff --git a/devel/objfw/DESCR b/devel/objfw/DESCR
new file mode 100644
index 00000000000..c44f5410a79
--- /dev/null
+++ b/devel/objfw/DESCR
@@ -0,0 +1,18 @@
+ObjFW is a highly portable, lightweight, general purpose, open source
+Objective-C framework with full Objective-C 2.0, blocks and ARC support,
+providing not only basic classes like strings, arrays and dictionaries,
+but also providing abstractions for OS-dependant functionality like
+asynchronous sockets.
+
+While a lot of the core API is similar to Foundation, it breaks with
+Foundation's API on purpose in many places to embrace new features which
+Foundation can't use completely due to its backwards compatibility. One
+such example are exceptions, which are a first class citizen in ObjFW
+and not merely to inform the programmer of his wrongdoings like in
+Foundation.
+
+ObjFW runs on a huge list of platforms and offers the same API on all of
+them so that software written using ObjFW runs on all platforms
+supported by ObjFW without #ifdef hells or the like. It does not only
+run on almost any POSIX system that supports GCC >= 4, but it also works
+on Windows and niche platforms like the PlayStation Portable.
diff --git a/devel/objfw/Makefile b/devel/objfw/Makefile
new file mode 100644
index 00000000000..6ae797b1651
--- /dev/null
+++ b/devel/objfw/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 2017/08/01 15:51:52 maya Exp $
+
+DISTNAME= objfw-0.90
+CATEGORIES= devel
+MASTER_SITES= https://heap.zone/objfw/downloads/
+
+MAINTAINER= js@heap.zone
+HOMEPAGE= https://heap.zone/objfw/
+COMMENT= Portable, lightweight framework for the Objective-C language
+LICENSE= qpl-v1.0 OR gnu-gpl-v2 OR gnu-gpl-v3
+
+GNU_CONFIGURE= yes
+USE_LANGUAGES= objc
+CONFIGURE_ARGS+= --enable-static
+CONFIGURE_ARGS+= OBJCFLAGS=${CFLAGS:M*:Q} LDFLAGS=${LDFLAGS:M*:Q}
+
+.include "../../mk/bsd.prefs.mk"
+
+PLIST_SRC= PLIST
+
+.if ${OPSYS} != "Darwin"
+PLIST_SRC+= ${PKGDIR}/PLIST.runtime
+.else
+PLIST_SRC+= ${PKGDIR}/PLIST.bridge
+.endif
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/objfw/PLIST b/devel/objfw/PLIST
new file mode 100644
index 00000000000..3117ed96594
--- /dev/null
+++ b/devel/objfw/PLIST
@@ -0,0 +1,204 @@
+@comment $NetBSD: PLIST,v 1.1 2017/08/01 15:51:52 maya Exp $
+bin/objfw-compile
+bin/objfw-config
+bin/objfw-new
+bin/ofhash
+bin/ofhttp
+bin/ofzip
+include/ObjFW/OFAcceptFailedException.h
+include/ObjFW/OFAddressTranslationFailedException.h
+include/ObjFW/OFAllocFailedException.h
+include/ObjFW/OFAlreadyConnectedException.h
+include/ObjFW/OFApplication.h
+include/ObjFW/OFArray.h
+include/ObjFW/OFAutoreleasePool.h
+include/ObjFW/OFBindFailedException.h
+include/ObjFW/OFBlock.h
+include/ObjFW/OFChangeCurrentDirectoryPathFailedException.h
+include/ObjFW/OFChangeOwnerFailedException.h
+include/ObjFW/OFChangePermissionsFailedException.h
+include/ObjFW/OFChecksumFailedException.h
+include/ObjFW/OFCollection.h
+include/ObjFW/OFCondition.h
+include/ObjFW/OFConditionBroadcastFailedException.h
+include/ObjFW/OFConditionSignalFailedException.h
+include/ObjFW/OFConditionStillWaitingException.h
+include/ObjFW/OFConditionWaitFailedException.h
+include/ObjFW/OFConnectionFailedException.h
+include/ObjFW/OFConstantString.h
+include/ObjFW/OFCopyItemFailedException.h
+include/ObjFW/OFCountedSet.h
+include/ObjFW/OFCreateDirectoryFailedException.h
+include/ObjFW/OFCreateSymbolicLinkFailedException.h
+include/ObjFW/OFCryptoHash.h
+include/ObjFW/OFData+CryptoHashing.h
+include/ObjFW/OFData+MessagePackValue.h
+include/ObjFW/OFData.h
+include/ObjFW/OFDate.h
+include/ObjFW/OFDictionary.h
+include/ObjFW/OFEnumerationMutationException.h
+include/ObjFW/OFEnumerator.h
+include/ObjFW/OFException.h
+include/ObjFW/OFFile.h
+include/ObjFW/OFFileManager.h
+include/ObjFW/OFGZIPStream.h
+include/ObjFW/OFGetOptionFailedException.h
+include/ObjFW/OFHMAC.h
+include/ObjFW/OFHTTPClient.h
+include/ObjFW/OFHTTPCookie.h
+include/ObjFW/OFHTTPCookieManager.h
+include/ObjFW/OFHTTPRequest.h
+include/ObjFW/OFHTTPRequestFailedException.h
+include/ObjFW/OFHTTPResponse.h
+include/ObjFW/OFHTTPServer.h
+include/ObjFW/OFHashAlreadyCalculatedException.h
+include/ObjFW/OFINICategory.h
+include/ObjFW/OFINIFile.h
+include/ObjFW/OFInflate64Stream.h
+include/ObjFW/OFInflateStream.h
+include/ObjFW/OFInitializationFailedException.h
+include/ObjFW/OFIntrospection.h
+include/ObjFW/OFInvalidArgumentException.h
+include/ObjFW/OFInvalidEncodingException.h
+include/ObjFW/OFInvalidFormatException.h
+include/ObjFW/OFInvalidJSONException.h
+include/ObjFW/OFInvalidServerReplyException.h
+include/ObjFW/OFJSONRepresentation.h
+include/ObjFW/OFKernelEventObserver.h
+include/ObjFW/OFKeyValueCoding.h
+include/ObjFW/OFLinkFailedException.h
+include/ObjFW/OFList.h
+include/ObjFW/OFListenFailedException.h
+include/ObjFW/OFLocalization.h
+include/ObjFW/OFLockFailedException.h
+include/ObjFW/OFLocking.h
+include/ObjFW/OFMD5Hash.h
+include/ObjFW/OFMalformedXMLException.h
+include/ObjFW/OFMapTable.h
+include/ObjFW/OFMemoryNotPartOfObjectException.h
+include/ObjFW/OFMessagePackExtension.h
+include/ObjFW/OFMessagePackRepresentation.h
+include/ObjFW/OFMoveItemFailedException.h
+include/ObjFW/OFMutableArray.h
+include/ObjFW/OFMutableData.h
+include/ObjFW/OFMutableDictionary.h
+include/ObjFW/OFMutableSet.h
+include/ObjFW/OFMutableString.h
+include/ObjFW/OFMutableURL.h
+include/ObjFW/OFMutex.h
+include/ObjFW/OFNotImplementedException.h
+include/ObjFW/OFNotOpenException.h
+include/ObjFW/OFNull.h
+include/ObjFW/OFNumber.h
+include/ObjFW/OFObject+KeyValueCoding.h
+include/ObjFW/OFObject+Serialization.h
+include/ObjFW/OFObject.h
+include/ObjFW/OFObserveFailedException.h
+include/ObjFW/OFOpenItemFailedException.h
+include/ObjFW/OFOptionsParser.h
+include/ObjFW/OFOutOfMemoryException.h
+include/ObjFW/OFOutOfRangeException.h
+include/ObjFW/OFPlugin.h
+include/ObjFW/OFProcess.h
+include/ObjFW/OFRIPEMD160Hash.h
+include/ObjFW/OFReadFailedException.h
+include/ObjFW/OFReadOrWriteFailedException.h
+include/ObjFW/OFRecursiveMutex.h
+include/ObjFW/OFRemoveItemFailedException.h
+include/ObjFW/OFRunLoop.h
+include/ObjFW/OFSHA1Hash.h
+include/ObjFW/OFSHA224Hash.h
+include/ObjFW/OFSHA224Or256Hash.h
+include/ObjFW/OFSHA256Hash.h
+include/ObjFW/OFSHA384Hash.h
+include/ObjFW/OFSHA384Or512Hash.h
+include/ObjFW/OFSHA512Hash.h
+include/ObjFW/OFSandbox.h
+include/ObjFW/OFSandboxActivationFailedException.h
+include/ObjFW/OFSeekFailedException.h
+include/ObjFW/OFSeekableStream.h
+include/ObjFW/OFSerialization.h
+include/ObjFW/OFSet.h
+include/ObjFW/OFSetOptionFailedException.h
+include/ObjFW/OFSettings.h
+include/ObjFW/OFSortedList.h
+include/ObjFW/OFStatItemFailedException.h
+include/ObjFW/OFStdIOStream.h
+include/ObjFW/OFStillLockedException.h
+include/ObjFW/OFStream.h
+include/ObjFW/OFStreamSocket.h
+include/ObjFW/OFString+CryptoHashing.h
+include/ObjFW/OFString+JSONValue.h
+include/ObjFW/OFString+Serialization.h
+include/ObjFW/OFString+URLEncoding.h
+include/ObjFW/OFString+XMLEscaping.h
+include/ObjFW/OFString+XMLUnescaping.h
+include/ObjFW/OFString.h
+include/ObjFW/OFSystemInfo.h
+include/ObjFW/OFTCPSocket.h
+include/ObjFW/OFTLSSocket.h
+include/ObjFW/OFTarArchive.h
+include/ObjFW/OFTarArchiveEntry.h
+include/ObjFW/OFThread.h
+include/ObjFW/OFThreadJoinFailedException.h
+include/ObjFW/OFThreadPool.h
+include/ObjFW/OFThreadStartFailedException.h
+include/ObjFW/OFThreadStillRunningException.h
+include/ObjFW/OFTimer.h
+include/ObjFW/OFTruncatedDataException.h
+include/ObjFW/OFUDPSocket.h
+include/ObjFW/OFURL.h
+include/ObjFW/OFUnboundNamespaceException.h
+include/ObjFW/OFUnboundPrefixException.h
+include/ObjFW/OFUndefinedKeyException.h
+include/ObjFW/OFUnknownXMLEntityException.h
+include/ObjFW/OFUnlockFailedException.h
+include/ObjFW/OFUnsupportedProtocolException.h
+include/ObjFW/OFUnsupportedVersionException.h
+include/ObjFW/OFWriteFailedException.h
+include/ObjFW/OFXMLAttribute.h
+include/ObjFW/OFXMLCDATA.h
+include/ObjFW/OFXMLCharacters.h
+include/ObjFW/OFXMLComment.h
+include/ObjFW/OFXMLElement+Serialization.h
+include/ObjFW/OFXMLElement.h
+include/ObjFW/OFXMLElementBuilder.h
+include/ObjFW/OFXMLNode.h
+include/ObjFW/OFXMLParser.h
+include/ObjFW/OFXMLProcessingInstructions.h
+include/ObjFW/OFZIPArchive.h
+include/ObjFW/OFZIPArchiveEntry.h
+include/ObjFW/ObjFW.h
+include/ObjFW/atomic.h
+include/ObjFW/atomic_builtins.h
+include/ObjFW/atomic_no_threads.h
+include/ObjFW/atomic_osatomic.h
+include/ObjFW/atomic_powerpc.h
+include/ObjFW/atomic_sync_builtins.h
+include/ObjFW/atomic_x86.h
+include/ObjFW/autorelease.h
+include/ObjFW/base64.h
+include/ObjFW/block.h
+include/ObjFW/crc32.h
+include/ObjFW/instance.h
+include/ObjFW/macros.h
+include/ObjFW/objfw-defs.h
+include/ObjFW/of_asprintf.h
+include/ObjFW/of_strptime.h
+include/ObjFW/pbkdf2.h
+include/ObjFW/platform.h
+include/ObjFW/resolver.h
+include/ObjFW/scrypt.h
+include/ObjFW/socket.h
+include/ObjFW/threading.h
+include/ObjFW/unicode.h
+lib/libobjfw.a
+lib/libobjfw.so
+lib/libobjfw.so.8
+lib/libobjfw.so.8.0.0
+share/ofhash/lang/de.json
+share/ofhash/lang/languages.json
+share/ofhttp/lang/de.json
+share/ofhttp/lang/languages.json
+share/ofzip/lang/de.json
+share/ofzip/lang/languages.json
diff --git a/devel/objfw/PLIST.bridge b/devel/objfw/PLIST.bridge
new file mode 100644
index 00000000000..f5468176064
--- /dev/null
+++ b/devel/objfw/PLIST.bridge
@@ -0,0 +1,18 @@
+@comment $NetBSD: PLIST.bridge,v 1.1 2017/08/01 15:51:52 maya Exp $
+include/ObjFW_Bridge/NSArray+OFObject.h
+include/ObjFW_Bridge/NSArray_OFArray.h
+include/ObjFW_Bridge/NSBridging.h
+include/ObjFW_Bridge/NSDictionary+OFObject.h
+include/ObjFW_Bridge/NSDictionary_OFDictionary.h
+include/ObjFW_Bridge/NSString+OFObject.h
+include/ObjFW_Bridge/OFArray+NSObject.h
+include/ObjFW_Bridge/OFArray_NSArray.h
+include/ObjFW_Bridge/OFBridging.h
+include/ObjFW_Bridge/OFDictionary+NSObject.h
+include/ObjFW_Bridge/OFDictionary_NSDictionary.h
+include/ObjFW_Bridge/OFString+NSObject.h
+include/ObjFW_Bridge/ObjFW_Bridge.h
+lib/libobjfw-bridge.8.0.dylib
+lib/libobjfw-bridge.8.dylib
+lib/libobjfw-bridge.a
+lib/libobjfw-bridge.dylib
diff --git a/devel/objfw/PLIST.runtime b/devel/objfw/PLIST.runtime
new file mode 100644
index 00000000000..ab15b64dd52
--- /dev/null
+++ b/devel/objfw/PLIST.runtime
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST.runtime,v 1.1 2017/08/01 15:51:52 maya Exp $
+include/ObjFW-RT/ObjFW-RT.h
+lib/libobjfw-rt.a
+lib/libobjfw-rt.so
+lib/libobjfw-rt.so.0
+lib/libobjfw-rt.so.0.0.0
diff --git a/devel/objfw/distinfo b/devel/objfw/distinfo
new file mode 100644
index 00000000000..5b353d69e05
--- /dev/null
+++ b/devel/objfw/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/08/01 15:51:52 maya Exp $
+
+SHA1 (objfw-0.90.tar.gz) = 295f2efb40ba10bec955fd894f7ae8661cb8ae1f
+RMD160 (objfw-0.90.tar.gz) = 91270c57b6a32317c59cad2da1274341d2334bfc
+SHA512 (objfw-0.90.tar.gz) = a9661bc88cf3cad42b334fe1065c459a5b75fdffd764ffdf7340268422990644b467ee7a6e4731c715c31e49dae6788d94fc5e528c4dac9b5c7d0a7c9e2e8006
+Size (objfw-0.90.tar.gz) = 619601 bytes