tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: New bc



Below is the Makefile:

```
# $NetBSD$

DISTNAME=       bc-1.2.8
CATEGORIES=     math
MASTER_SITES=   ${MASTER_SITE_GITHUB:=gavinhoward/}

MAINTAINER=     yzena.tech%gmail.com@localhost
HOMEPAGE=       https://github.com/gavinhoward/bc
COMMENT=        Implementation of POSIX bc with GNU extensions
LICENSE=        2-clause-bsd

HAS_CONFIGURE=          yes
CONFIGURE_SCRIPT=       configure.sh
CONFIGURE_ARGS=         -G
CONFIGURE_ENV=          EXECSUFFIX="-gh" MANDIR="${PREFIX}/man"

do-test:
        make -C ${WRKSRC} install

.include "../../mk/bsd.pkg.mk"
```

Next, the DESCR:

```
Implementation of POSIX bc with GNU extensions

This bc is optimized for use by programmers. It includes several
extensions beyond the GNU extensions for that purpose.
```

Then distinfo:

```
$NetBSD$

SHA1 (bc-1.2.8.tar.gz) = 0ea1c33156ac53fc27bd4627fa5aa5ed848969b4
RMD160 (bc-1.2.8.tar.gz) = 0366d429aae1d464648e38be3f2db1c68c0e95b8
SHA512 (bc-1.2.8.tar.gz) =
6c4ee34b58ac079ae916b3245dcdd5bdd3bca9c9001af24395a22b6b20395e68d97cbdfd59be42754e3bc81e602efd828dc014b7dd2b6756c7df7f717684fba7
Size (bc-1.2.8.tar.gz) = 183925 bytes
```

And finally, PLIST:

```
@comment $NetBSD$
bin/bc-gh
bin/dc-gh
man/man1/bc-gh.1
man/man1/dc-gh.1
```

Of all of these, PLIST is probably incomplete. My bc has locale
support, but my installation of NetBSD (in a VM) does not have any
locales, and my bc is smart enough to know what locales to install and
what not to install. As such, the PLIST does not include any available
locales.

Gavin Howard


Home | Main Index | Thread Index | Old Index