Lines 2-12
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= gexiv2 |
4 |
PORTNAME= gexiv2 |
5 |
PORTVERSION= 0.6.1 |
5 |
PORTVERSION= 0.10.3 |
6 |
PORTREVISION= 5 |
|
|
7 |
CATEGORIES= graphics |
6 |
CATEGORIES= graphics |
8 |
MASTER_SITES= http://yorba.org/download/${PORTNAME}/${PORTVERSION:R}/ |
7 |
MASTER_SITES= GNOME |
9 |
DISTNAME= lib${PORTNAME}_${PORTVERSION} |
|
|
10 |
|
8 |
|
11 |
MAINTAINER= ports@FreeBSD.org |
9 |
MAINTAINER= ports@FreeBSD.org |
12 |
COMMENT= GObject-based wrapper around Exiv2 library |
10 |
COMMENT= GObject-based wrapper around Exiv2 library |
Lines 17-40
Link Here
|
17 |
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 |
15 |
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 |
18 |
LIB_DEPENDS= libexiv2.so:${PORTSDIR}/graphics/exiv2 |
16 |
LIB_DEPENDS= libexiv2.so:${PORTSDIR}/graphics/exiv2 |
19 |
|
17 |
|
20 |
USES= gmake libtool:build pkgconfig tar:xz |
18 |
USES= gmake libtool:build pkgconfig python:3 tar:xz |
21 |
USE_GNOME= glib20 introspection:build |
19 |
USE_GNOME= glib20 introspection:build py3gobject3 |
22 |
USE_LDCONFIG= yes |
20 |
USE_LDCONFIG= yes |
23 |
MAKE_ARGS= REQUIRED_CFLAGS="" ENABLE_INTROSPECTION=1 |
21 |
GNU_CONFIGURE= yes |
24 |
WRKSRC= ${WRKDIR}/lib${PORTNAME}-${PORTVERSION} |
22 |
CONFIGURE_ARGS= --enable-introspection --enable-static |
25 |
|
23 |
|
26 |
post-patch: |
|
|
27 |
@${REINPLACE_CMD} -E \ |
28 |
-e 's|^([[:space:]]+)m4[[:space:]]|\1gm4 |' \ |
29 |
-e 's|\$$\(LIB\)/pkgconfig|libdata/pkgconfig|' \ |
30 |
-e '/^CFLAGS/ s|CFLAGS|CXXFLAGS|' \ |
31 |
-e 's|\(CFLAGS\)|(CXXFLAGS)|' \ |
32 |
${WRKSRC}/${MAKEFILE} |
33 |
|
34 |
pre-install: |
24 |
pre-install: |
35 |
@${MKDIR} ${STAGEDIR}${PREFIX}/share/vala/vapi |
25 |
@${MKDIR} ${STAGEDIR}${PREFIX}/share/vala/vapi |
36 |
|
26 |
|
37 |
post-install: |
27 |
post-install: |
|
|
28 |
${RM} -rf ${STAGEDIR}${PREFIX}/lib/python2.7/ |
38 |
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgexiv2.so |
29 |
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgexiv2.so |
39 |
|
30 |
|
40 |
.include <bsd.port.mk> |
31 |
.include <bsd.port.mk> |