aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/zinnia/Makefile
blob: d8d54a7d775ade3ba8085a7c82c83ca246120e4f (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
# New ports collection makefile for:    zinnia

# Date created:             15 Aug 2010
# Whom:                 Timothy Beyer <beyert@cs.ucr.edu>
#
# $FreeBSD$
#

PORTNAME=   zinnia
PORTVERSION=    0.06
CATEGORIES= japanese
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}

MAINTAINER= beyert@cs.ucr.edu
COMMENT=    A simple, customizable and portable online hand recognition system

LICENSE=    BSD
LICENSE_FILE=   ${WRKSRC}/COPYING

USE_GMAKE=  yes
GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes

.include <bsd.port.pre.mk>

post-patch:
    @${REINPLACE_CMD} -e '/^pkgconfigdir/s!=.*!= ${PREFIX}/libdata/pkgconfig!' \
    ${WRKSRC}/Makefile.in

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/AUTHORS ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/COPYING ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/doc/index.html ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/doc/index-ja.html ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/doc/index-ja.html ${DOCSDIR}
.endif

.include <bsd.port.post.mk>