aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/dcraw/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/dcraw/Makefile')
-rw-r--r--graphics/dcraw/Makefile17
1 files changed, 8 insertions, 9 deletions
diff --git a/graphics/dcraw/Makefile b/graphics/dcraw/Makefile
index 0c406dce0733..229d1f3f4e5a 100644
--- a/graphics/dcraw/Makefile
+++ b/graphics/dcraw/Makefile
@@ -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: