mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-29 10:18:30 +00:00
- Update to 1.8.
- Add LICENSE. - Add MAKE_JOBS_UNSAFE. - Trim header. PR: ports/172236 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
This commit is contained in:
parent
9d212c4a31
commit
a9583d3109
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=309296
@ -1,13 +1,8 @@
|
||||
# New ports collection makefile for: ocaml-xstrp4
|
||||
# Date created: 2006-08-01
|
||||
# Whom: Stanislav Sedov <ssedov@mbsd.msk.ru>
|
||||
#
|
||||
# $MBSDlabs$
|
||||
# Created by: Stanislav Sedov <ssedov@mbsd.msk.ru>
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= xstrp4
|
||||
PORTVERSION= 1.7
|
||||
PORTVERSION= 1.8
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= http://download.camlcity.org/download/
|
||||
@ -16,36 +11,32 @@ PKGNAMEPREFIX= ocaml-
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= An OCaml extension to expands brace expansions
|
||||
|
||||
LICENSE= MIT
|
||||
|
||||
OPTIONS_DEFINE= EXAMPLES
|
||||
|
||||
USE_GMAKE= yes
|
||||
USE_OCAML= yes
|
||||
USE_OCAML_FINDLIB=yes
|
||||
USE_OCAMLFIND_PLIST=yes
|
||||
|
||||
HAS_CONFIGURE= yes
|
||||
MAKE_JOBS_UNSAFE= yes
|
||||
|
||||
EXAMPLESDIR= ${PREFIX}/share/examples/ocaml/${PORTNAME}
|
||||
EXAMPLESDIR= ${OCAML_EXAMPLESDIR}/${PORTNAME}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
PORTEXAMPLES= *
|
||||
|
||||
post-extract:
|
||||
# For nonstandard prefixes
|
||||
.if !exists(${OCAMLFIND_DESTDIR})
|
||||
${MKDIR} ${OCAMLFIND_DESTDIR}
|
||||
.endif
|
||||
.if !exists(${OCAMLFIND_LDCONF})
|
||||
${TOUCH} ${OCAMLFIND_LDCONF}
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MEXAMPLES}
|
||||
PLIST_DIRSTRY+= ${OCAML_EXAMPLESDIR:S,^${PREFIX}/,,}
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
.if ${PORT_OPTIONS:MEXAMPLES}
|
||||
@${MKDIR} ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/sample.* ${EXAMPLESDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} sample.* ${EXAMPLESDIR})
|
||||
.endif
|
||||
|
||||
@${FIND} ${OCAMLFIND_DESTDIR}/${PORTNAME} -type f | \
|
||||
${SED} "s,^${PREFIX}/,," >> ${TMPPLIST}
|
||||
@${FIND} ${EXAMPLESDIR} -type f | \
|
||||
${SED} "s,^${PREFIX}/,," >> ${TMPPLIST}
|
||||
|
||||
@${ECHO_CMD} "@dirrm share/examples/ocaml/${PORTNAME}" >> ${TMPPLIST}
|
||||
@${ECHO_CMD} "@unexec rmdir %D/share/examples/ocaml 2>/dev/null ||true"\
|
||||
>> ${TMPPLIST}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (xstrp4-1.7.tar.gz) = 105649f9b4722a356485a2d5bce40224b0df29b6a7e821e904accfb86fbb92c9
|
||||
SIZE (xstrp4-1.7.tar.gz) = 8240
|
||||
SHA256 (xstrp4-1.8.tar.gz) = d43e87ef81b62661485597748c8eb30b67794c648e2d936869c32ed033061bc9
|
||||
SIZE (xstrp4-1.8.tar.gz) = 7513
|
||||
|
Loading…
Reference in New Issue
Block a user