aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/Hermes/Makefile
blob: 451e46059629bb93ad1297f1ea4ecd46263d48c9 (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
40
41
42
43
44
# New ports collection makefile for:    Hermes
# Date created:             29 April 1999
# Whom:                 Andrey Zakhvatov
#
# $FreeBSD$
#

PORTNAME=   Hermes
PORTVERSION=    1.3.2
CATEGORIES= graphics
MASTER_SITES=   http://www.clanlib.org/download/files/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Fast pixel formats conversion library

BUILD_DEPENDS=  ${LOCALBASE}/share/automake/depcomp:${PORTSDIR}/devel/automake

ONLY_FOR_ARCHS= i386 alpha sparc64

USE_BZIP2=  yes
USE_GMAKE=  yes
USE_LIBTOOL=    yes
CONFIGURE_TARGET=   --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAKE_ARGS=  ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
        AUTOHEADER="${TRUE}"
INSTALLS_SHLIB= yes

pre-configure:
    @${CP} ${LOCALBASE}/share/automake/depcomp ${WRKSRC}

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for file in AUTHORS ChangeLog FAQ README TODO TODO.conversion
    ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
    @${MKDIR} ${DOCSDIR}/API
.for file in api-1.htm api-2.htm api-3.htm api-4.htm api.htm api.ps api.txt
    ${INSTALL_DATA} ${WRKSRC}/docs/api/${file} ${DOCSDIR}/API
.endfor
    ${INSTALL_DATA} ${WRKSRC}/docs/api/sgml/api.sgml ${DOCSDIR}/API
.endif

.include <bsd.port.mk>