2013-03-28 04:28:30 +01:00
|
|
|
# Created by: Adam Weinberger <adamw@FreeBSD.org>
|
2005-01-12 18:57:48 +01:00
|
|
|
# $FreeBSD$
|
2007-10-25 01:37:25 +02:00
|
|
|
# $MCom: ports/security/libgnomesu/Makefile,v 1.2 2007/05/19 21:36:21 marcus Exp $
|
2013-09-03 14:13:23 +02:00
|
|
|
|
2005-01-12 18:57:48 +01:00
|
|
|
PORTNAME= libgnomesu
|
2005-07-02 00:37:00 +02:00
|
|
|
PORTVERSION= 1.0.0
|
2015-08-04 21:20:15 +02:00
|
|
|
PORTREVISION= 12
|
2005-01-12 18:57:48 +01:00
|
|
|
CATEGORIES= security gnome
|
2005-04-17 04:08:41 +02:00
|
|
|
MASTER_SITES= http://members.chello.nl/~h.lai/libgnomesu/
|
2005-01-12 18:57:48 +01:00
|
|
|
|
2006-09-23 21:35:56 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2005-02-08 22:40:02 +01:00
|
|
|
COMMENT= Library and frontend for running commands as root
|
2005-01-12 18:57:48 +01:00
|
|
|
|
2017-01-08 10:01:06 +01:00
|
|
|
LICENSE= LGPL20+ PD
|
|
|
|
LICENSE_COMB= multi
|
|
|
|
LICENSE_FILE_LGPL20+ = ${WRKSRC}/COPYING
|
|
|
|
|
|
|
|
USES= gmake gettext-tools libtool localbase pathfix pkgconfig
|
2014-06-11 00:09:53 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2013-03-28 04:28:30 +01:00
|
|
|
USE_GNOME= gnomeprefix libgnomeui
|
2017-01-08 10:01:06 +01:00
|
|
|
CONFIGURE_ARGS= --disable-install-pam \
|
2015-02-03 21:36:32 +01:00
|
|
|
--disable-setuid-error
|
2015-08-04 21:20:15 +02:00
|
|
|
INSTALL_TARGET= install-strip
|
2005-01-12 18:57:48 +01:00
|
|
|
|
2014-06-11 00:09:53 +02:00
|
|
|
SUB_FILES= pkg-message
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
|
2011-07-30 11:39:44 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|-DGTK_DISABLE_DEPRECATED||g' \
|
|
|
|
${WRKSRC}/src/Makefile.in
|
|
|
|
|
2017-01-08 10:01:06 +01:00
|
|
|
post-install-EXAMPLES-on:
|
2014-08-06 06:34:23 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
2014-06-11 00:09:53 +02:00
|
|
|
${INSTALL_DATA} ${FILESDIR}/gnomesu-pam.sample ${STAGEDIR}${EXAMPLESDIR}
|
2017-01-08 10:01:06 +01:00
|
|
|
|
|
|
|
post-install-DOCS-on:
|
2014-08-06 06:34:23 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2014-06-11 00:09:53 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/api.html ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/libgnomesu.css ${STAGEDIR}${DOCSDIR}
|
2005-01-12 18:57:48 +01:00
|
|
|
|
2005-01-14 20:25:56 +01:00
|
|
|
.include <bsd.port.mk>
|