From nobody Mon May 06 12:03:04 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VY0RF0LQMz5K4Vc; Mon, 06 May 2024 12:03:05 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VY0RD6WvYz464P; Mon, 6 May 2024 12:03:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714996984; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=83z+0ncznK7BZmIoiNriK1M/3A6/Nlhydb+t+sytUSY=; b=pVvbYKoUq91BKIT8/LCP+y+ewUtaMnu/bJdSIe+gowY/dfvnFbvmsewUQ4XDj/uC8g0wkX Vxq+jDC5ZBsPTqcGXgCWQ3WSEOx9CE2GsYGsAEsUJCgjTRvU9lQPRX6oN5QUHvFTnS/rVc KKQvnda8q8eGfHrM5WUOf8Nq9BWGS10q2Lzaa1NS1H8n5Po3z2f2nFVwjFvT4vyv74l7jl metghrUUGbz3d4MQpfqLKykOPKHrkYkUzdIR89c4t7CdonDw0C3wiWYVp/bIka2lQT15mk keVASgyUQlLxnI2xNLvswht1n/+v5lX9TuT9/ON9zghl/Ko5mVYPFkyKdCN3EA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714996984; a=rsa-sha256; cv=none; b=xuPi6Vn9ix4WxpUfSyq8rCr07tHEkMo/9QG+tmsvJ23TnfixR+Fa1q0HWmEZ8+RXjTDHWC d1uxoHY4l7J08GOIb9sVcAPFBOo09/Mi2jc8xDvVzUjqZEaTfu3BvrmuuCOcb08SZlXgyt UxWeCqfLotWw3p9dE4pbIYrusy9YujPKHKTm/swoDN+lCpoGYj8pzUQ3EInb1mnardHBHl O+VUwPFK6kjvqAEYM+XWlVmqJ6EVZJx+Z1Pdt2nvnU1f/uQYJ8qHraeKKBAsP8cv1aSnL8 mfR58bsxV4Iz9uwC87Qhb9Mi2lac6cE2S80PTpjggb2smf7ruFklF3FOHnWejw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714996984; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=83z+0ncznK7BZmIoiNriK1M/3A6/Nlhydb+t+sytUSY=; b=W0pzrOF5BaWCZSa9QoQxw00xDULcCkjQlWzuDcXD/BTA1sv/AtRBcvEYRNW+57uQBtBAcL swXLZ2MMo7G4mCG4TZpSNWXyuW1sNMyxTCrV9zh+Lck1dBlYUDs0KjS9CTRVweehzFuupu ZNNKLUPUrr2xhkCW3DHAfKXw6BNGVhsmsHoY39Ilmijqh/nUTaADrvCtKrMKZdKgEstcNX pcinJCokB5ARvfi7yIVCkXu0eu0O/0s8U5UYI7kxmP3Vat5OD7ySNfhoWegq6LGZm9cR6m irTOUH2f1W2svmUk8Tlgq1XsyBbVmHZb+sMFs4TePAoiFuhanR2F9H6saTmtkg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VY0RD5q60zwyC; Mon, 6 May 2024 12:03:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 446C34Sf098573; Mon, 6 May 2024 12:03:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 446C34S7098570; Mon, 6 May 2024 12:03:04 GMT (envelope-from git) Date: Mon, 6 May 2024 12:03:04 GMT Message-Id: <202405061203.446C34S7098570@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Wen Heping Subject: git: b01c9e078c07 - main - www/openemr: Add new port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: wen X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b01c9e078c07b4d9e6f981f5cd92e76d6f5ff0c3 Auto-Submitted: auto-generated The branch main has been updated by wen: URL: https://cgit.FreeBSD.org/ports/commit/?id=b01c9e078c07b4d9e6f981f5cd92e76d6f5ff0c3 commit b01c9e078c07b4d9e6f981f5cd92e76d6f5ff0c3 Author: Wen Heping AuthorDate: 2024-05-06 12:01:00 +0000 Commit: Wen Heping CommitDate: 2024-05-06 12:02:13 +0000 www/openemr: Add new port OpenEMR is a Free and Open Source electronic health records and medical practice management application. It is ONC Certified and it features fully integrated electronic health records, practice management, scheduling, electronic billing, internationalization, free support, a vibrant community, and a whole lot more. --- www/Makefile | 1 + www/openemr/Makefile | 39 +++++++++++++++++++++++++++++++++++++++ www/openemr/distinfo | 3 +++ www/openemr/files/pkg-message.in | 26 ++++++++++++++++++++++++++ www/openemr/pkg-descr | 5 +++++ 5 files changed, 74 insertions(+) diff --git a/www/Makefile b/www/Makefile index 101edbb5d931..730a7d93ffde 100644 --- a/www/Makefile +++ b/www/Makefile @@ -491,6 +491,7 @@ SUBDIR += onionshare-cli SUBDIR += onlyoffice-documentserver SUBDIR += opencart + SUBDIR += openemr SUBDIR += openresty SUBDIR += orangehrm SUBDIR += osrm-backend diff --git a/www/openemr/Makefile b/www/openemr/Makefile new file mode 100644 index 000000000000..ed9c745c091a --- /dev/null +++ b/www/openemr/Makefile @@ -0,0 +1,39 @@ +PORTNAME= openemr +PORTVERSION= 7.0.2 +CATEGORIES= www +MASTER_SITES= SF/openemr/OpenEMR%20Current/${PORTVERSION}/ +PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} + +MAINTAINER= wen@FreeBSD.org +COMMENT= Electronic health records and medical practice management application +WWW= https://www.open-emr.org/ + +LICENSE= GPLv3 +LICENSE_FILES= ${WRKSRC}/LICENSE + +USES= cpe php:flavors +USE_PHP= ctype curl gd json ldap mcrypt \ + mbstring openssl pdo pdo_mysql \ + session xml xmlreader xmlrpc xsl zip zlib + +NO_BUILD= yes +PLIST= ${WRKDIR}/plist +SUB_FILES= pkg-message +SUB_LIST= OPENEMRDIR=${OPENEMRDIR} + +OPENEMRDIR?= www/openemr + +post-patch: + @${RM} -rf ${WRKSRC}/.g* + @${RM} -rf ${WRKSRC}/.e* + @${RM} -rf ${WRKSRC}/.s* + +pre-install: + @${FIND} -s -d ${WRKSRC} -type f | ${SED} "s?${WRKSRC}?${OPENEMRDIR}?g" >>${PLIST} + @${FIND} -s -d ${WRKSRC} -type l | ${SED} "s?${WRKSRC}?${OPENEMRDIR}?g" >>${PLIST} + @${FIND} -s -d ${WRKSRC} -type d | ${SED} "s?${WRKSRC}?@dir ${OPENEMRDIR}?g" >> ${PLIST} + +do-install: + @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${OPENEMRDIR} + +.include diff --git a/www/openemr/distinfo b/www/openemr/distinfo new file mode 100644 index 000000000000..96f94b2a3a16 --- /dev/null +++ b/www/openemr/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1714915935 +SHA256 (openemr-7.0.2.tar.gz) = 70fded3f6f6dc0817b390ff32f442abd915198b8680369b0112b42d54bae1694 +SIZE (openemr-7.0.2.tar.gz) = 209854194 diff --git a/www/openemr/files/pkg-message.in b/www/openemr/files/pkg-message.in new file mode 100644 index 000000000000..1bebbb3aa69c --- /dev/null +++ b/www/openemr/files/pkg-message.in @@ -0,0 +1,26 @@ +[ +{ type: install + message: < + AllowOverride None + Require all granted + + +2) Visit your OpenEMR site with a browser (i.e., + http://your.server.com/openemr/), and you should + be taken to the install script, which will lead + you through the installation step by step. + +For more information, see the INSTALL DOCUMENTATION: + + https://www.open-emr.org/wiki/index.php/OpenEMR_Installation_Guides + +EOM +} +] diff --git a/www/openemr/pkg-descr b/www/openemr/pkg-descr new file mode 100644 index 000000000000..0d60dbcf617f --- /dev/null +++ b/www/openemr/pkg-descr @@ -0,0 +1,5 @@ +OpenEMR is a Free and Open Source electronic health records and medical +practice management application. It is ONC Certified and it features +fully integrated electronic health records, practice management, scheduling, +electronic billing, internationalization, free support, a vibrant community, +and a whole lot more.