1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/graphics/visprint/Makefile
2021-04-06 16:31:07 +02:00

28 lines
691 B
Makefile

# Created by: stas
PORTNAME= visprint
PORTVERSION= 2.1
PORTREVISION= 3
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= libpng.so:graphics/png
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lpng
PLIST_FILES= bin/visprint man/man1/visprint.1.gz
do-build:
(cd ${WRKSRC} && ${CC} ${CFLAGS} -c visprint.c)
(cd ${WRKSRC} && ${CC} ${LDFLAGS} visprint.o -o visprint)
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/visprint ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/visprint.1.gz ${STAGEDIR}${PREFIX}/man/man1
.include <bsd.port.mk>