mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
36 lines
641 B
Makefile
36 lines
641 B
Makefile
# Created by: Zhihao Yuan <lichray@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pure-rational
|
|
PORTVERSION= 0.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= math
|
|
MASTER_SITES= https://cdn.bitbucket.org/purelang/pure-lang/downloads/
|
|
DIST_SUBDIR= pure
|
|
|
|
MAINTAINER= lichray@gmail.com
|
|
COMMENT= Rational number library for the Pure language
|
|
|
|
LICENSE= GPLv3
|
|
|
|
USES= pure
|
|
|
|
PLIST_FILES= lib/pure/rational.pure \
|
|
lib/pure/rat_interval.pure
|
|
|
|
NO_STAGE= yes
|
|
|
|
PORTDOCS= README
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-install:
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
@${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|