Lines 6-35
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= libexif |
8 |
PORTNAME= libexif |
9 |
PORTVERSION= 0.6.16 |
9 |
PORTVERSION= 0.6.17 |
10 |
CATEGORIES= graphics |
10 |
CATEGORIES= graphics |
11 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
11 |
MASTER_SITES= SF |
12 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
|
|
13 |
|
12 |
|
14 |
MAINTAINER= ports@FreeBSD.org |
13 |
MAINTAINER= ports@FreeBSD.org |
15 |
COMMENT= Library to read digital camera file meta-data |
14 |
COMMENT= Library to read digital camera file meta-data |
16 |
|
15 |
|
17 |
USE_BZIP2= yes |
16 |
USE_BZIP2= yes |
18 |
USE_GNOME= gnomehack gnometarget pkgconfig ltverhack |
17 |
USE_GNOME= gnomehack ltverhack pkgconfig |
|
|
18 |
USE_GMAKE= yes |
19 |
USE_AUTOTOOLS= libtool:15 |
19 |
USE_AUTOTOOLS= libtool:15 |
20 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" |
20 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ |
|
|
21 |
LDFLAGS="-L${LOCALBASE}/lib" |
22 |
CONFIGURE_ARGS= --disable-docs |
21 |
USE_LDCONFIG= yes |
23 |
USE_LDCONFIG= yes |
22 |
|
24 |
|
23 |
.if !defined(WITHOUT_NLS) |
25 |
.if !defined(WITHOUT_NLS) |
24 |
USE_GETTEXT= yes |
26 |
USE_GETTEXT= yes |
25 |
PLIST_SUB+= NLS="" |
27 |
PLIST_SUB+= NLS="" |
26 |
CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib -lintl" |
|
|
27 |
.else |
28 |
.else |
|
|
29 |
CONFIGURE_ENV+= am_cv_func_iconv=no |
28 |
CONFIGURE_ARGS+=--disable-nls |
30 |
CONFIGURE_ARGS+=--disable-nls |
29 |
PLIST_SUB+= NLS="@comment " |
31 |
PLIST_SUB+= NLS="@comment " |
30 |
.endif |
32 |
.endif |
31 |
|
33 |
|
32 |
post-patch: |
34 |
post-patch: |
33 |
@${REINPLACE_CMD} -e 's|-g -Wall||g' ${WRKSRC}/configure |
35 |
@${REINPLACE_CMD} -e 's|-g -Wall||g' ${WRKSRC}/configure |
|
|
36 |
@${REINPLACE_CMD} -e '/^install-data-am:/s|install-docDATA||g' \ |
37 |
${WRKSRC}/Makefile.in |
38 |
|
39 |
post-install: |
40 |
.if !defined(NOPORTDOCS) |
41 |
@${MKDIR} ${DOCSDIR} |
42 |
.for file in AUTHORS ChangeLog NEWS README |
43 |
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} |
44 |
.endfor |
45 |
.endif |
34 |
|
46 |
|
35 |
.include <bsd.port.mk> |
47 |
.include <bsd.port.mk> |