Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Feb 2014 14:48:29 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r346354 - head/graphics/jpeg2ps
Message-ID:  <201402271448.s1REmT5H001495@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Thu Feb 27 14:48:29 2014
New Revision: 346354
URL: http://svnweb.freebsd.org/changeset/ports/346354
QAT: https://qat.redports.org/buildarchive/r346354/

Log:
  Support staging

Modified:
  head/graphics/jpeg2ps/Makefile

Modified: head/graphics/jpeg2ps/Makefile
==============================================================================
--- head/graphics/jpeg2ps/Makefile	Thu Feb 27 14:43:38 2014	(r346353)
+++ head/graphics/jpeg2ps/Makefile	Thu Feb 27 14:48:29 2014	(r346354)
@@ -10,28 +10,21 @@ MASTER_SITES=	http://www.pdflib.com/file
 MAINTAINER=	hrs@FreeBSD.org
 COMMENT=	Converter for JPEG compressed images to PostScript Level 2
 
-LIB_DEPENDS=	paper:${PORTSDIR}/print/libpaper
+LIB_DEPENDS=	libpaper.so:${PORTSDIR}/print/libpaper
 
 OPTIONS_DEFINE=	DOCS
 CFLAGS=		-DLIBPAPER -I${LOCALBASE}/include
 LDADD=		-lm -lpaper -L${LOCALBASE}/lib
 MAKE_ARGS=	LDADD="${LDADD}"
-MAN1=		jpeg2ps.1
-PLIST_FILES=	bin/jpeg2ps
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
+PLIST_FILES=	bin/jpeg2ps man/man1/jpeg2ps.1.gz
 
-.if ${PORT_OPTIONS:MDOCS}
 PORTDOCS=	jpeg2ps.txt
-.endif
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/jpeg2ps ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/jpeg2ps.1 ${MANPREFIX}/man/man1
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/jpeg2ps.txt ${DOCSDIR}
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/jpeg2ps ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/jpeg2ps.1 ${STAGEDIR}${MANPREFIX}/man/man1
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/jpeg2ps.txt ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



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