aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ctypes.sh/Makefile
blob: a9cf1118e42a2e89aab9ecd595ef684a019f251b (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
PORTNAME=	ctypes.sh
PORTVERSION=	1.2
PORTREVISION=	2
CATEGORIES=	devel
MASTER_SITES=	https://github.com/taviso/${PORTNAME}/releases/download/v${PORTVERSION}/
DISTNAME=	ctypes-sh-${PORTVERSION}

MAINTAINER=	bofh@FreeBSD.org
COMMENT=	Foreign function interface for bash
WWW=		https://github.com/taviso/ctypes.sh

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/COPYING

BUILD_DEPENDS=	bash:shells/bash
LIB_DEPENDS=	libffi.so:devel/libffi
RUN_DEPENDS=	bash:shells/bash

USES=		autoreconf libtool pkgconfig
GNU_CONFIGURE=	yes
INSTALL_TARGET=	install-strip

PLIST_FILES=	bin/ctypes.sh lib/ctypes.so

pre-patch:
	${RM} ${WRKSRC}/include/config.h

.include <bsd.port.mk>