- Use gnupg2 - Add -with-gtk2 to CONFIGURE_ARGS since gtkpasman looking for gtk30 by default - Install desktop-file to be able to call gtkpasman from menu - Show pkg-message only when NOPORTDOCS is not defined - Use %%DOCSDIR%% instead of full path in pkg-message - Couple of whitespace fixes in pkg-descr PR: 156862 Submitted by: Ruslan Mahmatkhanov <cvs-src@yandex.ru> (maintainer)
50 lines
1.2 KiB
Makefile
50 lines
1.2 KiB
Makefile
# New ports collection makefile for: gtkpasman
|
|
# Date created: 25 Aug 2004
|
|
# Whom: Philippe Rocques
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gtkpasman
|
|
PORTVERSION= 0.11
|
|
CATEGORIES= security
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-sources/${PORTVERSION}
|
|
|
|
MAINTAINER= cvs-src@yandex.ru
|
|
COMMENT= A GTK+ passwords manager for system and network administrators
|
|
|
|
RUN_DEPENDS+= gpgv2:${PORTSDIR}/security/gnupg
|
|
|
|
USE_GMAKE= yes
|
|
USE_GNOME= desktopfileutils gtk20
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --with-gtk2
|
|
USE_AUTOTOOLS= automake aclocal autoconf
|
|
|
|
SUB_FILES= pkg-message
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
|
|
DOCS= README data/gpasman4.sample
|
|
PLIST_FILES= bin/gtkpasman share/applications/gtkpasman.desktop
|
|
ACLOCAL_ARGS?= --acdir=${ACLOCAL_DIR} -I ${LOCALBASE}/share/aclocal
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
PORTDOCS= README gpasman4.sample
|
|
.endif
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/gtkpasman ${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/data/gtkpasman.desktop \
|
|
${PREFIX}/share/applications
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_MAN} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
|
|
.endif
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${CAT} ${PKGMESSAGE}
|
|
.endif
|
|
@-update-desktop-database
|
|
|
|
.include <bsd.port.mk>
|