blob: eaff6305f0c50c6942bce3189583dcab6ea84a92 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# New ports collection makefile for: dcraw
# Date created: 14 February 2004
# Whom: Arjan van Leeuwen <avleeuwen@piwebs.com>
#
# $FreeBSD$
#
PORTNAME= dcraw
PORTVERSION= 8.93
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.SpringDaemons.com/soft/
MAINTAINER= stas@FreeBSD.org
COMMENT= Decoder for RAW files from digital cameras
LIB_DEPENDS= jpeg.10:${PORTSDIR}/graphics/jpeg \
lcms.1:${PORTSDIR}/graphics/lcms
USE_BZIP2= yes
MAN1= dcraw.1
PLIST_FILES= bin/dcraw
do-build:
cd "${BUILD_WRKSRC}/" && ${CC} -o dcraw ${CFLAGS} -I"${PREFIX}"/include \
dcraw.c -L"${PREFIX}"/lib -lm -ljpeg -llcms
do-install:
${INSTALL_PROGRAM} "${WRKSRC}"/${PORTNAME} "${PREFIX}"/bin/
${INSTALL_MAN} "${WRKSRC}"/${MAN1} "${PREFIX}"/man/man1/
make-dist:
@${RM} -rf ${WRKDIR};${MKDIR} ${WRKDIR};cd ${WRKDIR};\
${FETCH_CMD} http://cybercom.net/~dcoffin/dcraw/dcraw.c;\
${FETCH_CMD} http://cybercom.net/~dcoffin/dcraw/dcraw.1;\
ver=`grep -o -m1 -E '[2-9]\.[0-9][0-9]' dcraw.c`;\
${MKDIR} dcraw-$$ver;mv dcraw.[c1] dcraw-$$ver;\
${TAR} cjvf dcraw-$$ver.tar.bz2 dcraw-$$ver
.include <bsd.port.mk>
|