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$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= libgnomesu
|
2005-02-08 22:40:02 +01:00
|
|
|
PORTVERSION= 0.9.7
|
2005-03-12 11:54:27 +01:00
|
|
|
PORTREVISION= 1
|
2005-01-12 18:57:48 +01:00
|
|
|
CATEGORIES= security gnome
|
|
|
|
MASTER_SITES= http://members1.chello.nl/~h.lai/libgnomesu/
|
|
|
|
|
|
|
|
MAINTAINER= adamw@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
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_GETOPT_LONG=yes
|
|
|
|
USE_LIBTOOL_VER=15
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_GNOME= gnomehack gnomeprefix libgnomeui
|
2005-01-16 05:14:24 +01:00
|
|
|
CONFIGURE_ARGS+=--disable-install-pam
|
2005-01-14 06:01:25 +01:00
|
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
2005-01-12 18:57:48 +01:00
|
|
|
|
2005-01-14 22:58:03 +01:00
|
|
|
CONFLICTS= gnomesu-[0-9]*
|
2005-01-13 06:48:54 +01:00
|
|
|
|
2005-01-12 18:57:48 +01:00
|
|
|
post-install:
|
2005-01-14 20:25:56 +01:00
|
|
|
${MKDIR} ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/gnomesu-pam.4.x.sample ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/gnomesu-pam.5.x.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>
|