1 |
# $FreeBSD: ports/graphics/libexif/Makefile,v 1.25 2006/03/29 06:54:33 pav Exp $ |
2 |
# $MidnightBSD$ |
3 |
|
4 |
PORTNAME= libexif |
5 |
PORTVERSION= 0.6.21 |
6 |
PORTREVISION= 3 |
7 |
CATEGORIES= graphics |
8 |
MASTER_SITES= SF |
9 |
|
10 |
MAINTAINER= ports@MidnightBSD.org |
11 |
COMMENT= Library to read digital camera file meta-data |
12 |
|
13 |
LICENSE= lgpl2.1 |
14 |
|
15 |
OPTIONS_DEFINE= DOCS NLS |
16 |
|
17 |
USES= gmake libtool pathfix pkgconfig tar:bzip2 |
18 |
CPPFLAGS+= -I${LOCALBASE}/include |
19 |
LDFLAGS+= -L${LOCALBASE}/lib |
20 |
GNU_CONFIGURE= yes |
21 |
CONFIGURE_ARGS= --disable-docs |
22 |
USE_LDCONFIG= yes |
23 |
|
24 |
PORTDOCS= AUTHORS ChangeLog NEWS README |
25 |
OPTIONS_SUB= yes |
26 |
|
27 |
NLS_USES= gettext |
28 |
NLS_CONFIGURE_ENV_OFF= am_cv_func_iconv=no |
29 |
NLS_CONFIGURE_ENABLE= nls |
30 |
|
31 |
post-patch: |
32 |
@${REINPLACE_CMD} -e '/^SUBDIRS =/s|doc||g ; \ |
33 |
/^am__installdirs =/s|$$(docdir)||g ; \ |
34 |
/^install-data-am:/s|install-docDATA||g' ${WRKSRC}/Makefile.in |
35 |
|
36 |
post-install: |
37 |
@${MKDIR} ${DOCSDIR} |
38 |
.for file in ${PORTDOCS} |
39 |
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} |
40 |
.endfor |
41 |
|
42 |
.include <bsd.port.mk> |