From f9df959029ae4664e1177d9d2914a87d696147e5 Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Thu, 9 Jan 2014 21:59:55 +0000 Subject: [PATCH] - Stage support - New LIB_DEPENDS syntax --- graphics/visprint/Makefile | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/graphics/visprint/Makefile b/graphics/visprint/Makefile index f7b687a95156..524da6a212ef 100644 --- a/graphics/visprint/Makefile +++ b/graphics/visprint/Makefile @@ -10,24 +10,19 @@ 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 +LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lpng -MANCOMPRESSED= yes +PLIST_FILES= bin/visprint man/man1/visprint.1.gz -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 + ${INSTALL_PROGRAM} ${WRKSRC}/visprint ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/visprint.1.gz ${STAGEDIR}${PREFIX}/man/man1 .include