aboutsummaryrefslogtreecommitdiffstats
path: root/net/pure-sockets/Makefile
blob: d0a76c0413a368661a7415d9a5a192352e8f0952 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Created by: Zhihao Yuan <lichray@gmail.com>
# $FreeBSD$

PORTNAME=   pure-sockets
PORTVERSION=    0.6
PORTREVISION=   1
CATEGORIES= net
MASTER_SITES=   https://cdn.bitbucket.org/purelang/pure-lang/downloads/
DIST_SUBDIR=    pure

MAINTAINER= lichray@gmail.com
COMMENT=    Pure language interface to the Berkeley socket functions

LICENSE=    GPLv3 LGPL3
LICENSE_COMB=   dual

USES=       pure

PLIST_FILES=    lib/pure/sockets.pure \
        lib/pure/sockets.so

NO_STAGE=   yes

PORTDOCS=   README

PORTEXAMPLES=   *

OPTIONS_DEFINE= DOCS EXAMPLES

.include <bsd.port.options.mk>

post-install:
.if ${PORT_OPTIONS:MDOCS}
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif

.if ${PORT_OPTIONS:MEXAMPLES}
    @${MKDIR} ${EXAMPLESDIR}
    @(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
.endif

.include <bsd.port.mk>
| | | | | | | * The check for quoted COMMENTs had a typo. However, this check has been consolidated for other macros that should not be quoted. Merge the COMMENT check into the BROKEN, et al check. [1] * Properly pluralize the message which counts the number of fatal errors and warnings. [2] * Add distinfo checking support. [3] * Huge refactoring of the error handling code. If the -g argument is specified, errors will be grouped together to avoid spamming the console with repeated lines. * Add a check for icon installation, and recommend INSTALLS_ICONS. PR: 97207 [1] 96089 [2] 96923 [3] Submitted by: lawrance [1] ehaupt [2] sem [3] Tested by: mezz * * Update to 2.5.7marcus2004-01-231-10/+24 | | | | | | | | | | | | | | | | | | | | * Fix some grammar nits in portlint.1 * Add some missing options to the summary in portlint.1 * Reorganize some option descriptions in portlint.1 * Add an ENVIRONMENT section describing PL_CVS_IGNORE and PORTSDIR in portlint.1 * Don't check the MAINTAINER field for direct command use [1] * Add a new PL_CVS_IGNORE environment variable that allows users to filter out certain patterns from the CVS files check [2] * Only warn about CATEGORY problems if the user is in PORTSDIR [3] * Sync new command macros with recent bsd.port.mk changes * Correct a regular expression problem when looking for direct command use [4] PR: 61562 [1] 61449 [2] [3] Submitted by: Sergey Matveychuk <sem@ciam.ru> [1] sergei [3] leeym [4] * Ack, I knew I forgot something. Add a new -C argument that enables pedanticmarcus2003-11-231-0/+3 | | | | | | | committer mode. This is the identical to -A except it omits the new port checks. Requested by: eik * Whoops. Flush out my CVS repo, and share some missing bug fixes with themarcus2003-11-021-1/+1 | | | | | | | | | | | rest of the world. * Fix the -V option in the manpage [1] * Handle the case where parentheses may not exist around NOPORTDOCS [2] * Bump version to 2.4.6 Submitted by: mat [1] Reported by: kris [2] * Update to 2.4.1.marcus2003-07-291-1/+3 | | | | | | | | | | | * Document the -V option [1] * Properly suggest ${STRIP_CMD} (not ${STRIP}) instead of strip [2] * Correct the version string PR: 54993 [1] Submitted by: Mark Linimon <linimon@lonesome.com> [1] gerald [2] Pointy hat to: me [2] (I should have used Gerald's patch as-is) * Update to 2.4.0.marcus2003-07-201-0/+1 | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Document the -A option in the usage * Add my name to the list of AUTHORS * Clean up some warnings produced by perl -cwT * Check for the existence of pkg-comment and flag it as FATAL [1] * Add OMF checking support similar to the info checking code * Add support for {DOCS,EXAMPLES}DIR macros [2] * Don't check commented out URLs in MASTER_SITES [3] * Add file, find, strip, and xargs to the list of direct command names [4] * Don't search for command names in COMMENT [5] * Add SITE_PERL support [6] * Add DISTFILE/MASTER_SITE grouping support [7] * Check to make sure the MAINTAINER field contains a valid email address * Add support for {EXTRACT,PATCH}_DEPENDS * Add USE_GETOPT_LONG support [8] PR: 48199 [1] 53371 [2] 43537 [3] 54381 [6] 39487, 44099, 48221 [7] 54497 [8] Submitted by: Sergei Kolobov <sergei@kolobov.com> [2] [8] gerald [4] (file and strip) Oliver Eikemeier <eikemeier@fillmore-labs.com> [6] Reported by: kris and nork [5] * Let the PORTSDIR environment variable override our defaults.gerald2003-02-031-2/+6 | | | | Approved by: mharo (maintainer) * Add -A option for all additional checks.anders2002-11-181-0/+2 | | | | Approved by: (silence from) mharo