1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/security/libgnomesu/Makefile
Dmitry Marakasov 79bdb017d4 - Add LICENSE
- Switch to USES=localbase
- Switch to options helpers
2017-01-08 09:01:06 +00:00

43 lines
1.1 KiB
Makefile

# Created by: 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= 12
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
LICENSE= LGPL20+ PD
LICENSE_COMB= multi
LICENSE_FILE_LGPL20+ = ${WRKSRC}/COPYING
USES= gmake gettext-tools libtool localbase pathfix pkgconfig
GNU_CONFIGURE= yes
USE_GNOME= gnomeprefix libgnomeui
CONFIGURE_ARGS= --disable-install-pam \
--disable-setuid-error
INSTALL_TARGET= install-strip
SUB_FILES= pkg-message
OPTIONS_DEFINE= DOCS EXAMPLES
post-patch:
@${REINPLACE_CMD} -e 's|-DGTK_DISABLE_DEPRECATED||g' \
${WRKSRC}/src/Makefile.in
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${FILESDIR}/gnomesu-pam.sample ${STAGEDIR}${EXAMPLESDIR}
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/api.html ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/libgnomesu.css ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>