Added NetBSD and OpenBSD ports
This commit is contained in:
parent
4f9efcd726
commit
22d125bfab
9 changed files with 134 additions and 0 deletions
1
contrib/netbsd/DESCR
Normal file
1
contrib/netbsd/DESCR
Normal file
|
|
@ -0,0 +1 @@
|
|||
Parser combinators! In C!
|
||||
32
contrib/netbsd/Makefile
Normal file
32
contrib/netbsd/Makefile
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
# $NetBSD$
|
||||
VERSION= 1.0.0-rc3
|
||||
DISTNAME= hammer-${VERSION}
|
||||
DISTFILES= v${VERSION}${EXTRACT_SUFX}
|
||||
CATEGORIES= devel
|
||||
LICENSE= gnu-gpl-v2
|
||||
MASTER_SITES= https://github.com/UpstandingHackers/hammer/archive/
|
||||
MAINTAINER= thequux@upstandinghackers.com
|
||||
HOMEPAGE= http://github.com/UpstandingHackers/hammer
|
||||
COMMENT= Parser combinator library in C
|
||||
|
||||
USE_TOOLS+= gtar
|
||||
USE_LANGUAGES= c c++
|
||||
#TOOLS_GTAR= ${TOOL_GTAR}
|
||||
FETCH_USING:= fetch
|
||||
EXTRACT_USING= gtar
|
||||
BUILD_DEPENDS+= scons-[0-9]*:../../devel/scons
|
||||
|
||||
FIND_PREFIX:= SCONSDIR=scons
|
||||
.include "../../mk/find-prefix.mk"
|
||||
|
||||
SCONS_ARGS= --variant=opt DESTDIR=${DESTDIR} prefix=${PREFIX}
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC} && ${SCONSDIR}/bin/scons ${SCONS_ARGS}
|
||||
|
||||
do-install:
|
||||
cd ${WRKSRC} && ${SCONSDIR}/bin/scons ${SCONS_ARGS} install
|
||||
|
||||
|
||||
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
11
contrib/netbsd/PLIST
Normal file
11
contrib/netbsd/PLIST
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
@comment $NetBSD$
|
||||
include/hammer/internal.h
|
||||
include/hammer/allocator.h
|
||||
include/hammer/parsers/parser_internal.h
|
||||
include/hammer/backends/regex.h
|
||||
include/hammer/backends/contextfree.h
|
||||
include/hammer/glue.h
|
||||
include/hammer/hammer.h
|
||||
lib/libhammer.so
|
||||
lib/libhammer.a
|
||||
lib/pkgconfig/libhammer.pc
|
||||
5
contrib/netbsd/distinfo
Normal file
5
contrib/netbsd/distinfo
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
$NetBSD$
|
||||
|
||||
SHA1 (v1.0.0-rc3.tar.gz) = 3e578d7f0e0a201aea7707c6041e48ec10ed7609
|
||||
RMD160 (v1.0.0-rc3.tar.gz) = c5863519d945dd63444bc478d0dac9abdc2a9a4b
|
||||
Size (v1.0.0-rc3.tar.gz) = 1335437 bytes
|
||||
Loading…
Add table
Add a link
Reference in a new issue