freebsd-ports/textproc/utf8proc/Makefile
2016-12-28 08:00:30 +00:00

37 lines
773 B
Makefile

# Created by: Cheng-Lung Sung <clsung@FreeBSD.org>
# $FreeBSD$
PORTNAME= utf8proc
PORTVERSION= 2.1.0
DISTVERSIONPREFIX= v
CATEGORIES= textproc devel
MAINTAINER= hrs@FreeBSD.org
COMMENT= UTF-8 processing library
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.md
USES= gmake
USE_GITHUB= yes
GH_ACCOUNT= JuliaLang
USE_LDCONFIG= yes
MAKE_ARGS= prefix=${PREFIX}
PLIST_FILES= include/utf8proc.h \
lib/libutf8proc.a \
lib/libutf8proc.so \
lib/libutf8proc.so.2 \
lib/libutf8proc.so.${PORTVERSION}
PORTDOCS= NEWS.md README.md
OPTIONS_DEFINE= DOCS
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libutf8proc.so
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && \
${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>