aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/visprint/Makefile
blob: fc19aa983cd6fee2114fe4b30a3f50d99e8944b2 (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
# New ports collection makefile for:    visprint
# Date created:     11 November 2006
# Whom:         stas
#
# $FreeBSD$
#

PORTNAME=   visprint
PORTVERSION=    2.1
PORTREVISION=   1
CATEGORIES= graphics
MASTER_SITES=   http://www.tastyrabbit.net/visprint/download/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Creates fractal fingerprint images based on any data

LIB_DEPENDS=    png.6:${PORTSDIR}/graphics/png

CFLAGS+=    -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib -lpng

MANCOMPRESSED=  yes

PLIST_FILES=    bin/visprint

MAN1=       visprint.1

do-build:
    (cd ${WRKSRC} && ${CC} ${CFLAGS} -c visprint.c)
    (cd ${WRKSRC} && ${CC} ${LDFLAGS} visprint.o -o visprint)

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/visprint ${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/visprint.1.gz ${PREFIX}/man/man1

.include <bsd.port.mk>