aboutsummaryrefslogtreecommitdiff
path: root/devel/skalibs/Makefile
blob: d120c5c5901ca9cf27d8c1c6bf9f4fbf40a9b5a2 (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
29
30
31
32
33
34
35
# Created by: Sergei Kolobov <sergei@kolobov.com>
# $FreeBSD$

PORTNAME=	skalibs
PORTVERSION=	2.6.3.0
CATEGORIES=	devel
MASTER_SITES=	http://www.skarnet.org/software/${PORTNAME}/

MAINTAINER=	colin-ports@heliocat.net
COMMENT=	General purpose C libraries used by skarnet.org software

LICENSE=	ISCL
LICENSE_FILE=	${WRKSRC}/COPYING

USES=		gmake
USE_LDCONFIG=	yes
HAS_CONFIGURE=	yes
CONFIGURE_ARGS=	--prefix=${PREFIX} \
		--with-default-path=${PREFIX}/bin:/usr/bin:/bin

DOCS=		AUTHORS README doc/*.html
OPTIONS_DEFINE=	DOCS

post-install:
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libskarnet.so.${PORTVERSION}

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
.for d in libbiguint libdatastruct librandom libstdcrypto libstddjb libunixonacid
	@${MKDIR} ${STAGEDIR}${DOCSDIR}/${d}
	cd ${WRKSRC} && ${INSTALL_DATA} doc/${d}/*.html ${STAGEDIR}${DOCSDIR}/${d}
.endfor

.include <bsd.port.mk>