Lines 6-49
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= gringotts |
8 |
PORTNAME= gringotts |
9 |
PORTVERSION= 1.2.8 |
9 |
PORTVERSION= 1.2.10 |
10 |
PORTREVISION= 7 |
|
|
11 |
CATEGORIES= security |
10 |
CATEGORIES= security |
12 |
MASTER_SITES= BERLIOS \ |
11 |
MASTER_SITES= BERLIOS |
13 |
ftp://ftp.nuug.no/pub/anders/distfiles/ |
|
|
14 |
|
12 |
|
15 |
MAINTAINER= ports@FreeBSD.org |
13 |
MAINTAINER= ports@FreeBSD.org |
16 |
COMMENT= GTK application to securely store sensitive data |
14 |
COMMENT= GTK application to securely store sensitive data |
17 |
|
15 |
|
18 |
LIB_DEPENDS= gringotts.2:${PORTSDIR}/security/libgringotts \ |
16 |
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt \ |
19 |
popt.0:${PORTSDIR}/devel/popt |
17 |
gringotts.2:${PORTSDIR}/security/libgringotts |
20 |
|
18 |
|
21 |
USE_BZIP2= yes |
|
|
22 |
GNU_CONFIGURE= yes |
23 |
USE_GNOME= gtk20 |
19 |
USE_GNOME= gtk20 |
24 |
WANT_GNOME= yes |
20 |
GNU_CONFIGURE= yes |
25 |
CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib" CPPFLAGS="-I${LOCALBASE}/include" |
21 |
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" |
26 |
CONFIGURE_ARGS+= --disable-env-check |
22 |
|
27 |
|
23 |
CPPFLAGS= -I${LOCALBASE}/include |
28 |
.include <bsd.port.pre.mk> |
24 |
LDFLAGS= -L${LOCALBASE}/lib |
29 |
|
|
|
30 |
.if ${HAVE_GNOME:Mgnomehier}!="" |
31 |
USE_GNOME+= gnomehier |
32 |
PLIST_SUB+= GNOMEHIER='' |
33 |
.else |
34 |
PLIST_SUB+= GNOMEHIER='@comment ' |
35 |
.endif |
36 |
|
25 |
|
37 |
post-patch: |
26 |
post-patch: |
38 |
${REINPLACE_CMD} -E -e "s|^(gringottsdocdir =).*|\1 ${DOCSDIR}|;s|md5sum|md5|g" ${WRKSRC}/Makefile.in |
27 |
@${REINPLACE_CMD} -e \ |
39 |
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \ |
28 |
'/^install-data-am:/s|install-DsktpDATA|| ; \ |
40 |
's|-D.*_DISABLE_DEPRECATED||g' |
29 |
/^install-data-am:/s|install-docDATA|| ; \ |
41 |
.if defined(NOPORTDOCS) |
30 |
s|@md5sum|@md5|' ${WRKSRC}/Makefile.in |
42 |
${REINPLACE_CMD} -E -e "s|^(install-data-am:.*)install-gringottsdocDATA|\1|" ${WRKSRC}/Makefile.in |
31 |
@${REINPLACE_CMD} -e \ |
43 |
.endif |
32 |
'/^install-exec-am:/s|install-exec-local||' ${WRKSRC}/src/Makefile.in |
44 |
.if ${HAVE_GNOME:Mgnomehier}=="" |
33 |
|
45 |
${REINPLACE_CMD} -E -e "s|^(install-data-am:.*)install-DsktpDATA|\1|" \ |
34 |
post-install: |
46 |
${WRKSRC}/Makefile.in |
35 |
@${MKDIR} ${PREFIX}/share/applications |
|
|
36 |
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${PREFIX}/share/applications |
37 |
.if !defined(NOPORTDOCS) |
38 |
@${MKDIR} ${DOCSDIR} |
39 |
.for file in AUTHORS BUGS ChangeLog FAQ NEWS README TODO |
40 |
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} |
41 |
.endfor |
47 |
.endif |
42 |
.endif |
48 |
|
43 |
|
49 |
.include <bsd.port.post.mk> |
44 |
.include <bsd.port.mk> |