1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/graphics/visprint/Makefile

34 lines
719 B
Makefile

# Created by: stas
# $FreeBSD$
PORTNAME= visprint
PORTVERSION= 2.1
PORTREVISION= 2
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= png15:${PORTSDIR}/graphics/png
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lpng
MANCOMPRESSED= yes
PLIST_FILES= bin/visprint
MAN1= visprint.1
NO_STAGE= yes
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>