aboutsummaryrefslogtreecommitdiffstats
path: root/devel/skalibs/Makefile
blob: a3bec5dbdeafca158cc7db6bae62258498fbbc0d (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
# New ports collection makefile for:    skalibs
# Date created:     2003-06-25
# Whom:         Sergei Kolobov <sergei@kolobov.com>
#
# $FreeBSD$
#

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

MAINTAINER= sergei@kolobov.com
COMMENT=    General purpose C libraries used by skarnet.org software

WRKSRC=     ${WRKDIR}/prog/${DISTNAME}

DOCS=       package/CHANGES package/README package/THANKS doc/*.html

do-configure:
    ${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-compile/conf-cc

do-build:
    cd ${WRKSRC} && package/compile

do-install:
    @${MKDIR} ${PREFIX}/include/${PORTNAME}
    ${INSTALL_DATA} ${WRKSRC}/include/* ${PREFIX}/include/${PORTNAME}
    ${INSTALL_DATA} ${WRKSRC}/library/* ${PREFIX}/lib
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>