1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/security/gringotts/Makefile

43 lines
1.0 KiB
Makefile

# Created by: Anders Nordby <anders@FreeBSD.org>
# $FreeBSD$
PORTNAME= gringotts
PORTVERSION= 1.2.10
PORTREVISION= 3
CATEGORIES= security
MASTER_SITES= BERLIOS
MAINTAINER= ports@FreeBSD.org
COMMENT= GTK application to securely store sensitive data
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt \
gringotts.2:${PORTSDIR}/security/libgringotts
USES= pkgconfig
USE_GNOME= gtk20
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e \
'/^install-data-am:/s|install-DsktpDATA|| ; \
/^install-data-am:/s|install-docDATA|| ; \
s|@md5sum|@md5|' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e \
'/^install-exec-am:/s|install-exec-local||' ${WRKSRC}/src/Makefile.in
post-install:
@${MKDIR} ${PREFIX}/share/applications
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${PREFIX}/share/applications
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in AUTHORS BUGS ChangeLog FAQ NEWS README TODO
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>