Added FreeBSD port
This commit is contained in:
parent
5ee7982596
commit
20f909ec91
4 changed files with 54 additions and 0 deletions
35
contrib/freebsd/Makefile
Normal file
35
contrib/freebsd/Makefile
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
# Created by thequux for Upstanding Hackers
|
||||
# Copyright (c) 2014 Upstanding Hackers
|
||||
#
|
||||
# The contents of this file are available under the 2-clause BSD
|
||||
# license.
|
||||
|
||||
PORTNAME = hammer
|
||||
PORTVERSION = 0.9
|
||||
CATEGORIES = devel
|
||||
EXTRACT_SUFX = .tar.bz2
|
||||
|
||||
USES = scons
|
||||
|
||||
# MASTER_SITE
|
||||
MAINTAINER = thequux@upstandinghackers.com
|
||||
COMMENT = Parser combinators. In C.
|
||||
|
||||
LICENSE = GPLv2
|
||||
GIT_REV = master
|
||||
GIT_URL = git://github.com/UpstandingHackers/hammer.git
|
||||
|
||||
SCONS_ARGS = --variant=opt DESTDIR=${STAGEDIR} prefix=${LOCALBASE}
|
||||
SCONS_TARGET = all
|
||||
SCONS_INSTALL_TARGET = install
|
||||
|
||||
do-fetch:
|
||||
${MKDIR} ${WRKDIR}
|
||||
git clone -b ${GIT_REV} ${GIT_URL} ${WRKDIR}/${DISTNAME}
|
||||
cd ${WRKDIR}; tar cvfy ${DISTDIR}/${DISTNAME}.tar.bz2 ${DISTNAME}
|
||||
rm -rf ${WRKDIR}/${DISTNAME}
|
||||
|
||||
FETCH_DEPENDS += git:${PORTSDIR}/devel/git
|
||||
|
||||
# TODO: strip libhammer.so
|
||||
.include <bsd.port.mk>
|
||||
Loading…
Add table
Add a link
Reference in a new issue