1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

x11/lxmenu-data: minor fixes

- Add LICENSE (GPLv2) [1]
- Trim Makefile header [1]
- Install docs [1]
- Add DOCS to options
- Pass maintainership to submitter

PR:		ports/179706
Submitted by:	nemysis <nemysis@gmx.ch>
This commit is contained in:
William Grzybowski 2013-06-21 13:20:24 +00:00
parent 4b6f30c5cc
commit 1eca2345e9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=321470

View File

@ -1,24 +1,37 @@
# New ports collection makefile for: lxmenu-data
# Date created: Fri Sept 24 09:52:35 EST 2010
# Whom: Kris Moore <kmoore@freebsd.org>
#
# Created by: Kris Moore <kmoore@freebsd.org>
# $FreeBSD$
#
PORTNAME= lxmenu-data
PORTVERSION= 0.1.2
CATEGORIES= x11
MASTER_SITES= SF/lxde/lxmenu-data%20%28desktop%20menu%29/lxmenu-data%20${PORTVERSION}
MASTER_SITES= SF/lxde/lxmenu-data%20%28desktop%20menu%29/lxmenu-data%20${PORTVERSION}/
MAINTAINER= ports@FreeBSD.org
MAINTAINER= nemysis@gmx.ch
COMMENT= Menu data used by lxpanel
LICENSE= GPLv2
USES= gettext
USE_XORG= x11 xmu
USE_GNOME= intltool
USES= gettext
GNU_CONFIGURE= yes
USE_AUTOTOOLS= automake:env
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--prefix=${LOCALBASE} --sysconfdir=${LOCALBASE}/etc
USE_GMAKE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PORTDOCS= AUTHORS README TODO
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
.include <bsd.port.mk>