svn commit: r330006 - head/graphics/dcraw
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Thu Oct 10 14:36:06 UTC 2013
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 at 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:
More information about the svn-ports-all
mailing list