aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/ampasCTL/Makefile
blob: 56a4e84e98521528c8951b464917c488eb8d5a94 (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
36
37
38
39
# Created by: nork@FreeBSD.org
# $FreeBSD$

PORTNAME=   ampasCTL
PORTVERSION=    1.4.1
CATEGORIES= graphics devel
MASTER_SITES=   SF/${PORTNAME:L}/ctl/ctl-${PORTVERSION}/
DISTNAME=   ctl-${DISTVERSION}

MAINTAINER= nemysis@gmx.ch
COMMENT=    Color Transformation Language interpreter

LICENSE=    BSD

LIB_DEPENDS=    Imath:${PORTSDIR}/graphics/ilmbase

USES=       pkgconfig
USE_LDCONFIG=   yes
GNU_CONFIGURE=  yes
USE_AUTOTOOLS=  libtool

PORTDOCS=   AUTHORS ChangeLog NEWS README

.include <bsd.port.options.mk>

test check: build
    @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)

.if defined(PACKAGE_BUILDING)
pre-install:    test
.endif

post-install:
.if ${PORT_OPTIONS:MDOCS}
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif

.include <bsd.port.mk>