b1de06d819
* fix on non-native arch (sparc64) * use OASIS configure_style to simplify port From: Christopher Zimmermann <madroach@gmerlin.de>
36 lines
850 B
Makefile
36 lines
850 B
Makefile
# $OpenBSD: Makefile,v 1.4 2012/08/18 22:22:41 avsm Exp $
|
|
|
|
COMMENT = OCaml Perl-compatible regexp library
|
|
CATEGORIES = devel textproc
|
|
|
|
V = 7.0.2
|
|
NAME = ocaml-pcre
|
|
DISTNAME = pcre-ocaml-$V
|
|
PKGNAME = ${NAME}-$V
|
|
MASTER_SITES = https://bitbucket.org/mmottl/pcre-ocaml/downloads/
|
|
|
|
HOMEPAGE = https://bitbucket.org/mmottl/pcre-ocaml/
|
|
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
|
|
MODULES = lang/ocaml
|
|
|
|
BUILD_DEPENDS = sysutils/findlib
|
|
LIB_DEPENDS = devel/pcre
|
|
WANTLIB = pcre
|
|
|
|
CONFIGURE_STYLE = oasis
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/${NAME}
|
|
@cp -R ${WRKDIST}/examples/* ${PREFIX}/share/examples/${NAME}/
|
|
@chmod -R a-w ${PREFIX}/share/examples/${NAME}/*
|
|
${INSTALL_DATA} ${FILESDIR}/README ${PREFIX}/share/examples/${NAME}/
|
|
|
|
.include <bsd.port.mk>
|