1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/security/gringotts/Makefile
Dmitry Marakasov d6bb9fcdae - Support staging
- Use new LIB_DEPENDS syntax
- Fix docs installation
2014-06-03 01:07:28 +00:00

41 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= libpopt.so:${PORTSDIR}/devel/popt \
libgringotts.so:${PORTSDIR}/security/libgringotts
USES= pkgconfig
USE_GNOME= gtk20
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= DOCS
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:
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in AUTHORS BUGS ChangeLog FAQ NEWS README TODO
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>