2005-01-12 18:57:48 +01:00
|
|
|
# New ports collection makefile for: libgnomesu
|
|
|
|
# Date created: 12 January 2005
|
|
|
|
# Whom: Adam Weinberger <adamw@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $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 $
|
2005-01-12 18:57:48 +01:00
|
|
|
|
|
|
|
PORTNAME= libgnomesu
|
2005-07-02 00:37:00 +02:00
|
|
|
PORTVERSION= 1.0.0
|
2010-10-28 13:10:47 +02:00
|
|
|
PORTREVISION= 9
|
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
|
|
|
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= libtool
|
2005-01-12 18:57:48 +01:00
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_GNOME= gnomehack gnomeprefix libgnomeui
|
2005-01-16 05:14:24 +01:00
|
|
|
CONFIGURE_ARGS+=--disable-install-pam
|
2011-09-24 00:26:39 +02:00
|
|
|
CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib"
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2005-01-12 18:57:48 +01:00
|
|
|
|
2011-07-30 11:39:44 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|-DGTK_DISABLE_DEPRECATED||g' \
|
|
|
|
${WRKSRC}/src/Makefile.in
|
|
|
|
|
2005-01-12 18:57:48 +01:00
|
|
|
post-install:
|
2005-01-14 20:25:56 +01:00
|
|
|
${MKDIR} ${EXAMPLESDIR}
|
2010-10-28 13:10:47 +02:00
|
|
|
${INSTALL_DATA} ${FILESDIR}/gnomesu-pam.sample ${EXAMPLESDIR}
|
2005-01-12 18:57:48 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/api.html ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/libgnomesu.css ${DOCSDIR}
|
|
|
|
.endif
|
2005-01-14 20:25:56 +01:00
|
|
|
@${SED} -e "s|%%EXAMPLESDIR%%|${EXAMPLESDIR}|g" ${PKGMESSAGE}
|
2005-01-12 18:57:48 +01:00
|
|
|
|
2005-01-14 20:25:56 +01:00
|
|
|
.include <bsd.port.mk>
|