1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

A very simple package providing a cross-platform means of determining

the hostname.

WWW: http://hackage.haskell.org/package/hostname
This commit is contained in:
Gabor Pali 2010-05-21 21:44:44 +00:00
parent 96986edfa7
commit 261cb67402
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=254755
6 changed files with 39 additions and 0 deletions

View File

@ -56,6 +56,7 @@ HGL_port= graphics/hs-HGL-ghc
highlighting-kate_port= textproc/hs-highlighting-kate-ghc
hint_port= devel/hs-hint
hoogle_port= devel/hs-hoogle # executable
hostname_port= net/hs-hostname
hscolour_port= print/hs-hscolour # executable
hslogger_port= devel/hs-hslogger
hs-bibutils_port= textproc/hs-hs-bibutils

View File

@ -223,6 +223,7 @@
SUBDIR += howl
SUBDIR += hping
SUBDIR += hping-devel
SUBDIR += hs-hostname
SUBDIR += hs-pcap
SUBDIR += htpdate
SUBDIR += http_ping

16
net/hs-hostname/Makefile Normal file
View File

@ -0,0 +1,16 @@
# New ports collection makefile for: hs-hostname
# Date created: May 21, 2010
# Whom: Gabor Pali <pgj@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= hostname
PORTVERSION= 1.0
CATEGORIES= net haskell
MAINTAINER= haskell@FreeBSD.org
COMMENT= Cross-platform means of determining the hostname
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>

3
net/hs-hostname/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (hostname-1.0.tar.gz) = 9389c8634239e5d6096ef563e59a703f
SHA256 (hostname-1.0.tar.gz) = 9b43dab1b6da521f35685b20555da00738c8e136eb972458c786242406a9cf5c
SIZE (hostname-1.0.tar.gz) = 1982

View File

@ -0,0 +1,4 @@
A very simple package providing a cross-platform means of determining
the hostname.
WWW: http://hackage.haskell.org/package/hostname

14
net/hs-hostname/pkg-plist Normal file
View File

@ -0,0 +1,14 @@
@comment $FreeBSD$
%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network/HostName.hi
%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/HS%%PORTNAME%%-%%PORTVERSION%%.o
%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/libHS%%PORTNAME%%-%%PORTVERSION%%.a
%%LIBDIR_REL%%/register.sh
%%NOPORTDOCS%%%%DOCSDIR%%/LICENSE
%%NOPORTDOCS%%@dirrmtry %%DOCSDIR%%
@dirrm %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Network
@dirrm %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%
@dirrm %%LIBDIR_REL%%
@exec /bin/sh %D/%%LIBDIR_REL%%/register.sh
@exec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
@unexec %D/bin/ghc-pkg unregister %%PORTNAME%%-%%PORTVERSION%%
@unexec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old