Sun Jan 5 15:12:11 2014 UTC ()
Add a comment mentioning where a list of changes can be found.
>From veego.


(wiz)
diff -r1.39 -r1.40 pkgsrc/graphics/dcraw/Makefile

cvs diff -r1.39 -r1.40 pkgsrc/graphics/dcraw/Makefile (switch to unified diff)

--- pkgsrc/graphics/dcraw/Makefile 2013/11/03 16:02:26 1.39
+++ pkgsrc/graphics/dcraw/Makefile 2014/01/05 15:12:11 1.40
@@ -1,67 +1,70 @@ @@ -1,67 +1,70 @@
1# $NetBSD: Makefile,v 1.39 2013/11/03 16:02:26 wiz Exp $ 1# $NetBSD: Makefile,v 1.40 2014/01/05 15:12:11 wiz Exp $
 2#
 3# Changes can be found in the RCS file at
 4# http://www.cybercom.net/~dcoffin/dcraw/RCS/dcraw.c,v
2 5
3DISTNAME= dcraw-9.19 6DISTNAME= dcraw-9.19
4CATEGORIES= graphics 7CATEGORIES= graphics
5MASTER_SITES= http://www.cybercom.net/~dcoffin/dcraw/archive/ 8MASTER_SITES= http://www.cybercom.net/~dcoffin/dcraw/archive/
6 9
7MAINTAINER= pkgsrc-users@NetBSD.org 10MAINTAINER= pkgsrc-users@NetBSD.org
8HOMEPAGE= http://www.cybercom.net/~dcoffin/dcraw/ 11HOMEPAGE= http://www.cybercom.net/~dcoffin/dcraw/
9COMMENT= Raw digital camera decoder 12COMMENT= Raw digital camera decoder
10 13
11USE_PKGLOCALEDIR= yes 14USE_PKGLOCALEDIR= yes
12WRKSRC= ${WRKDIR}/${PKGBASE} 15WRKSRC= ${WRKDIR}/${PKGBASE}
13USE_TOOLS+= msgfmt 16USE_TOOLS+= msgfmt
14USE_LANGUAGES= c 17USE_LANGUAGES= c
15 18
16LIBS+= -lm -ljasper -ljpeg 19LIBS+= -lm -ljasper -ljpeg
17CFLAGS+= -DLOCALEDIR=\"${PREFIX}/${PKGLOCALEDIR}/locale\" 20CFLAGS+= -DLOCALEDIR=\"${PREFIX}/${PKGLOCALEDIR}/locale\"
18 21
19DCRAW_MANS= ca cs da de eo es fr hu it pl pt ru sv zh_CN zh_TW 22DCRAW_MANS= ca cs da de eo es fr hu it pl pt ru sv zh_CN zh_TW
20DCRAW_LOCALES= ca cs da de eo es fr hu it nl pl pt ru sv zh_CN zh_TW 23DCRAW_LOCALES= ca cs da de eo es fr hu it nl pl pt ru sv zh_CN zh_TW
21 24
22INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 25INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
23.for lang in ${DCRAW_MANS} 26.for lang in ${DCRAW_MANS}
24INSTALLATION_DIRS+= ${PKGMANDIR}/${lang}/man1 27INSTALLATION_DIRS+= ${PKGMANDIR}/${lang}/man1
25.endfor 28.endfor
26.for lang in ${DCRAW_LOCALES} 29.for lang in ${DCRAW_LOCALES}
27INSTALLATION_DIRS+= ${PKGLOCALEDIR}/locale/${lang}/LC_MESSAGES 30INSTALLATION_DIRS+= ${PKGLOCALEDIR}/locale/${lang}/LC_MESSAGES
28.endfor 31.endfor
29 32
30BROKEN_GETTEXT_DETECTION= yes 33BROKEN_GETTEXT_DETECTION= yes
31 34
32PKG_OPTIONS_VAR= PKG_OPTIONS.dcraw 35PKG_OPTIONS_VAR= PKG_OPTIONS.dcraw
33PKG_SUPPORTED_OPTIONS= lcms 36PKG_SUPPORTED_OPTIONS= lcms
34PKG_SUGGESTED_OPTIONS= lcms 37PKG_SUGGESTED_OPTIONS= lcms
35 38
36.include "../../mk/bsd.options.mk" 39.include "../../mk/bsd.options.mk"
37 40
38.if !empty(PKG_OPTIONS:Mlcms) 41.if !empty(PKG_OPTIONS:Mlcms)
39LIBS+= -llcms 42LIBS+= -llcms
40.include "../../graphics/lcms/buildlink3.mk" 43.include "../../graphics/lcms/buildlink3.mk"
41.else 44.else
42CFLAGS+= -DNO_LCMS 45CFLAGS+= -DNO_LCMS
43.endif 46.endif
44 47
45do-build: 48do-build:
46 set -e; cd ${WRKSRC}; \ 49 set -e; cd ${WRKSRC}; \
47 env ${MAKE_ENV} ${CC} ${CFLAGS} dcraw.c -o dcraw ${LDFLAGS} ${LIBS}; \ 50 env ${MAKE_ENV} ${CC} ${CFLAGS} dcraw.c -o dcraw ${LDFLAGS} ${LIBS}; \
48 for l in ${DCRAW_LOCALES}; do \ 51 for l in ${DCRAW_LOCALES}; do \
49 env ${MAKE_ENV} msgfmt -o dcraw_$${l}.mo dcraw_$${l}.po; \ 52 env ${MAKE_ENV} msgfmt -o dcraw_$${l}.mo dcraw_$${l}.po; \
50 done; 53 done;
51 54
52do-install: 55do-install:
53 ${INSTALL_PROGRAM} ${WRKSRC}/dcraw ${DESTDIR}${PREFIX}/bin 56 ${INSTALL_PROGRAM} ${WRKSRC}/dcraw ${DESTDIR}${PREFIX}/bin
54 ${INSTALL_MAN} ${WRKSRC}/dcraw.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 57 ${INSTALL_MAN} ${WRKSRC}/dcraw.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
55.for l in ${DCRAW_MANS} 58.for l in ${DCRAW_MANS}
56 ${INSTALL_MAN} ${WRKSRC}/dcraw_${l}.1 \ 59 ${INSTALL_MAN} ${WRKSRC}/dcraw_${l}.1 \
57 ${DESTDIR}${PREFIX}/${PKGMANDIR}/${l}/man1/dcraw.1 60 ${DESTDIR}${PREFIX}/${PKGMANDIR}/${l}/man1/dcraw.1
58.endfor 61.endfor
59.for l in ${DCRAW_LOCALES} 62.for l in ${DCRAW_LOCALES}
60 ${INSTALL_DATA} ${WRKSRC}/dcraw_${l}.mo \ 63 ${INSTALL_DATA} ${WRKSRC}/dcraw_${l}.mo \
61 ${DESTDIR}${PREFIX}/${PKGLOCALEDIR}/locale/${l}/LC_MESSAGES/dcraw.mo 64 ${DESTDIR}${PREFIX}/${PKGLOCALEDIR}/locale/${l}/LC_MESSAGES/dcraw.mo
62.endfor 65.endfor
63 66
64.include "../../devel/gettext-lib/buildlink3.mk" 67.include "../../devel/gettext-lib/buildlink3.mk"
65.include "../../graphics/jasper/buildlink3.mk" 68.include "../../graphics/jasper/buildlink3.mk"
66.include "../../mk/jpeg.buildlink3.mk" 69.include "../../mk/jpeg.buildlink3.mk"
67.include "../../mk/bsd.pkg.mk" 70.include "../../mk/bsd.pkg.mk"