Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jan 2014 21:59:55 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r339292 - head/graphics/visprint
Message-ID:  <201401092159.s09LxtDP055397@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Thu Jan  9 21:59:55 2014
New Revision: 339292
URL: http://svnweb.freebsd.org/changeset/ports/339292

Log:
  - Stage support
  - New LIB_DEPENDS syntax

Modified:
  head/graphics/visprint/Makefile

Modified: head/graphics/visprint/Makefile
==============================================================================
--- head/graphics/visprint/Makefile	Thu Jan  9 21:50:15 2014	(r339291)
+++ head/graphics/visprint/Makefile	Thu Jan  9 21:59:55 2014	(r339292)
@@ -10,24 +10,19 @@ MASTER_SITES=	http://www.tastyrabbit.net
 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 <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401092159.s09LxtDP055397>