1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/security/gtkpasman/Makefile
Ruslan Makhmatkhanov 385bcf235c - do not print PKGMESSAGE manually
- simplify installation of gpasman4.sample

Reported by:	nemysis
2013-12-23 08:00:00 +00:00

39 lines
1012 B
Makefile

# Created by: Philippe Rocques <phil@teaser.fr>
# $FreeBSD$
PORTNAME= gtkpasman
PORTVERSION= 0.12.1
CATEGORIES= security
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= rm@FreeBSD.org
COMMENT= GTK+ passwords manager for system and network administrators
RUN_DEPENDS+= gpgv2:${PORTSDIR}/security/gnupg
USES= desktop-file-utils gmake pkgconfig
USE_GNOME= gtk20
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-gtk2
USE_XZ= yes
SUB_FILES= pkg-message
PORTDOCS= *
PLIST_FILES= bin/gtkpasman share/applications/gtkpasman.desktop
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|-Werror||g' ${WRKSRC}/src/Makefile.*
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/gtkpasman ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/data/gtkpasman.desktop \
${STAGEDIR}${PREFIX}/share/applications
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/data/gpasman4.sample ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>