Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Oct 2013 14:36:04 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r330006 - head/graphics/dcraw
Message-ID:  <201310101436.r9AEa4Ix069864@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Thu Oct 10 14:36:04 2013
New Revision: 330006
URL: http://svnweb.freebsd.org/changeset/ports/330006

Log:
  - Convert to new LIB_DEPENDS format
  - Support STAGEDIR

Modified:
  head/graphics/dcraw/Makefile

Modified: head/graphics/dcraw/Makefile
==============================================================================
--- head/graphics/dcraw/Makefile	Thu Oct 10 14:35:57 2013	(r330005)
+++ head/graphics/dcraw/Makefile	Thu Oct 10 14:36:04 2013	(r330006)
@@ -9,24 +9,23 @@ MASTER_SITES=	LOCAL/sunpoet
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Decoder for RAW files from digital cameras
 
-LIB_DEPENDS=	jasper:${PORTSDIR}/graphics/jasper \
-		jpeg:${PORTSDIR}/graphics/jpeg \
-		lcms:${PORTSDIR}/graphics/lcms
+LIB_DEPENDS=	libjasper.so:${PORTSDIR}/graphics/jasper \
+		libjpeg.so:${PORTSDIR}/graphics/jpeg \
+		liblcms.so:${PORTSDIR}/graphics/lcms
 
 CFLAGS+=	-I${LOCALBASE}/include -I${LOCALBASE}/include/jasper
 LDFLAGS+=	-L${LOCALBASE}/lib -lm -ljasper -ljpeg -llcms
 USE_XZ=		yes
 
-MAN1=		${PORTNAME}.1
-PLIST_FILES=	bin/${PORTNAME}
+PLIST_FILES=	bin/${PORTNAME} \
+		man/man1/${PORTNAME}.1.gz
 
-NO_STAGE=	yes
 do-build:
-	cd ${WRKSRC}/ && ${CC} -o ${PORTNAME} ${CFLAGS} ${PORTNAME}.c ${LDFLAGS}
+	@cd ${WRKSRC}/ && ${CC} -o ${PORTNAME} ${CFLAGS} ${PORTNAME}.c ${LDFLAGS}
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
-	${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1/
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
+	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1/
 
 # maintainer section:
 



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