summaryrefslogtreecommitdiffstats
path: root/security/libgnomesu/Makefile
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-09-30 15:29:36 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-09-30 15:29:36 +0800
commit993ec49d2f6d706a6ddf51e8efa5dd2392acd4a0 (patch)
tree12719faa4e6984588e4ae5e4d414bc1eb26f9271 /security/libgnomesu/Makefile
parent6fbcb7c40c9099049bae9edcdf6bcd3ed9eedfb3 (diff)
downloadmarcuscom-ports-993ec49d2f6d706a6ddf51e8efa5dd2392acd4a0.tar
marcuscom-ports-993ec49d2f6d706a6ddf51e8efa5dd2392acd4a0.tar.gz
marcuscom-ports-993ec49d2f6d706a6ddf51e8efa5dd2392acd4a0.tar.bz2
marcuscom-ports-993ec49d2f6d706a6ddf51e8efa5dd2392acd4a0.tar.lz
marcuscom-ports-993ec49d2f6d706a6ddf51e8efa5dd2392acd4a0.tar.xz
marcuscom-ports-993ec49d2f6d706a6ddf51e8efa5dd2392acd4a0.tar.zst
marcuscom-ports-993ec49d2f6d706a6ddf51e8efa5dd2392acd4a0.zip
Fix build with new gtk. more stuff depricated.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@14764 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'security/libgnomesu/Makefile')
-rw-r--r--security/libgnomesu/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/security/libgnomesu/Makefile b/security/libgnomesu/Makefile
new file mode 100644
index 000000000..87412ff0f
--- /dev/null
+++ b/security/libgnomesu/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: libgnomesu
+# Date created: 12 January 2005
+# Whom: Adam Weinberger <adamw@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom: ports/security/libgnomesu/Makefile,v 1.2 2007/05/19 21:36:21 marcus Exp $
+
+PORTNAME= libgnomesu
+PORTVERSION= 1.0.0
+PORTREVISION= 9
+CATEGORIES= security gnome
+MASTER_SITES= http://members.chello.nl/~h.lai/libgnomesu/
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Library and frontend for running commands as root
+
+USE_AUTOTOOLS= libtool:22
+USE_GMAKE= yes
+USE_GNOME= gnomehack gnomeprefix libgnomeui
+CONFIGURE_ARGS+=--disable-install-pam
+CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib"
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|-DGTK_DISABLE_DEPRECATED||g' \
+ ${WRKSRC}/src/Makefile.in
+
+post-install:
+ ${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${FILESDIR}/gnomesu-pam.4.x.sample ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${FILESDIR}/gnomesu-pam.5.x.sample ${EXAMPLESDIR}
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/api.html ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/libgnomesu.css ${DOCSDIR}
+.endif
+ @${SED} -e "s|%%EXAMPLESDIR%%|${EXAMPLESDIR}|g" ${PKGMESSAGE}
+
+.include <bsd.port.mk>